This question is locked. New answers and comments are not allowed.
I had a requirement to place a value (Eg: 160 (100)) on CharSeriesItem label. I would like to have two different font sizes for the values. Please suggest.
C# Code:
ChartSeriesItem item = new ChartSeriesItem();
TextBlock txt1 = new TextBlock();
txt1.Text = "Test1"
txt1.Appearance.TextProperties.Font = new Font("Segoe UI", 9, System.Drawing.FontStyle.Bold);
item.Label.Add(txt1);
TextBlock txt2 = new TextBlock("txt2");
txt2.Text = "Test2";
txt2.Appearance.TextProperties.Font = new Font("Segoe UI", 7, System.Drawing.FontStyle.Bold);
item.Label.Add(txt2);
C# Code:
ChartSeriesItem item = new ChartSeriesItem();
TextBlock txt1 = new TextBlock();
txt1.Text = "Test1"
txt1.Appearance.TextProperties.Font = new Font("Segoe UI", 9, System.Drawing.FontStyle.Bold);
item.Label.Add(txt1);
TextBlock txt2 = new TextBlock("txt2");
txt2.Text = "Test2";
txt2.Appearance.TextProperties.Font = new Font("Segoe UI", 7, System.Drawing.FontStyle.Bold);
item.Label.Add(txt2);