I have created a pie chart that binds to a SqlDataSource object.
I have created (in design time) a single series that binds the DataYColumn property to a Units column in the datasource and the DataLabelsColumn to a Status.
So far so good.
The problem I am having is that I would like to be able to change the colour of the pie slices. For example, The Completed slice should be Green, The In Progress slice should be Orange and the Errors slice should be Red.
I can't seem to figure out how to set these either at design time or programatically?
One thing to note is that I can't bind the datasource at runtime via the needdatasource due to restrictions in the application.
I have created (in design time) a single series that binds the DataYColumn property to a Units column in the datasource and the DataLabelsColumn to a Status.
So far so good.
The problem I am having is that I would like to be able to change the colour of the pie slices. For example, The Completed slice should be Green, The In Progress slice should be Orange and the Errors slice should be Red.
I can't seem to figure out how to set these either at design time or programatically?
One thing to note is that I can't bind the datasource at runtime via the needdatasource due to restrictions in the application.