yes I can give them a value for the x.
I can also go back each time and find if there is a matching label to give the same x.
but I think that it’ll take some time cause I’ll need to pass trough each element of each data series to find the match, and if it doesn’t exist give it a new one.
is this what are you trying to explain to me ?
we are talking about a generic way, we don’t know the type of data that will be displayed, it’s not like I’m putting the data into the graph, but I’m getting it from a data base, so I don’t have a way to know witch one is 1 and witch one is 2.
I hop you understand the situation.
Thanks for your reply :)
unfortunately, this solution is working for number only.
I’ve updated my example to see a more generic of this problem.
Thanks for you support.
I’ve tried to reproduce it in the JSFIddle but it won’t,
you can see the update in the link you’ve given me.
I’ve made an update to an existing code here : resolved problem
I’ve a similar issue but I don’t know where to post it.
my graph shows correctly, but when I change the title and it becomes longer (2 lines) the graph get resized and then smaller, but when I changed my title back so it’ll fit in one line, the graph won’t to be bigger.
what’s the problem here ?
I don’t think this is a great way to resolve this problem.
it will be nice if we write ‘NO DATA’ or something else in the graph.