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

Timespan axis and ChartView extensibility

4 Answers 74 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Bernhard
Top achievements
Rank 1
Bernhard asked on 29 Nov 2012, 03:45 PM
Our charts require TimeSpans to be displayed similar to the mechanisms used in a DateTimeContinuousAxis. Are there any plans to include such a functionality?

I wouldn't mind creating one by myself, but the ChartView classes are quite locked down in terms of extensibility with lots of methods being internal. Hence the second question: are there plans to open up the API to make subclassing feasible?

Regards,

Bernhard

4 Answers, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 04 Dec 2012, 03:28 PM
Hi Bernhard,

RadChartView for Silverlight already supports DateTimeContinuousAxis. You can read about Date Time Axes in our online documentation.

Regarding your second question - in case you are a licensed user, you can download the source code of our controls and make the changes you wish. Please note, however, that we do not support customizations of the source code.

Regards,
Tsvetie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Bernhard
Top achievements
Rank 1
answered on 04 Dec 2012, 03:50 PM
Dear Tsvetie,

Thank you for your answer. Maybe I was not clear enough: I know there is the DateTimeContinousAxis, however, instead of DateTimes we'd like to display TimeSpans there. I guess I could hack something together with converting our data from TimeSpans to DateTimes and convert it back with a ValueConverter for the display; however, this is certainly not ideal.

As for the subclassing: Yes, we are a licensed customer :) However, making changes in the source code gets quite tedious when one needs to upgrade the controls (which you luckily do quite often). Setting the classes internal is a good thing if you expect the API to change and you don't want people to utilize an API which may soon be legacy, but from what I saw the ChartView code is already quite matured.

Regards,

Bernhard
0
Accepted
Tsvetie
Telerik team
answered on 10 Dec 2012, 10:01 AM
Hello Bernhard,

I understand your point. Indeed, currently, we do not support the feature you need and we have no plans for opening up the API. I logged your request in our database and updated your Telerik points for the suggestion. Currently, the only thing that I can suggest is to use InternalsVisibleTo, if this is applicable.

Kind regards,
Tsvetie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Bernhard
Top achievements
Rank 1
answered on 10 Dec 2012, 10:06 AM
Dear Tsvetie,

Ok, thanks for considering the request and the tip with InternalsVisibleTo. I guess I will give that a try.

Regards,

Bernhard
Tags
ChartView
Asked by
Bernhard
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Bernhard
Top achievements
Rank 1
Share this question
or