Jump to content
Software FX Community

Custom color from DP for a serie


gommacri

Recommended Posts

Hi,

i have a test your example 3DAndRotation and i pass data to the chart using a List that is a Dependency property.

The list has can be as follows:

a Value (such a 50), a description (Fault (50)) and a Brush that i want to be the color of the serie (for example Yellow)

a Value (such a 20), a description (Alarm (20)) and a Brush that i want to be the color of the serie (for example Red)

How can i set the color of each bar of the color contained in my Dependency property?

And again, why if set the AxisLabelAttributes with the values of the description of my DP this value is updated only the first time but if the value changes only the bar is update but the description on the axis stills stays the same?

Thanks

Cristian

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...