Hello friends, Please, I have this problem, I'm doing a graph and I have a buttom when I do click it shows another graph, but my legend and my Axis X are not cleared. Please how to clear and do another graph.
Thanks for all. My code from Legend is this:
CompositeLegend myLegend = new CompositeLegend(); myLegend.ChartLayers.Add(myScatterLayer); myLegend.Bounds = new Rectangle(88, 2, 11, 15); myLegend.BoundsMeasureType = MeasureType.Percentage; myLegend.PE.ElementType = PaintElementType.Gradient; myLegend.PE.FillGradientStyle = GradientStyle.ForwardDiagonal; myLegend.PE.Fill = Color.CornflowerBlue; myLegend.PE.FillStopColor = Color.Transparent; myLegend.Border.CornerRadius = 10; myLegend.Border.Thickness = 1;
Regards...
Hello Eros,
I`m not sure that I understand your scenario, but maybe you could achieve the desired behavior if you set the new DataSet to your UltraChart`s datasource. By this way automticaly the UltraChart will show the new data with new axis and legend. Another aproach could be if you are using for example additional ChartArea. Please give me more details about your scenario or send me small sample with your issue and I`ll be glad to reaserch this issue for you.
Regards