Chart issues

7 posts, 0 answers
  1. OMER
    OMER avatar
    32 posts
    Member since:
    Dec 2013

    Posted 11 Jun 2014 Link to this post

    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}
  2. OMER
    OMER avatar
    32 posts
    Member since:
    Dec 2013

    Posted 12 Jun 2014 in reply to OMER Link to this post

    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?
  3. Hristo Germanov
    Admin
    Hristo Germanov avatar
    703 posts

    Posted 13 Jun 2014 Link to this post

    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!
     
  4. OMER
    OMER avatar
    32 posts
    Member since:
    Dec 2013

    Posted 13 Jun 2014 in reply to Hristo Germanov Link to this post

    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 :)
  5. Hristo Germanov
    Admin
    Hristo Germanov avatar
    703 posts

    Posted 13 Jun 2014 Link to this post

    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!
     
  6. Josh
    Josh avatar
    1 posts
    Member since:
    Aug 2019

    Posted 05 Mar Link to this post

    Has selection for scatter charts been implemented yet?
  7. Viktor Tachev
    Admin
    Viktor Tachev avatar
    2423 posts

    Posted 09 Mar Link to this post

    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.
Back to Top