Profile Picture

How to use scrollbar Endvalue property?

Posted By Guru Sivasubramanian 13 Years Ago
Author
Message
Guru Sivasubramanian
Posted 13 Years Ago
View Quick Profile
Junior Member

Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)

Group: Forum Members
Last Active: 13 Years Ago
Posts: 14, Visits: 1
Thank you for your reply....

My requirement:
After plotting chart,my scroll bar always at the starting position of x axis only,but i want the scroll bar position should be at the end of the x axis.Is it possible?

Nevron Support
Posted 13 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

Hi Guru,

That depends on what you want to achieve. One way to use it is by suscribing to the begin/end value changed events:

chart.Axis(StandardAxis.PrimaryX).ScrollBar.BeginValueChanged += new EventHandler(ScrollBar_BeginValueChanged);
chart.Axis(
StandardAxis.PrimaryX).ScrollBar.EndValueChanged += new EventHandler(ScrollBar_EndValueChanged);

void ScrollBar_EndValueChanged(object sender, EventArgs e)
{
// do something on end value change
}

void ScrollBar_BeginValueChanged(object sender, EventArgs e)
{
// do something on begin value change
}



Best Regards,
Nevron Support Team



Guru Sivasubramanian
Posted 13 Years Ago
View Quick Profile
Junior Member

Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)

Group: Forum Members
Last Active: 13 Years Ago
Posts: 14, Visits: 1
How to use scrollbar Endvalue property?
chart.Axis(StandardAxis.PrimaryX).ScrollBar.Endvalue

please give some sample code.



Similar Topics


Reading This Topic