문제

I am trying to make a bar chart using Telerik RadChart. I have an issue where the labels are not aligning correctly with the bar charts. Here is a picture to show what I mean.

enter image description here

As you can see the labels start before the bar chart. Here is the code that I think is not working correctly.

QueryReportBarChartHTML.PlotArea.XAxis.Items.Add(queryReportData.ElementAt(i).Key.ToString() + "<br/> <p style=\"VISIBILITY: hidden\"><claims>" + queryReporData.ElementAt(i).Value + "</claims></p>");

Appreciate any help with this thanks!

도움이 되었습니까?

해결책

Fixed by adding a tag over the label. Weird that it worked as another table created nearly the exact same didn't have the center tag and worked fine.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top