Stack Bar with Multiple 'Y' axes suing Chart View

4 posts, 0 answers
  1. Sreeram
    Sreeram avatar
    10 posts
    Member since:
    Feb 2012

    Posted 03 Apr 2012 Link to this post

    Hi Team,

    I'm using Chart View with 5 Series (2 Bar Series and 3 Line Series) with Two "Y" axis. Bar series will use the "Y" axis at Right Side which is of Data Type "Double". while Line series will use the Left Side "Y" axis which is of Data type Percentage. So when i use combineMode = "Stack" for the both of the Bar series, Bars are not stacked instead it shows in "Cluster" Way.
    So i need Stack Bar for "Y" onRight Side. Am i missing any thing here.

  2. Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 06 Apr 2012 Link to this post

    Hello Sreeram,

    Have you set both of the bar series to use the same vertical axis?

    In our tests it all seems to be fine. I have created and attached a simple app to demonstrate how the scenario that you described can be achieved. When I run this app I can see that the bars are stacked correctly and plotted against the axis on the right.   

    Regards,
    Petar Marchev
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft banner
  4. Sreeram
    Sreeram avatar
    10 posts
    Member since:
    Feb 2012

    Posted 06 Apr 2012 Link to this post

    Hi Peter,

    i have reproduced the issue in the solution that you have attached and created the support ticket with ID 531326 and attached the files with that ticket . Can you please help me to resolve this issue.

    Regards,
    Sreeram
  5. Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 10 Apr 2012 Link to this post

    Hi Sreeram,

    I have already answered to your question in the thread in mind. The reason that the bars were not stacked is because you have not specified for both of the bar series to use the same Y axis. You can examine again the previously attached project and the proposed approach to use the same Y axis for the two bar series.

    All the best,
    Petar Marchev
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top