Another option could be using 2 bars (stacked) to go with the marker line. Use your conditional logic in the query or transaction to put 0 to 'hide' the green bar, and put the value for the 'red' bar. Basically reveal the appropriately colored bar by putting the value in the proper display column. The pen colors for the bar can then also be fixed. The only shortcoming would be displaying the legend would obviously show 3 items, but depending upon your chart title and x/y axis labels it may not even be necessary to show the legend.
↧