Question

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!

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top