User (Legacy) Posted November 1, 2004 Report Posted November 1, 2004 This event fires when there are changes made to the chart by the user, but the ChangedByUserEventArgs do not carry any information. How does one find out which property has been changed. - priyanka
Software FX Posted November 1, 2004 Report Posted November 1, 2004 The challenge with this event is that ChartFX has many properties, some of these properties belong to the chart, other to a specific axis or series. So we could carry the object being changed and the property name, now the problem is on a dialog box where the user can change many properties at a time. Do you really want us to collect all the properties that were changed ? Is it better to fire the event several times ? Is it really important to know that the width of the line for series 2 was changed or do you just need to know the chart is "dirty" ? These are the kind of questions we debated when exposing this event. We are open to any ideas / suggestions -- Regards, JC Software FX Support "Priyanka" <priyankan@hotmail.com> wrote in message news:2FpUR0EwEHA.1120@webserver3.softwarefx.com... > This event fires when there are changes made to the chart by the user, but > the ChangedByUserEventArgs do not carry any information. > > How does one find out which property has been changed. > > - priyanka >
User (Legacy) Posted November 2, 2004 Author Report Posted November 2, 2004 One solution would be to have two events, one for signalling that the chart is dirty and another to signal a change in property which would contain the object and property name as you suggested. So when a user changes multiple properties through a dialog a single 'chart is dirty' event would be fired and multiple 'property changed' events would be fired. The developer using the ChartFX API would decide which event to hook on to based on the needs of the software. I am trying to store chart properties within our own application file(to persist them in another session), and I want to store these properties only if they are not the default i.e. the user changes them. With the current ChangedByUser Event there is no way to determine which property has changed unless I go through the entire list(as you noted earlier there are a lot of properties). For the time being I will have to narrow down the properties that I am interested so as to not go through the entire list each time. Any solutions? - priyanka "Software FX Support" <noreply> wrote in message news:3$TdlaHwEHA.1120@webserver3.softwarefx.com... > The challenge with this event is that ChartFX has many properties, some of > these properties belong to the chart, other to a specific axis or series. > > So we could carry the object being changed and the property name, now the > problem is on a dialog box where the user can change many properties at a > time. Do you really want us to collect all the properties that were > changed ? Is it better to fire the event several times ? Is it really > important to know that the width of the line for series 2 was changed or > do you just need to know the chart is "dirty" ? > > These are the kind of questions we debated when exposing this event. We > are open to any ideas / suggestions > > -- > Regards, > > JC > Software FX Support > "Priyanka" <priyankan@hotmail.com> wrote in message > news:2FpUR0EwEHA.1120@webserver3.softwarefx.com... >> This event fires when there are changes made to the chart by the user, >> but the ChangedByUserEventArgs do not carry any information. >> >> How does one find out which property has been changed. >> >> - priyanka >> > >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.