I want to show timespan values in chart and datatable with format like hh:mm:ss. How can I do this?
3 Answers, 1 is accepted
0
Ves
Telerik team
answered on 11 Nov 2008, 05:06 PM
Hello adi,
Unfortunately, RadChart does not provide means to format the appearance of the data table content. As for the TimeSpan values -- you will need to manually update the ChartSeriesItem labels and use timespan's ToString() method to set the text of the item labels. You can find an example how to update these labels manually here.
Sincerely yours,
Ves
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
thank you for this blog entry. It's very interesting. I've tried it but the ItemDataBound event is not fired. I create the chart programmatically. I register the handler like this:
But my handler will not handle anything. The RadChart documentation is not so understandable like the other controls.
Adi
0
Ves
Telerik team
answered on 12 Nov 2008, 12:18 PM
Hello adi,
The event fires correctly for me. Please, make sure it is wired on every postback and before DataBind method is called. If the issue remains, please, post your code. Thanks.
Sincerely,
Ves
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.