Here we go again. Just one more question among many. Growing somehow tired of infragistics. Is this some kind of russian company?
Lets say in the case of an bubble chart, we have some bubbles. Not so difficult? yeah.One bubble is defined by X, Y and Radius value. Not so difficult eather?One bubble also has a color? Yeah. Nice.
In my data object lets say BubbleItem I can define those three properties (x,y and r). And I can map them too.
So why in all the heavens and hells I cant map the color too?
Why Infragistics allways thinks we should use some interpolations and order numbers in the way YOU think it is aproppriate?
It is 30min coding task (One DP "BrushPathMember", one if block to set user color).
Only solution to try was to repaint on Marker.Loaded event. This caused many bubbles to change the color on zoom in/out (randomly).
And it is a wrong way to do, as markers are repainted on zoom in and out.
Selecting small area of the chart with mouse also caused different view each time zooming out.
So WTF Infragistics? Maybe: we looked into your issue an we found it to be a good idea... crap!
Be aware tha some software companies create charts that dont fit in you example solution.
THANK YOU!
Hello Igor,
Just checking in, did you have any other questions or concerns on this matter?
Sincerely,AndrewAssociate DeveloperInfragistics Inc.www.infragistics.com/support
Thank you for your post.
While it is true that there currently is no built in functionality to the BubbleSeries to map the color of the bubbles, there is something that you can do to determine these colors. The BubbleSeries has a MarkerTemplate property that it uses to draw the bubbles. The default bubble is a template with an Ellipse in it.
If you were to add a Brush property to your data item and set it, then you could bind the Fill of a the Ellipse object in your marker template to it by using {Binding Item.BrushProperty}. This would essentially map the colors of each of the bubbles in a BubbleSeries to the color that is set for the particular data item that bubble represents.
I have attached a sample project to demonstrate the above. I hope this helps you.
Please let me know if you have any other questions or concerns on this matter.