4 Answers, 1 is accepted
0
Hi Craig,
This can be achieved with a custom format string set for the GraphAxis.LabelFormat property. For example, you can use "{0:h tt}" format string.
More detailed information about custom Date and Time Format Strings can be found in this article.
Hope this will help.
Regards,
Katia
Progress Telerik
This can be achieved with a custom format string set for the GraphAxis.LabelFormat property. For example, you can use "{0:h tt}" format string.
More detailed information about custom Date and Time Format Strings can be found in this article.
Hope this will help.
Regards,
Katia
Progress Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items
0
Craig
Top achievements
Rank 1
answered on 24 Jul 2017, 10:42 PM
Thanks. this doesn't work. The axis is not a date column, they are just numbers 1-24. When I add this format string in it seems to have no effect.
0
Craig
Top achievements
Rank 1
answered on 25 Jul 2017, 07:39 AM
Ignore that, I converted the column to be a date/time type and it is now ok. One thing I would like to know is how to ensure it always shows all bars even if the value is zero.
0
Hello Craig,
If the value fo the series is zero, the bar will not be displayed. You can still display the DataPointLabel for this bar by setting Series.DataPointLabelStyle.Visible property to true.
Regards,
Katia
Progress Telerik
If the value fo the series is zero, the bar will not be displayed. You can still display the DataPointLabel for this bar by setting Series.DataPointLabelStyle.Visible property to true.
Regards,
Katia
Progress Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items