Hi,
I'm having troubles replicating your examples.
I have scatter charts and I need to do the following:
1) setup a "selection" area so the user would be able to select some area on the graph. It seems that "categoryAxis" is not valid for scatterline, but there's no mention for this in the docs. In addition, why would "scatter/scatterline" should be missing the "select" feature? It makes no sense, since it's a great UI tool for any Cartesiangraph at least.
2) zoom in and out. I've tried replicating the demo (http://demos.telerik.com/kendo-ui/scatter-charts/pan-and-zoom) but it seems not to work for me (http://plnkr.co/edit/rbpfQOEub6FgiAYmz4F4?p=preview). Each time I do "setOptions" it deletes all the data from the chart.
3) Using the data in the options: I would like to use the data inside the options - for instance, my data points look like this:
so I'd like to add the label to the tooltip when hovering over points in the graph. How can this be achieved using the tooltip template?
Another thing is to set certain values according to the data. Again, my data is made of an array of objects. How can I set some conditions according to the data min/max for instance? How can I access the data while setting up the options. i.e.:
Such that the title would show the min and max values of the axis, and the axis will be set according to the min and the max of the data (that's just an example of course... there can be many uses for this).
Thanks in advance.
I'm having troubles replicating your examples.
I have scatter charts and I need to do the following:
1) setup a "selection" area so the user would be able to select some area on the graph. It seems that "categoryAxis" is not valid for scatterline, but there's no mention for this in the docs. In addition, why would "scatter/scatterline" should be missing the "select" feature? It makes no sense, since it's a great UI tool for any Cartesiangraph at least.
2) zoom in and out. I've tried replicating the demo (http://demos.telerik.com/kendo-ui/scatter-charts/pan-and-zoom) but it seems not to work for me (http://plnkr.co/edit/rbpfQOEub6FgiAYmz4F4?p=preview). Each time I do "setOptions" it deletes all the data from the chart.
3) Using the data in the options: I would like to use the data inside the options - for instance, my data points look like this:
{x: Xi, y: Yi, label: someLabel, group: groupName}
so I'd like to add the label to the tooltip when hovering over points in the graph. How can this be achieved using the tooltip template?
Another thing is to set certain values according to the data. Again, my data is made of an array of objects. How can I set some conditions according to the data min/max for instance? How can I access the data while setting up the options. i.e.:
graphOpts = {
dataSource: dataSource,
xAxis: {
min: data.min,
max: data.max,
title: {text: "Values
#=data.view().min=# to #=data.view().max=#}
}
}
Thanks in advance.