Hi Team,
I have a scenario in which I need to create a Bubble Chart in excel. Could you please help me with a sample code.
Please find the attached screenshot for you reference.
Regards,
Sanjeev
Hi Team,
I have a scenario in which I need to create a Bubble Chart in excel. Could you please help me with a sample code.
Please find the attached screenshot for you reference.
Regards,
Sanjeev
Hi Sanjeev,
Thanks for your posting and considering Aspose.Cells.
Please attach your excel file containing your desired bubble chart as you have shown in screenshot for our reference. We will look into it and provide you a sample code to achieve the same thing using Aspose.Cells APIs.
Hi
Thanks for your reply.Please find the attachment of the sample bubble chart.
Hi,
Thanks for your sample file and using Aspose.Cells.
Please see the following sample that creates a Bubble chart. It will give you idea how to get started with the creation of Bubble chart using Aspose.Cells API. I have also attached the output Excel file generated by the code for your reference.
Java
Hi,
Thanks for the reply.But I just need to clarify one thing.
Here we set the Xvalues and bubble size.How can we set values for Y axis of the bubbles.Do we have any specific methods for setting Yvalues of the bubbles?
Thanks,
Sanjeev
Hi Sanjeev,
Thanks for your posting and using Aspose.Cells.
Y values are set using the following code.
chart.getNSeries().add(“B1:D1”, false);
Here B1:D1 are Y values.
Hi, and how can I add specific image for each bubble. It is possible in Excel.