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

Kendo UI stock chart doesn't display full one year data in zoomout

3 Answers 27 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Srikar
Top achievements
Rank 1
Srikar asked on 21 Jan 2020, 09:26 PM

Hi,

We are using Kendo stock chart to display  365 days of data, but I can see that the full one year(365 days) data is not being displayed on the category axis in the default/ zoomout mode. But when i zoom in I can see the bars for each day. How can i fix this ? Is this something related to sample rate ? I need to show full data on the category axis.  Attaching images, first img is kendostock chart which won't display all data, second img is KendoChart which displays full set of data. But I need this work with KenoStock chart. Appreciate any help. 

 

 

 

 

 

 

 

 

 

3 Answers, 1 is accepted

Sort by
0
Patrick
Telerik team
answered on 23 Jan 2020, 06:20 PM

Hi Srikar,

There are a few ways in which this issue can be resolved to help visualize the full data of the year:

  1. Set the baseUnit of the CategoryAxis.  This can help format what is being shown based on days, weeks, months, and even years if necessary.
                categoryAxis: {
                  baseUnit: "days",
                  //...
                },
  2. Modify the CategoryAxis.labels to your preference.  We have a great Kendo UI Knowledge base article which will give you some configuration options to prevent label clustering.

Please take a look at the following Progress Kendo UI Dojo which shows one way you can modify the labels in the column chart's categoryAxis.  This can be adjusted based on your configurations.

Please let me know if you have any questions regarding setting the label position in a Kendo UI Chart.

Regards,


Patrick
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.
0
Srikar
Top achievements
Rank 1
answered on 26 Jan 2020, 12:35 AM
Thanks, it worked
0
Wasquez
Top achievements
Rank 1
answered on 17 Feb 2021, 04:28 PM
It worked for me also, thanks
Tags
Charts
Asked by
Srikar
Top achievements
Rank 1
Answers by
Patrick
Telerik team
Srikar
Top achievements
Rank 1
Wasquez
Top achievements
Rank 1
Share this question
or