Is there some way to figure out the minimum resize for a graph? We have our graph as a pane in our application - and the graph won't resize very small.
I'm using chartVu.SetResizeMode(ChartObj.AUTO_RESIZE_OBJECTS);
Do I need to manually resize? Or set some other options?
The ChartView class has a default minimum size because if you don't have one, users will immediately create graphs that they resize to 0. This will cause floating point overflows as the chart shrinks into a black hole.
The default minimum size for a ChartView is 200x200 pixels. You can change the default minimum size by calling the ChartView.SetMinimumSize method, specifying the new minimum size as a Size object.
this.SetMinimumSize( new Size(100,100));
It is recommended that you not take these values below 100x100.