Question

Hi i want to add ticks that are not in a fixed range. i.e my ticks will be 1,2,3,3,3,3,4,5 how would i tell a data set for the graph type to plot points based on the tick number, instead of a fixed range.

Was it helpful?

Solution

I figured it out, what i did was in my ticks I set an array with an incrementing range from 0,1,n(+1) and set its label to whatever I want @0 = '27', @1 = '56', @2 = '67' ...etc and for my data sets on the x-axis point I filled it out based on my incrementing range.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top