Chart can i have 2 series different X-axis plotting points.

5 posts, 0 answers
  1. Jason
    Jason avatar
    3 posts
    Member since:
    Oct 2012

    Posted 16 Mar Link to this post

    Hi

    I have a rangedColumnSeries and an AreaSeries on the same plotarea and I am using databinding to generate the chart.

    I want to plot a rangedColumn series for 0,5,10,15 etc on the x-axis and use the AreaSeries to plot a line for y values at 0,1,2,3,4,5 etc so effectively giving a better resolution to the line graph compared to the bar chart while using the same data set. 

    I've added an image below of what it would look like.

    Is this currently possible?

     

     

  2. Jason
    Jason avatar
    3 posts
    Member since:
    Oct 2012

    Posted 17 Mar Link to this post

    I've attached images of 2 version I have, I effectively want the moreDataresolution.png for the area series and the lessDataResolution.png for the rangedColumnseries. 

    I tried setting the rangedcolumn data to 0 so that the intervals I don't want didn't appear but then I can't increase the width of the bars to make up for it.

    any one know a possible solution to this?

     

     

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Stamo Gochev
    Admin
    Stamo Gochev avatar
    157 posts

    Posted 21 Mar Link to this post

    Hi Jason,

    As far as I can understand from the provided information, you want to plot different series items of both RangeColumn and Area series in different categories on the x axis, is that correct?

    If so, then you can just "skip" a series item for a specific category by setting null for its value (but you cannot make the RangeColumn series item "wider" in order to occupy two or more categories - you will need to duplicate it).

    You should also know that the Area series has a MissingValues property that controls its appearance when an item is missing, so additional configuration might be required.

    Regards,
    Stamo Gochev
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  5. Jason
    Jason avatar
    3 posts
    Member since:
    Oct 2012

    Posted 21 Mar in reply to Stamo Gochev Link to this post

    If I did just repeat the information in the rangeColumn is there anyway to remove the border to make it look like a solid block? 
  6. Stamo Gochev
    Admin
    Stamo Gochev avatar
    157 posts

    Posted 24 Mar Link to this post

    Hi Jason,

    You can remove the border of series items by setting the series.border.width client-side property with the setOptions method.

    The following help article might be used as a reference as it gives helpful information about the client-side programming of RadHtmlChart:

    http://docs.telerik.com/devtools/aspnet-ajax/controls/htmlchart/client-side-programming/overview


    Regards,
    Stamo Gochev
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017