Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Problem: if there are a lot of data points the X-axis lables get unreadabled, and they get shortened.
Example:
Proposed solution: add a configuration option to specify the maxium allowed X-axis labels and use $chart_options['hAxis']['showTextEvery'] to leave out labels in between. Result:
Comment | File | Size | Author |
---|---|---|---|
#1 | visualization-labels-1971692-1.patch | 1.6 KB | klausi |
limited_labels.png | 9.79 KB | klausi | |
label_overflow.png | 7.56 KB | klausi |
Comments
Comment #1
klausiAnd here comes that patch that adds that option.