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

Telerik RadHtmlChart fixed values on x-axis

1 Answer 123 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mariano
Top achievements
Rank 1
Mariano asked on 20 Sep 2016, 01:42 AM

Hello I hope you can help me.

I want to show fixed hours in xaxis, but graphic all values in datasource

In this example, I want to have in xaxis 10:00, 11:00, 12:00, 13:00, 14:00, but maybe in my datasource i'll have values: 10:02, 10:10, 11:15 .

 

 

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 22 Sep 2016, 02:08 PM

Hi Mariano,

I advise you start form this article: http://docs.telerik.com/devtools/aspnet-ajax/controls/htmlchart/functionality/axes/date-axis and continue into using the DataFormatString (http://docs.telerik.com/devtools/aspnet-ajax/controls/htmlchart/appearance-and-styling/format-dates) or ClientTemplate (http://docs.telerik.com/devtools/aspnet-ajax/controls/htmlchart/functionality/clienttemplate/using-client-templates-legend-axes#client-templates-for-axes-labels).

Regards,

Marin Bratanov
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
General Discussions
Asked by
Mariano
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or