Is it possible to set in the MarkTips tool, with the "x and y" style, multiline?
Thanks
"MarkTips" tool x and y multiline?
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: "MarkTips" tool x and y multiline?
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;
}
Best Regards,
Christopher Ireland / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: "MarkTips" tool x and y multiline?
It says series is null... Although in chart editor I see "all series"
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: "MarkTips" tool x and y multiline?
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;
}
Best Regards,
Christopher Ireland / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |