Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The labels for a line graph aren't always useful, so I added support to use tokens as chart labels by passing the label through tokenize_value() at chart render.
With the patch applied, I added the field that had the correct corresponding labels to an existing chart field, and excluded it from display. Then, I used the token for the hidden field as the label for the chart field. I also sorted the view based on the hidden field's value.
Comment | File | Size | Author |
---|---|---|---|
#1 | chart_views-1431456.patch | 1.1 KB | paulgendek |
Comments
Comment #1
paulgendek CreditAttribution: paulgendek commentedComment #2
Pierre.Vriens CreditAttribution: Pierre.Vriens commented@paulgendek: sorry we're 2,5 years later, but still I want to give it a try to move forward with this issue. Any help you can provide to get its status updated to "tested by the community" would be appreciated. E.g. if you get back with something like "I'm using this already for quite some time in X production sites".
Anybody else against my proposal? If so what's the alternative to decide about the status of this issue?
To not forget about this issue, for now I'm adding the parent link ... which includes the details what such link means (at least to me, for now).
Comment #3
Pierre.Vriens CreditAttribution: Pierre.Vriens commentedUnless this issue becomes "tested by community" ASAP, it won't make it into the 7.x-1.2 Release (to not put that release at risk). If it still gets tested "on time", it should be included I think. But "on time" now means "in the coming hours/days" ...