Hi James,
If you look at the Xceed Chart Explorer for .Net, you will see that if you need to change the labels on the Axes, you can access the Labels collection from the Axis of the ChartControl instance. For example:
// add axis labels
m_Chart.Axis(StandardAxis.Depth).DimensionScale.AutoLabels = false;
m_Chart.Axis(StandardAxis.Depth).Labels.Add(“Miami”);
m_Chart.Axis(StandardAxis.Depth).Labels.Add(“Chicago”);
m_Chart.Axis(StandardAxis.Depth).Labels.Add(“Los Angeles”);
m_Chart.Axis(StandardAxis.Depth).Labels.Add(“New York”);
If you need to know the labels of the axes, this page from Xceed’s online documentation should help clarify it for you:
http://doc.xceedsoft.com/products/XceedChart/Axis_Overview.html
You would need to set the AutoLabels to false in order to make this work though.
Also, there is no quick way to set a default color for a Bar when they are being added. What you can do is write your own BarSeries class and add a DefaultFIllColor property which would automatically set the fill color of the bar. This is the only possible way that I can think of.
Imported from legacy forums. Posted by Marc [Xceed] (had 1060 views)