Hello NG,
how can i prevent that the color and iconstyle is changed on every postback when i use a scatterchart within a composite Chart.
Thanks in advance for all your help!
Stefan
You can change the iconstyle from the designer. You can try going to Composite Chart Wizard - Chart Layers - select your scatter chart from the left and choose ChartTypeAppearance and change the Icon property form Random to Circle (for example).
The colors depends on ColorModel, you could try something like:
this.UltraChart1.ColorModel.Skin.PEs.Add(new PaintElement(Color.Green));
Hello,
thanks for you answer, i create my composite chart by code, is there a a chance i can preset the scattercharticon by code within the layer?
Here is the code for creating the scatterchartlayer
myChartArea.Axes.Add(xAxisForScatterChart) Dim scatterLayer As New ChartLayerAppearance() scatterLayer.ChartType = ChartType.ScatterChart scatterLayer.ChartArea = myChartArea scatterLayer.AxisX = xAxisForScatterChart scatterLayer.AxisY = yAxis Me.UltraChart1.CompositeChart.ChartLayers.Add(scatterLayer)
Thanks in advance for your help!