Free Support Forum - aspose.com

Remove negative values from bubble chart

I have plotted an aspose bubble chart.Only positive numbers are plotted.But it is showing negatives on axis values.How can we remove these negatives?bubble.PNG (35.9 KB)

@anishsm,

I guess you are using Aspose.Cells APIs to create charts in MS Excel spreadsheet or render the chart to image/PDF. If this is the case, you may try to set the minimum value for the value axis, see the sample line of code that you may add to your code segment:
e.g
Sample code:

..........
chart.ValueAxis.MinValue = 0;
.........

Hope, this helps a bit.

Worked Fine.Thanks
How can i minimize the size of bubble ?
Currently I put 1

@anishsm,

Could you try to minimize series bubbles scales, see the sample code for your reference:
e.g
Sample code:

.......
    series.BubbleScale = 20;
     ........

Hope, this helps a bit.

Great.Worked