Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Microsoft .Net & .Net Compact Framework
 Real-Time Graphics Tools for .Net (VB and C#)
 AxisTitle
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

carlao

54 Posts

Posted - 15 Mar 2005 :  23:38:19  Show Profile  Reply with Quote
In the examples set we have two examples: ScrollingGroupPlotUserControl and LinePlotScrollBar. I copied the AxisTitle snippet code from the second example and inserted into the first one. Then, when I run the first example, now with a title, the Y title is not showed. To have the Y or X title showed need I use examples like the second?

Carlao

quinncurtis

1164 Posts

Posted - 16 Mar 2005 :  09:07:25  Show Profile  Reply with Quote
We don't see a problem. We added the axis title code below to the ScrollGroupPlotUserControl1 and the axes titles appeared as expected.


NumericAxisLabels yAxisLab2 = new NumericAxisLabels(yaxis2);
chartVu.AddChartObject(yAxisLab2);

// ADD starting here

Font titleFont = new Font("Microsoft Sans Serif", 10, FontStyle.Bold);
AxisTitle yaxistitle = new AxisTitle( yaxis1, titleFont, "Magnitude");
chartVu.AddChartObject(yaxistitle);

AxisTitle xaxistitle = new AxisTitle( xaxis, titleFont, "Time");
chartVu.AddChartObject(xaxistitle);

// End of addition

scrollFrame1 = new RTScrollFrame(this, stockOpen1, pTransform1, ChartObj.RT_FIXEDEXTENT_MOVINGSTART_AUTOSCROLL);
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-07 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07