Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

YAxis GetBounds

I want to draw some additional informations on the yAxis. In the paint eventhandler of the scattergraph i get the rectangle of the YAxis with

currentYAxis.GetBounds(currentYAxis.Position), and the drawing works fine. Now I want to draw the whole scattergraph with axis on an graphics object for printing.

I use the function

 

scatterGraph1.Draw(new ComponentDrawArgs(graphics, plotGraphRect));

 

in this case the paint event is not fired and nothing would be drawn. I tried now to get the rectangle of the YAxis with

 

currentYAxis.GetBounds(graphics, plotGraphRect, currentYAxis.Position);

 

and draw the additional info,  but i get the same values for all yAxis on my scattergraph.

 

I hope somebody can help me.

 

Best regards

 

Gerald

0 Kudos
Message 1 of 1
(3,164 Views)