wcharczuk/go-chart

It's possible to reduce number of labels on X Axis?

zigazajc007 opened this issue · 3 comments

It's possible to show less values / labels on X Axis?
It would be great if it could only show minimum, maximum, the middle and maybe 1 or 2 between those.

stats

what i've done in this situation is you can rotate the labels on the x axis to make them more legible when they're that constrained, or you can drop the number of ticks you're generating to give them more space.

Thanks.

I can't see any example of text rotation for basic chart.

Found it:

			Style: chart.Style{
				TextRotationDegrees: 45,
			},