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

Chart Preview

3 Answers 96 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Korn1699
Top achievements
Rank 1
Korn1699 asked on 19 Dec 2012, 05:22 PM
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?

3 Answers, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 21 Dec 2012, 09:46 AM
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!
0
Korn1699
Top achievements
Rank 1
answered on 21 Dec 2012, 03:36 PM
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
0
Alex Gyoshev
Telerik team
answered on 25 Dec 2012, 03:00 PM
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!
Tags
Charts
Asked by
Korn1699
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Korn1699
Top achievements
Rank 1
Alex Gyoshev
Telerik team
Share this question
or