Timespan axis and ChartView extensibility

5 posts, 1 answers
  1. Bernhard
    Bernhard avatar
    3 posts
    Member since:
    Oct 2011

    Posted 29 Nov 2012 Link to this post

    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
  2. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 04 Dec 2012 Link to this post

    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.

  3. DevCraft banner
  4. Bernhard
    Bernhard avatar
    3 posts
    Member since:
    Oct 2011

    Posted 04 Dec 2012 Link to this post

    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
  5. Answer
    Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 10 Dec 2012 Link to this post

    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.

  6. Bernhard
    Bernhard avatar
    3 posts
    Member since:
    Oct 2011

    Posted 10 Dec 2012 Link to this post

    Dear Tsvetie,

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

    Regards,

    Bernhard
Back to Top
DevCraft banner