I have an issue with assigning labels on the X axis

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Manikanta Obbilisetti on 11th December 2017

In below example x-axis is divided into two teams(Team A and Team B), each team having 5 records each, how can i can assign first two records belongs to Team A and remaining records are assign to Team B(it varies depends on requirement)

Posted by Richard on 11th December 2017
Hi there,

Well doing it with just one drawing API X axis wouldn't be easy - so I would recommend either using two drawing API X axis objects like this:


I've made it so that you can just update the index variable and the labels and colors will update accordingly.

Or even easier you could just use the colors of the bars and provide a key in the gutter like is there.


Add a reply

« Back to message list