Jump to content
Software FX Community

Custom attributes for points?


User (Legacy)

Recommended Posts

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

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

Archived

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

×
×
  • Create New...