Search found 5 matches

by Igor
Thu May 29, 2014 12:57 pm
Forum: Javascript / HTML5
Topic: onGetLabel with fractions
Replies: 4
Views: 2083

Re: onGetLabel with fractions

I still don't get it. If I add point 1.7 to the line, it doesn't work for it. Setting Chart1.axes.bottom.increment to 0.1 doesn't help. Could you explain how onGetLabel works?
by Igor
Tue May 27, 2014 2:19 pm
Forum: Javascript / HTML5
Topic: onGetLabel with fractions
Replies: 4
Views: 2083

Re: onGetLabel with fractions

The magic line was:

Code: Select all

Chart1.axes.bottom.increment=0.5;
Now it works! Thank you for help!
by Igor
Mon May 26, 2014 2:39 pm
Forum: Javascript / HTML5
Topic: onGetLabel with fractions
Replies: 4
Views: 2083

onGetLabel with fractions

Hi,
I add 3 points to simple line serie with X coordinates: 1, 1.5 and 2. Then I try to use onGetLabel to edit labels, but it seems that it doesn't fire for 1.5. Is it normal? If it is, how can I add custom label for point 1.5?
by Igor
Mon Mar 31, 2014 12:17 pm
Forum: Javascript / HTML5
Topic: Problem with labels rotation
Replies: 2
Views: 1170

Re: Problem with labels rotation

OK, thanks
by Igor
Mon Mar 31, 2014 10:19 am
Forum: Javascript / HTML5
Topic: Problem with labels rotation
Replies: 2
Views: 1170

Problem with labels rotation

Hi, I've got a problem when rotating bottom axis labels. If Chart1.axes.bottom.labels.rotation = 0, everything is fine, but when I set it to 90, labels seem to move out to the left. So the first label in this case is not under the first point (axis tick), but have an offset from it to the left. The ...