How can I use ColorMember with BubbleSeries.
Posted: Wed Feb 04, 2004 8:05 pm
Hi,
I create a BubbleSeries fill with a DataSource. One of my columns specifies the color of the bubble should be. here a sample of my simple code :
styleBubble = new Steema.TeeChart.Styles.Bubble(chart);
styleBubble.DataSource = tablePoints;
styleBubble.YValues.DataMember = tablePoints.Columns["PourcentGrade1"].ToString();
styleBubble.XValues.DataMember = tablePoints.Columns["dureeSechage"].ToString();
styleBubble.RadiusValues.DataMember = tablePoints.Columns["Radius"].ToString();
// BEGIN THIS DON'T COMPILE
styleBubble.ColorMember = tablePoints.Columns["Couleur"].ToString();
// END THIS NOT COMPILE
chart.Series.Add(styleBubble);
How can I display a single bubbleSeries with different color specifie from my DataSource ? Is there any source exemple about this method ?
thanks a lot,
Philippe Lamontagne
I create a BubbleSeries fill with a DataSource. One of my columns specifies the color of the bubble should be. here a sample of my simple code :
styleBubble = new Steema.TeeChart.Styles.Bubble(chart);
styleBubble.DataSource = tablePoints;
styleBubble.YValues.DataMember = tablePoints.Columns["PourcentGrade1"].ToString();
styleBubble.XValues.DataMember = tablePoints.Columns["dureeSechage"].ToString();
styleBubble.RadiusValues.DataMember = tablePoints.Columns["Radius"].ToString();
// BEGIN THIS DON'T COMPILE
styleBubble.ColorMember = tablePoints.Columns["Couleur"].ToString();
// END THIS NOT COMPILE
chart.Series.Add(styleBubble);
How can I display a single bubbleSeries with different color specifie from my DataSource ? Is there any source exemple about this method ?
thanks a lot,
Philippe Lamontagne