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.
With more data (testdata has 280 data point)
the X-axis has a lot of labels.
See attachment.
Over 280 labels and nothing can be read anymore from the labels.
Limiting the labels on the x-axis would be nice or an option like "show only every 5th label".
Comment | File | Size | Author |
---|---|---|---|
testdata_charts.png | 22.34 KB | bennos |
Comments
Comment #1
bennos CreditAttribution: bennos commentedsorry wrong component value.
Comment #2
quicksketchWhat sort of text is supposed to be shown on the X axis? It seems like it would be better if you didn't have manually-specified at all with that many values. The "No label" option when you configure your chart will switch the chart from using labels (a "discrete" axis) to using numbers (a "continuous" axis). It seems like that's the right solution here.
Comment #3
quicksketchWith a little help it looks like your charting data over a date range (by week). If that's the case, then this is a good candidate for a continuous axis. We don't yet support dates on a continuous axis, but I modified #1237096: Graph node input over time (support date formatting on a continuous axis) to suit that purpose. Let's consolidate with that issue.