tags:

views:

107

answers:

1

I am displaying account balances by month by using a asp.net chart with a SplineArea series. If the balance is positive I want the SplineArea to have a green background but if the balance is negative I want the background to be red. (i.e. positive y value is green, negative y value is red)

How can this be done?

A: 

use a binding directly or with a converter that gives a color depending on the value being positive or negative

annonymous coward