I've been working with the UltraChart control for a a few weeks now and I can't seem to control the graph color model. The colors are crazy looking and the end users are complaining.
Does anyone know where I can get some instructions on how to manipulate the colors in the UltraChart? Or is not possible to control what colors you get?
Thanks
Dlegros
i ran some tests and i wasn't able to find a scenario where changing the value of UseRowLabelsColumn causes the chart to change colors. what is your ColorModel.ModelStyle?
This is helpful.
I am trying to set a specific color model for several ultra charts.
I was successful controlling colors on a ChartType="LineChart"
but when I use the same code to set the color model for a ColumnChart that has
<Data UseRowLabelsColumn="True" />
- the chart changes the colors (and the legend) totally...
What am I missing?
I'm gonna try using the CustomSkin ColorModel and adding new paint elements.
Thanks a lot for your help.
You can choose one of the existing color models by changing the chart.ColorModel.ModelStyle property. If you're looking to use a range of colors based on start and end color, use LinearRange and set ColorBegin and ColorEnd. If you want to use a custom color array, use CustomLinear or CustomSkin. When using CustomSkin, simply add paint elements to the Skin.PEs collection.More info can be found here:http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/Chart_Custom_Skins_and_Paint_Elements.html