"MarkTips" tool x and y multiline?
Posted: Tue Apr 15, 2014 6:45 am
Is it possible to set in the MarkTips tool, with the "x and y" style, multiline?
Thanks
Thanks
Steema Software - Customer Support Forums
http://teechart.com/support/
Yes, you can use:wakeup wrote:Is it possible to set in the MarkTips tool, with the "x and y" style, multiline?
Code: Select all
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
tChart1.Series.Add(typeof(Bar)).FillSampleValues();
tChart1[0].ColorEach = true;
MarksTip tool = new MarksTip(tChart1.Chart);
tool.Series = tChart1[0];
tool.Style = MarksStyles.XY;
tool.Series.Marks.MultiLine = true;
}
In which case, try this:wakeup wrote:It says series is null... Although in chart editor I see "all series"
Code: Select all
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
tChart1.Series.Add(typeof(Bar)).FillSampleValues();
tChart1[0].ColorEach = true;
tChart1[0].Marks.MultiLine = true;
tChart1.Series.Add(typeof(Bar)).FillSampleValues();
tChart1[1].ColorEach = true;
tChart1[1].Marks.MultiLine = true;
MarksTip tool = new MarksTip(tChart1.Chart);
tool.Style = MarksStyles.XY;
}