Overlapping Bar and Line Series

3 posts, 1 answers
  1. Phil
    Phil avatar
    30 posts
    Member since:
    Mar 2015

    Posted 24 Sep 2015 Link to this post

    I am trying to create a graph that has a bar graph with a line graph overlapping.  I have seen the Telerik example and it explains a lot for me.  However, I am not getting the same result.  

    In the example, the values are the same except the bar is sum and the line series is avg.  In my example, the bar graph will measure the actual values while the line graph will measure target values.  The problem is that my graphs are not projected on top of one another, they are side by side.  

    I have checked and both are using the same coordinate system.  Everything seems correct except the alignment of the graphs.  

    I have attached a picture which easily demonstrates my problem.

    Thanks

          

  2. Nasko
    Admin
    Nasko avatar
    909 posts

    Posted 25 Sep 2015 Link to this post

    Hello Phil,

    To investigate the described behavior, we will need to review the Graph item settings and data. Please open a new support ticket where you can attach a sample report. After we review the report locally we will be able to advise further.

    Regards,
    Nasko
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
  4. Answer
    Thomas
    Thomas avatar
    1 posts
    Member since:
    Oct 2014

    Posted 19 Apr in reply to Phil Link to this post

    Should someone else come across this same post looking for the same solution? I wanted to document my fix to this same issue. 

    The Solution:

    I just solved this same problem. I followed the steps in http://docs.telerik.com/reporting/graphhowtocreategraphwithcolumnandlineseries on how to add a line series to my graph. But after adding it, it did not look like the one in the example. In fact, my graph looked like your graph, with the line graph to the right of the bar chart. The solution was to go into the graph properties > Series > GraphSeries Collection Editor. Next, select your newly added line series and go to "CategorGroup" and set it to match the same category group as your bar chart.  Problem solved.

Back to Top