Adding a line to a PivotChart

W

Walden2

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)
 
W

Walden2

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top