I have a scatter chart that has enough points that labelling is not an option. I'd like to customize the hover to display not only the x,y and series, but also another column of my data (project name). The data is organized like this (with some dummy data:
My scatter has the score on the y axis and department number on the x, with In Progress and Not started as the series. I'd like to be able to show the Project Name on the hover over. I found some code online using Chart Events but have been unable to get it to work properly. My chart is imbedded in a worksheet (it is not a chart sheet), which seems to add a lot of complexity. I would appreciate some help as I am very inexperienced with VBA.
Another acceptable option would be to output the x/y data to a few cells when a point is clicked on the chart, then I can write a formula to pull in the project name next to the chart.
Project Name | Score | Department | Status | In Progress | Not Started |
Create Dashboard | 20 | 1 | in progress | 20 | #N/A |
Customize Hover | 30 | 2 | Not Started | #N/A | 30 |
My scatter has the score on the y axis and department number on the x, with In Progress and Not started as the series. I'd like to be able to show the Project Name on the hover over. I found some code online using Chart Events but have been unable to get it to work properly. My chart is imbedded in a worksheet (it is not a chart sheet), which seems to add a lot of complexity. I would appreciate some help as I am very inexperienced with VBA.
Another acceptable option would be to output the x/y data to a few cells when a point is clicked on the chart, then I can write a formula to pull in the project name next to the chart.