I need to set a static width of a bar chart series using dotNetCharting. My Graph has three series collections of line, spline, and column type. I would just like to set a static width for all series of column type.
I've tried using:
myChart.DefaultAxis.StaticColumnWidth = 10;
But the .DefaultAxis property isn't valid in intellisense for the whole chart nor the Column series collection. Do the series have to be added with data first before setting this?
Also, I've tried adding properties in the series object, no luck.
Any ideas?
series["PixelPointWidth"] = "your value for width";
chart1.Series["Series1"]["PixelPointWidth"] = "1";
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With