This is a migrated thread and some comments may be shown as answers.

Bubble Chart - Bubble always circle

1 Answer 66 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 18 Mar 2009, 07:51 PM
For the bubbles i has to define the horizontal and vertical size with the two values XValue2 and YValue2. Depending of the x- and y-axis and the values i get ellipses or so.

I would like generate always circles with only one value for the diameter and independent of the dimensions of the both axis.

How can i realize this in vb.net?

Regards and thanks
Chris

1 Answer, 1 is accepted

Sort by
0
Dessy
Telerik team
answered on 20 Mar 2009, 03:33 PM
Hi Chris,

You can control the bubbles size by setting value to the BubbleSize property (e.g. chartSeries.Appearance.BubbleSize = 26)
Additionally you could determine the position of the circle by changing  XValue and YValue
Here is an example in VB:

 Dim chartSeries1 As New ChartSeries("My Series")  
        chartSeries1.Type = ChartSeriesType.Bubble  
        chartSeries1.Appearance.BubbleSize = 26  
        RadChart1.Series.Add(chartSeries1)  
        Dim item1 As New ChartSeriesItem(20)  
        Dim item2 As New ChartSeriesItem(60)  
        Dim item3 As New ChartSeriesItem(10)  
        item1.XValue = 20  
        chartSeries1.AddItem(item1)  
        item2.XValue = 60  
        chartSeries1.AddItem(item2)  
        item3.XValue = 40  
        chartSeries1.AddItem(item3)  
 
        RadChart1.PlotArea.YAxis.AxisMode = ChartYAxisMode.Extended 

Hope this helps.


Sincerely yours,
Dessy
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Chart (Obsolete)
Asked by
Chris
Top achievements
Rank 1
Answers by
Dessy
Telerik team
Share this question
or