Page 1 of 1

Hide scroll bar on Legend

Posted: Tue Sep 27, 2011 2:03 am
by 15660116
How is the Legend scroll bar made invisible. I cannot find the property.

Re: Hide scroll bar on Legend

Posted: Tue Sep 27, 2011 11:05 am
by 10050769
Hello lilo,

I suggest use property Active to hide the scroll bar tool when you want, I think you can do something as next:

Code: Select all

        Steema.TeeChart.Styles.Points series1;
        Steema.TeeChart.Tools.LegendScrollBar LegendScrollBar;
        private void InitializeChart()
        {
                     LegendScrollBar = new Steema.TeeChart.Tools.LegendScrollBar(tChart1.Chart);
            series1 = new Points(tChart1.Chart);
            series1.FillSampleValues();
            checkBox1.Checked = true;
      }
  private void checkBox1_CheckedChanged(object sender, EventArgs e)
        {
            LegendScrollBar.Active = checkBox1.Checked;
        }
Can you please, tell us if previous code works as you expected?

I hope will helps.

Thanks,

Re: Hide scroll bar on Legend

Posted: Tue Sep 27, 2011 11:44 am
by 15660116
Yes, it works

Thanks,