LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.charting
Sarge
 
Posts: n/a
Default Null values in charts and how to override the goal seek functionality

Hi all,

I am trying to chart data that contains null values, I want the null
values to be represented as a gap or such.
The chart series are dynamically created from code using a series
formula.
The chart needs to be editable as well as the underlying data.

My attempts at displaying null data is slowly painting me into a corner.

Issue 1:
The series formula will not allow null values to be included in the
selected cells. Any attempt to include a null value in the series range will
give me a COMException.

Workaround 1:
Bind the series to an area on the sheet filled with formulas like
IF(ISBLANK(D3),NA(),D3)
This allows me to display the chart and dynamically change range of
values being displayed. Yay. NA() = graphical null value!?

Issue 2:
Editng the chart now invokes the goal seek helper requesting that I
specify the cell to change.
This renders the chart editing functionality useless because now a value
needs to be entered to allow the goal seek to perform and change the
underlying value.

Questions
Can I somehow display null values in the chart without compomising the
editing behaviour?
Can I override the GOAL SEEK behaviour?


I am developing an excel solution using VSTO 2003 and C#.

Thanks in advance

Mark Sargent




 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:07 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"