Page 1 of 1

Multi-line is alway disabled in Pie Chart

Posted: Fri Aug 11, 2006 12:47 pm
by 9640767
Hello All,

Multi-line is alway disabled in Pie Chart (teechart 2.0.2306.26232):

1) add chart to winform
2) create pie serier in tChart1
3) fill that serier with sample values
pie1.FillSampleValues();

4) raise teechart property
Steema.TeeChart.Editor editor = new Steema.TeeChart.Editor(tChart1);
editor.ShowModal();

5) go to Series->Marks
Multi-line is disabled :(.

I expected what this feature would wrap text in marks if for example I set
style = "Label and Value"

Any ideas how I can force it work?

Thanks.

Posted: Fri Aug 11, 2006 2:40 pm
by Chris
Hello,

Yes, you can set the property at runtime, e.g.

Code: Select all

    private void InitializeChart()
    {
      pie1.FillSampleValues();
      pie1.Marks.Style = MarksStyles.LabelValue;
      pie1.Marks.MultiLine = true;
    }

Posted: Sun Aug 27, 2006 2:47 pm
by 9640767
Thanks,

But is there any possibilities to do it by user? Because in some situation user wants multi-line options and in some does not.

Posted: Mon Aug 28, 2006 9:11 am
by narcis
Hi nikitenko,

You could add a checkbox to your form to control this property or the user could also set it using commander's chart editor.

Posted: Mon Aug 28, 2006 2:05 pm
by 9640767
Hello,

Does "commander's chart editor" mean Steema.TeeChart.Editor?
If it so, the "Multi-line" property is always disabled when I raise Editor

Steema.TeeChart.Editor editor = new Steema.TeeChart.Editor(tChart1);
editor.ShowModal();

Thanks.

Posted: Tue Aug 29, 2006 2:36 pm
by narcis
Hello,

Yes, this is a bug and we already fixed it for the next debug build and maintenance release.