cancel
Showing results for 
Search instead for 
Did you mean: 

Dates on x-axis

Former Member
0 Kudos

Hi,

May I know how to set ticks per label automatically in display template base on number of ata nodes on the graph.

Thanks,

Srinivas.

Accepted Solutions (1)

Accepted Solutions (1)

jcgood25
Active Contributor
0 Kudos

Srinivas,

Since the iChart doesn't know how many values are being returned by the query template underneath it cannot automatically set the ticks per label. Using the iChart's UpdateEvent to fire a JavaScript function that gets the number of data points and determines the appropriate number of ticks to display would be the recommended approach. Consult the help docs and the methods in the Script Assistant for guidance.

Best Regards,

Jeremy Good

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks Jeremy, I think I can handle that part.