This is a migrated thread and some comments may be shown as answers.
Tooltip
2 Answers 16 Views
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 14 Sep 2013, 01:44 PM
Hi telerik-Support

I add all series manually via code-behind. The values for x-axis are dates and for y-axis are ints.
After render to the client the tool-tip shows the milliseconds of the date. You can see it on the attached file.

On code-behind I configure the series item like this:

...
lineSeries.LabelsAppearance.DataFormatString = "{1}";
lineSeries.TooltipsAppearance.DataFormatString = "{1}<br/>{0:d}";
...

How can I archive that on client side the date would be shown and not the milliseconds.

Thanks,
Christian

 

2 Answers, 1 is accepted

Sort by
0
Christian
Top achievements
Rank 1
answered on 16 Sep 2013, 09:37 AM
Any idea?
0
Danail Vasilev
Telerik team
answered on 18 Sep 2013, 05:30 PM
Hello Christian,

Please find my answer to your question in the second part of my replay in this forum thread.

Regards,
Danail Vasilev
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Asked by
Christian
Top achievements
Rank 1
Answers by
Christian
Top achievements
Rank 1
Danail Vasilev
Telerik team
Share this question
or