Draw Line chart on top of Bar chart in SSRS?

你离开我真会死。 提交于 2019-12-11 04:01:18

问题


I am using SSRS (SQL 2008).

I am having 2 Axis.

One chart is line and the other is Bar chart.

But when I preview it , the line chart gets hidden behind bar chart as shown in the pic.

How do I bring Line chart on top of bar chart?


回答1:


I was able to replicate something similar - it seems like this is determined by the order of the Chart Series in the chart designer.

I have a simple chart showing the same issue as yours:

Here, the first Chart Series is the line element and the second is the bar element; SSRS renders the second series, i.e. the bar element, on top.

If I simply drag the second line Series position to be first in the designer, this makes the line element second and hence renders the line over the bars:

So maybe if you change the Chart Series order in the designer it will solve your issue.




回答2:


If you use a lighter color for the bar chart, then you can see the grid lines. I was facing the same issue and I used semi transparent in the color palette in chart properties for the bar graph n boom the strip lines were visible above the bar graph.



来源:https://stackoverflow.com/questions/18043229/draw-line-chart-on-top-of-bar-chart-in-ssrs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!