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

Data is too long in bar chart and pie chart.

1 Answer 158 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Asad
Top achievements
Rank 1
Veteran
Asad asked on 20 May 2020, 07:52 AM

Hello Support,

I have facing some issue in bar chart. Actually data is too long in chart so i have assign category axis maximum showing 10 records but each record exits on many data so my graph is not open in zoom mode.

Can you please suggest how i can solved this problem? we are using asp.net core not jquery.I have attached some screenshots

Another requirement, how to add feature zoom in zoom out on button click not mouse scrolling of google chrome zoom in zoom out using.

Please respond ASAP.

 

1 Answer, 1 is accepted

Sort by
0
Silviya Stoyanova
Telerik team
answered on 22 May 2020, 04:01 PM

Hello Asad,

Thank you for the provided images!

Regarding your first question, to get better visualization I would suggest using the date axis with automatic baseUnit as it is presented in the Demo example:

Regarding your second question, you could check the below example of an implementation of a custom pan and zoom functionality:

On a side note, I have noticed from the provided screens that you are adding hover events with HtmlAttributes - I would suggest checking the built-in ones SeriesOver and SeriesHover event handler.

 

I hope that would help.

Kind Regards,
Silviya Stoyanova
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Chart
Asked by
Asad
Top achievements
Rank 1
Veteran
Answers by
Silviya Stoyanova
Telerik team
Share this question
or