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

Overlapping Bar and Line Series

2 Answers 226 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Phil
Top achievements
Rank 1
Phil asked on 24 Sep 2015, 10:18 PM

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 Answers, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 25 Sep 2015, 09:09 AM
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
0
Accepted
Thomas
Top achievements
Rank 1
answered on 19 Apr 2016, 05:25 PM

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.

Tags
General Discussions
Asked by
Phil
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Thomas
Top achievements
Rank 1
Share this question
or