Series Marks are shown partially if they contain two lines
Posted: Tue Jun 04, 2013 10:36 am
Dear,
I have an issue when I add more than one line of text to the series marks.
As you can see in the screenshot, part of the series mark is cut off.
The code I wrote to get this chart is the following:
I have an issue when I add more than one line of text to the series marks.
As you can see in the screenshot, part of the series mark is cut off.
The code I wrote to get this chart is the following:
Code: Select all
void barSeries1_GetSeriesMark(Steema.TeeChart.Styles.Series series, Steema.TeeChart.Styles.GetSeriesMarkEventArgs e)
{
e.MarkText = "SERIES MARK";
e.MarkText = "SERIES MARK\n Second line: " + e.ValueIndex;
}
public Form1()
{
InitializeComponent();
tChart1.Axes.Left.Automatic = true;
tChart1.Aspect.View3D = false;
tChart1.Legend.Visible = false;
Steema.TeeChart.Styles.Line line = new Steema.TeeChart.Styles.Line(tChart1.Chart);
line.FillSampleValues(10);
line.GetSeriesMark += new Steema.TeeChart.Styles.Series.GetSeriesMarkEventHandler(barSeries1_GetSeriesMark);
line.Marks.Visible = true;
}