jQWidgets Forums
Forum Replies Created
-
Author
-
June 2, 2016 at 2:37 am in reply to: JqxChart FormatFunction unexpected behavior JqxChart FormatFunction unexpected behavior #84821
Hi,
We have generated a sample demo.
One thing you have to modify is the size of data set.
As you will see, we are generating data set with size 10, but please try it with 4000 data.
When you modify the data size value, please change the generate function as well.
Since we are labeling every 5 data, your browser could freeze, so try changing that value from ‘i%5’ to ‘i%100’.
When you try with 4000 data size and ‘i%100’,
horizontal graph on the top will show only few ‘A’ labels while graph on the bottom will clearly show more than that.
We are expecting both graphs to show same amount of ‘A’ labels.
jseditorThank you again.
Hello,
i’m sorry with incorrect question.
i want to label like this demo.(http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxchart/index.htm#demos/jqxchart/javascript_line_series_symbol_type.htm)
in this demo, label is value at each point.
but, i want to label other value in same dataset.
like previus reply,
if i had a dataset like {x: 1, y: 10, value: ‘A’},
in x-axis label is 1, y-axis label is 10, and point label have to ‘A’.
How can i display ‘A’ on each chart point?
Thank you.Let’s say there’s a graph with x and y axis.
And a point {x: 1, y: 10, value: ‘A’}
I want to label this point by value attribute not x/y axis value.
I have checked that i need to set the attribute for ‘label’ as ‘custom’
and defined the custom value as an array. However, it doesn’t seem working.
http://jsfiddle.net/jqwidgets/7RDBc/
here’s the example that i was working on.
Could anyone explain me how to show label for specific bars(not all) that i have indicated in the custom array.
Thank you. -
AuthorPosts