Getting datapoint X, Y and Size value from bubble chart

kmurshed

New Member
Joined
Aug 14, 2011
Messages
8
Hello,

I'm working on a bubble chart, and I wan't to create a macro that looks up the X, Y, and size values of each data point, and returns the corresponding text for the label. All that is based on a spreadsheet that relates the values and their intended labels.

My problem is how do I get vba to read the X, Y and size values of each datapoint.

Any ideas?

Thanks in advance
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Hello,

I'm working on a bubble chart, and I wan't to create a macro that looks up the X, Y, and size values of each data point, and returns the corresponding text for the label. All that is based on a spreadsheet that relates the values and their intended labels.

My problem is how do I get vba to read the X, Y and size values of each datapoint.

Any ideas?

Thanks in advance

Hi

Check the help for the series object properties.

3 properties will give you what you want

XValues, gives the X values of the points
Values, gives the Y values of the points
BubbleSizes, gives the sizes of the bubbles for the points
 
Upvote 0
Thanks for the help, actually I used the label property itself in order to extract the x, y and bubble size values.. I did not manage to use the parameters you suggested for each point, only for each series, and I believe that would not solve my problem.
But maybe I chose the more complex solution..

Regards,
kmurshed
 
Upvote 0

Forum statistics

Threads
1,224,548
Messages
6,179,443
Members
452,915
Latest member
hannnahheileen

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top