Combining different chart types

Hi,

I need to combine two chart types in one chart(buble and line). Does your charts has a possibility to do so? Give some sample if it is possible.

Thanks in advance.

John

3 Replies

AD Administrator Syncfusion Team June 19, 2009 10:35 AM UTC

Hi,

Thanks for your interest in Syncfusion Products.

You could combine different chart types in one chart by setting the Type in ChartSeries.

To use line CharType and Bubble chartType in a same chart you could use below code snippet.

Code snippet:






Please refer to the sample which is available in the below link.

http://files.syncfusion.com/support/Chart.WPF/7.3.0.6/F82684/main.htm


Please let us know if you have further queries.

Regrads,
Sowmya.N


JF John F June 23, 2009 10:54 PM UTC

Great thanks. It works exactly as I want.
And one more question: how I can set the radius of the buble? Or it is setting automaticaly? I will be very appreciated.

Thanks.


AD Administrator Syncfusion Team June 24, 2009 07:41 AM UTC

Hi,

Thanks for your interest in Syncfusion Products.

You could set the radius of the bubble.

Refer to the below code snippet to set the radius of the bubble.

Code Snippet:

ChartBubbleType.SetMaxRadius(series1, 10);


Please refer to the attached Sample which can be downloaded from the below link.
http://files.syncfusion.com/support/Chart.WPF/7.2.0.37/F82684/main.htm

Please let us know if you have further queries.


Regards,
Sowmya.N

Loader.
Up arrow icon