Setting the width in a series of columns: using dotNetCharting

I need to set the static width of a series of histograms using dotNetCharting. My graph has three series of collections of lines, splines, and column types. I would just like to set a static width for all column types.

I tried using:

myChart.DefaultAxis.StaticColumnWidth = 10;

But the .DefaultAxis property is not valid in intellisense for the entire chart and column series collection. Do you need to add data with data before installing this series?

Also, I tried adding properties to the series object, no luck.

Any ideas?

+3
source share
2 answers
series["PixelPointWidth"] = "your value for width";
  • :
+6

chart1.Series [ "Series1" ] [ "PixelPointWidth" ] = "1";

+1

Source: https://habr.com/ru/post/1584548/


All Articles