Author |
Topic  |
|
carlao
54 Posts |
Posted - 15 Mar 2005 : 23:38:19
|
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
|
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);
|
 |
|
|
Topic  |
|
|
|