Is there a way to NOT show the big red error message when there is no data in the datasource? I've tried the Data.EmptyStyle.Text but that doesn't seem to work. Any help would be much appreciated, thanks.
Thank you. This helps dramatically and does the trick.
no event exists specifically for this purpose. however, you could handle the FillSceneGraph event and assume that the chart will be rendered when e.SceneGraph.Count is > 2.
when it renders the error message, there should be two objects in the scenegraph: the white background, and the error text.
Is there an inverse event?
I have a chart that is linked to a grid - the grid is empty at first so this message is always displayed when first opened.
If invaliddatareceived event is fired i would like to show an alternate control or hide the chart to correct this. To do this i need a means of reverting back to the chart when valid data is entered into the grid. which event(s) would signal that the chart has valid data necessary to draw properly.
handle the InvalidDataReceived event. you can use the EventArgs to change the text and label style for this message.