Chart Preview

4 posts, 0 answers
  1. Korn1699
    Korn1699 avatar
    34 posts
    Member since:
    Apr 2007

    Posted 19 Dec 2012 Link to this post

    Is there any way to get a preview of a chart control?  I mean a smaller version that would kind of be like a thumbnail version with no labels and smaller.  I am trying to have a setup with smaller Kendo Charts that you can click to expand to a larger size, but having the smaller size still have an accurate looking representation of the graph.  Is there a way to do this with the controls now?  If not, will that be added in the future?
  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2622 posts

    Posted 21 Dec 2012 Link to this post

    Hi Mike,

    If I understand correctly you would like to display a sparkline? If this is the case I am glad to inform you that the implementation of this feature is planned for Kendo UI Q1 2013 official release (check the official Roadmap). Meanwhile you could try a custom implementation - create a chart with hidden axes, legend etc. For example:
    $("#chartSparkline").kendoChart({
       chartArea: {
          background: ""
       },
       seriesDefaults: {
        //....
       },
       series: [{
        //....
       }],
       axisDefaults: {
          visible: false,
          majorGridLines: {
             visible: false
          }
       },
       legend: {
          visible: false
       }
    });

    I hope the suggested approach will fit your requirements. 

    Regards,
    Iliana Nikolova
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Korn1699
    Korn1699 avatar
    34 posts
    Member since:
    Apr 2007

    Posted 21 Dec 2012 Link to this post

    Iliana,

    Ok, I'm not sure if a sparkline is exactly what I am looking for.  This graph just happened to be a line.  It would be nice to have something like that for other types of charts too.  I also don't really need it to be a line of text tall.  I am mostly wanting a mode that would be about 25% in size, larger title so that it is still readable, and maybe just the major axis so that it isn't just the title and the line.

    I think our plan is to have rotating or just side by side smaller size charts that can be clicked to a larger view, but we would probably need it to work with each kind of chart.  We are just starting to use the chart control, so this may be something we do down the road.  We are just moving toward having more dashboard style information, and we would want a lot of different information to be available on a page with the option for more detail when the user wants it.  Hopefully something like that gets added to a future release.

    Mike Dennis
  4. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2527 posts

    Posted 25 Dec 2012 Link to this post

    Hello Mike,

    We do not have immediate plans for providing such functionality. You should be able to achieve the desired effect with proper configuration options (e.g. one set of options for a "preview" chart and one for the actual chart) -- they will heavily depend on the specific type of preview that you want to show. If you find that there is no configuration option that can be used to achieve a desired look, let us know.

    Kind regards,
    Alex Gyoshev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top