Live charts in Excel: for future dates, lines drop to zero -


i run live market charts in excel. graph indicator runs live data fed broker through dde facility in microsoft excel. works fine , happy - except 1 blemish hope can assist with.

the lines of graph (it line chart type) created in real time. present time , past time great, clean. unfortunately in period ahead i.e. hasn't arrived yet, lines of graph drop 0 , crawl along x-axis future. spoils current reading of graph.

is there way can prevent happening lines (properly called curves) exist in past , current time period. worksheet set not show 0 values in formulae, charting facility not appear have function.

if put #n/a in cell (using =na() function) points not drawn.

to hide ugliness of cells having #n/a in them future dates can use number format or conditional formatting hide error values. adding formula conditional formatting of

=isna(a1) 

and setting format white font on white background. makes cells #n/a in them appear blank. versions of excel prior conditional formatting being available can same thing number format in reverse. i.e., set font white cells invisible default , set number format to:

[black]0.0;[red]-0.0;[black]0.0;[black] 

which should make isn't error appear either black or red font colour. regards

dave


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -