Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Adding a line to a PivotChart
I'd like to add a line to a column PivotChart representing the upper
quartile of a series. I can calculate the upper quartile in code, but can't find a way in code to place a line so that it crossed the Y axis at the upper quartile. I can do this in an Excel chart by adding and formatting a series, rather than drawing a line; but in a PivotChart, I'm unable to add a series or a trend line. (also posted to the Excel programming group) |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Adding a line to a PivotChart
You could create a normal chart, based on the pivot table, and include
the line in that. On Jon Peltier's site, there are instructions for creating a normal chart from pivot data: http://www.peltiertech.com/Excel/Pivots/pivotcharts.htm Walden2 wrote: I'd like to add a line to a column PivotChart representing the upper quartile of a series. I can calculate the upper quartile in code, but can't find a way in code to place a line so that it crossed the Y axis at the upper quartile. I can do this in an Excel chart by adding and formatting a series, rather than drawing a line; but in a PivotChart, I'm unable to add a series or a trend line. (also posted to the Excel programming group) -- Debra Dalgleish Contextures http://www.contextures.com/tiptech.html |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Adding a line to a PivotChart
Thanks Debra -
I'll try this approach if I can't figure out a way to insert the line on the PivotChart. Intuitively it seems like one should be able to search for the Y Intercept in the set of Y axis values, and then draw a simple line from that point, but I can't figure out a way to do that even though it sounds simple. Walden Seems like the Y Intercept should be an object. Debra Dalgleish wrote: You could create a normal chart, based on the pivot table, and include the line in that. On Jon Peltier's site, there are instructions for creating a normal chart from pivot data: http://www.peltiertech.com/Excel/Pivots/pivotcharts.htm Walden2 wrote: I'd like to add a line to a column PivotChart representing the upper quartile of a series. I can calculate the upper quartile in code, but can't find a way in code to place a line so that it crossed the Y axis at the upper quartile. I can do this in an Excel chart by adding and formatting a series, rather than drawing a line; but in a PivotChart, I'm unable to add a series or a trend line. (also posted to the Excel programming group) -- Debra Dalgleish Contextures http://www.contextures.com/tiptech.html |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Data showing incorrectly on line chart | Charts and Charting in Excel | |||
Adding Horizontal line to a graph | Excel Discussion (Misc queries) | |||
Moving data labels around with VBA (and adding a line between two | Charts and Charting in Excel | |||
Adding a Trend line | Charts and Charting in Excel | |||
Adding a text label to a line. | Charts and Charting in Excel |