RangeChangedEventArgs constructor

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
fredd41
Posts: 113
Joined: Fri Sep 05, 2014 6:46 pm

RangeChangedEventArgs constructor

Post by fredd41 » Thu Apr 21, 2016 5:25 pm

hi

in the version 7.0, can you add this constructor for RangeChangedEventArgs

new RangeChangedEventArgs(min, max, axe, cancel)

thanks

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: RangeChangedEventArgs constructor

Post by ArctionPasi » Sat Apr 23, 2016 6:52 am

Hi,

Event arguments constructors are without parameters, they are filled by the chart internally. You shouldn't need to create event arguments yourself, or raise chart events. If you need to create them, you can simply use the initializer list:

RangeChangedEventArgs args = new RangeChangedEventArgs() { Axis = yourAxis, NewMin = yourNewMin, NewMax = yourNewMax, false };
LightningChart Support Team, PT

Post Reply