FlexChart > Working with FlexChart > FlexChart Elements > Axes > Axes Styling |
FlexChart allows you to style the axes by using different properties mentioned below:
Property | Description |
---|---|
FillColor | Sets the fill color. |
Font | Sets the font of the element. |
StrokeColor | Sets the stroke color. |
StrokeWidth | Sets the stroke width. |
The sample code is given below:
' set the stroke color FlexChart1.AxisX.Style.StrokeColor = System.Drawing.Color.DarkGreen ' specify the stroke width FlexChart1.AxisX.Style.StrokeWidth = 2
// set the stroke color flexChart1.AxisX.Style.StrokeColor = System.Drawing.Color.DarkGreen; // specify the stroke width flexChart1.AxisX.Style.StrokeWidth = 2;