Thanks for the fast answer and the link!
The next problem I have is: I'm working with win( VS2012Express. When I work in IDE and have a chart (range bar) on my form with one serie defined and try to add a second serie with designer I get the message:
Die Diagrammvorschau ist nicht verfügbar. Eine durchgeführte Aktion hat einen Fehler in der Diagrammvorschau verursacht. (because I'm German)
But I tried to translate this message into:
The preview of the diagram is not available. A carried out action had caused an error at the preview of diagram.
And then I had to abort this work. What caused this message???
DietrichSaturday, June 08, 2013 1:00 PM
If you have just dragged the chart control from the toolbox and dropped it on your form, it will have a default, ChartArea, Series and Legend. Either delete these through the properties window or in your code.
chart1.Series.Clear(); chart1.Legends.Clear(); chart1.ChartAreas.Clear();The default chart type is bar so as you are doing a range bar the 2 chart types are not compatible.
http://www.sharpstatistics.co.ukSaturday, June 08, 2013 3:55 PM