L
Lawrence.Colombo
Hello All
Ok. So the problem is the following.
I have a simple line chart with 4 series. One of them is the actual
data series and the other 3 series represent the target areas
(formatted as stacked area type).
Now I have created dynamic ranges so that users may select a period and
the graph only displays the selected period. However I cant seem to get
the toped stacked layer (i.e. Bad performance area series) to match the
maximum value within the Y axis. (It's always sightly less).
I have to ways to go about this:
i) Understand how excel calculates the maximum Y axis value and match
this value
OR
ii) Retrieve the maximum value by creating a UDF in vba, however this
seems to be tricky as in vba I have to first activate the ChartObject
and then the Chart ... etc.
Any suggestions or code or full answer would be greatly appreciated.
Thanks
L
Ok. So the problem is the following.
I have a simple line chart with 4 series. One of them is the actual
data series and the other 3 series represent the target areas
(formatted as stacked area type).
Now I have created dynamic ranges so that users may select a period and
the graph only displays the selected period. However I cant seem to get
the toped stacked layer (i.e. Bad performance area series) to match the
maximum value within the Y axis. (It's always sightly less).
I have to ways to go about this:
i) Understand how excel calculates the maximum Y axis value and match
this value
OR
ii) Retrieve the maximum value by creating a UDF in vba, however this
seems to be tricky as in vba I have to first activate the ChartObject
and then the Chart ... etc.
Any suggestions or code or full answer would be greatly appreciated.
Thanks
L