Jump to content
Software FX Community

Problem with AutoScale


User (Legacy)

Recommended Posts

Posted

Hi,

I written a realtime chart but i have a problem with the

chart1.AxisY.AutoScale

I set it to true but it doesn't seem to work. When i add a vlaue that is

beyond the axisY max value the yaxis is not automatically scale.

Here is my code:

chart1.AxisY.AutoScale=true;

chart1.RealTime.BeginAddData(1, RealTimeAction.Append);

chart1.Data[0, 0] = i;

chart1.RealTime.EndAddData(true, true);

Thanks,

Kfir, Finjan.com LTD

Posted

I´m sorry my mistake. It works fine.

Kfir

"Kfir Harel" <kharel@finjan.com> wrote in message

news:jrSWsr6CGHA.452@webserver3.softwarefx.com...

> Hi,

>

> I written a realtime chart but i have a problem with the

> chart1.AxisY.AutoScale

>

> I set it to true but it doesn´t seem to work. When i add a vlaue that is

> beyond the axisY max value the yaxis is not automatically scale.

>

> Here is my code:

>

> chart1.AxisY.AutoScale=true;

>

> chart1.RealTime.BeginAddData(1, RealTimeAction.Append);

>

> chart1.Data[0, 0] = i;

>

> chart1.RealTime.EndAddData(true, true);

>

>

>

> Thanks,

>

> Kfir, Finjan.com LTD

>

>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...