User (Legacy) Posted June 29, 2005 Report Share Posted June 29, 2005 Is there a method of storing custom information about a point within the chart? Something like this: Chart1.Points[0,1].Attributes.Add("name", "value"); Best regards, Gabe Link to comment Share on other sites More sharing options...
Software FX Posted June 29, 2005 Report Share Posted June 29, 2005 There is a Tag property that allows you to store any .NET object, you can store a string, ArrayList, Dictionary, etc. Note that you can also use the value of this tag in the tooltip or point label by using %L. In this case you would normally store a string or primitive variable. We will call ToString so if you store a business object make sure you override ToString or you will get the full type name. Regards, JC Software FX Support "Gabe A" <u@d.com> wrote in message news:jCZRnkOfFHA.1484@webserver3.softwarefx.com... > Is there a method of storing custom information about a point within the > chart? > > Something like this: Chart1.Points[0,1].Attributes.Add("name", "value"); > > Best regards, > > Gabe > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted June 29, 2005 Author Report Share Posted June 29, 2005 I think the Tag property will do the trick - thanks!!! Gabe "Software FX Support" <none@noreply.com> wrote in message news:ky5eczOfFHA.1484@webserver3.softwarefx.com... > There is a Tag property that allows you to store any .NET object, you can > store a string, ArrayList, Dictionary, etc. > > Note that you can also use the value of this tag in the tooltip or point > label by using %L. In this case you would normally store a string or > primitive variable. We will call ToString so if you store a business object > make sure you override ToString or you will get the full type name. > > Regards, > > JC > Software FX Support > > "Gabe A" <u@d.com> wrote in message > news:jCZRnkOfFHA.1484@webserver3.softwarefx.com... > > Is there a method of storing custom information about a point within the > > chart? > > > > Something like this: Chart1.Points[0,1].Attributes.Add("name", "value"); > > > > Best regards, > > > > Gabe > > > > > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.