Category / Section
How to change the label border color and label font of OLAP Chart?
1 min read
You can change the label border color and label font of OLAP Chart using the following code example.
C#
this.OlapChart1.LabelsBorderColor = Color.Red; this.OlapChart1.LabelFont = new Font("Arial", 10f, FontStyle.Strikeout); this.OlapChart1.PrimaryYAxis.Font = new Font("Arial", 8F, FontStyle.Underline);
VB
Me.OlapChart1.LabelsBorderColor = Color.Red Me.OlapChart1.LabelFont = New Font("Arial", 10f, FontStyle.Strikeout) Me.OlapChart1.PrimaryYAxis.Font = New Font("Arial", 8F, FontStyle.Underline)