This is a migrated thread and some comments may be shown as answers.

Chart issues

6 Answers 120 Views
Charts
This is a migrated thread and some comments may be shown as answers.
OMER
Top achievements
Rank 1
OMER asked on 11 Jun 2014, 05:32 PM
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: 

{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=#}
}
}
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.
{x: Xi, y: Yi, label: someLabel, group: groupName}
{x: Xi, y: Yi, label: someLabel, group: groupName}
{x: Xi, y: Yi, label: someLabel, group: groupName}

6 Answers, 1 is accepted

Sort by
0
OMER
Top achievements
Rank 1
answered on 12 Jun 2014, 06:19 AM
Regarding number 2: I've managed to make it work using the "refresh()" method.
http://trykendoui.telerik.com/OzEZ/2
Problem is, that with big data sets (and I have some data sets of over 10,000 points), there's a lag since the chart redraws itself.  Is there any way to do this without redrawing the chart?
0
Hristo Germanov
Telerik team
answered on 13 Jun 2014, 10:03 AM
Hello OMER,

1) The selection for a scatter type charts is not supported but we definitely consider to add support for our future releases.
2) Unfortunately you can't change the min and max of the axis without refreshing the chart.
3) I am not sure that I fully understand 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? 
The chart axis title doesn't support template and if you need template you need to create one and render it for a tittle's text. But I think that you can use "+" to concatenate the strings.

Regards,
Hristo Germanov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
OMER
Top achievements
Rank 1
answered on 13 Jun 2014, 10:40 AM
Hi,
The "no select" thing is a bit of a down. I hope it will be enabled fast.
Is there a way to use a chart the supports select, with the features of scatter in regards to data (e.g. give several [x.y] serieses divided by groups).
Regarding zooming - in order to cope with the data load, I use some data reduction algorithm to parse only relevant data for the shown range for parsing.
Thanks for the rest :)
0
Hristo Germanov
Telerik team
answered on 13 Jun 2014, 12:11 PM
Hi OMER,

I can't offer you a workaround because it is not possible with this version of the chart. Can you please submit your request in Kendo's UserVoice so other members of the community can evaluate, comment on and vote for it. This will help us to plan our features for our next release.

Regards,
Hristo Germanov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Josh
Top achievements
Rank 1
answered on 05 Mar 2020, 09:10 PM
Has selection for scatter charts been implemented yet?
0
Viktor Tachev
Telerik team
answered on 09 Mar 2020, 12:05 PM

Hi Josh,

 

I am afraid that currently there is no select feature in the scatter chart. If you would like to request such functionality to be available out of the box I suggest submitting a feature request in our feedback portal. We monitor the requests there and prioritize them based on customer demand and impact a feature would have on a component.

Regards,
Viktor Tachev
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Charts
Asked by
OMER
Top achievements
Rank 1
Answers by
OMER
Top achievements
Rank 1
Hristo Germanov
Telerik team
Josh
Top achievements
Rank 1
Viktor Tachev
Telerik team
Share this question
or