Download QCChart2D CF Charting Library for the .Net Compact Framework
Transcript
FAQs 449 Grid grid1 = new Grid(xAxis, yAxis, ChartObj.Y_AXIS, ChartObj.GRID_MAJOR); grid1.SetZOrder(40); // This is actually the default value for the grid z-order chartVu.AddChartObject(grid1); Grid grid2 = new Grid(xAxis, yAxis, ChartObj.Y_AXIS, ChartObj.GRID_MINOR); grid2.SetZOder(150); // Grid is drawn after ChartPlot objects // which have default z-value of 50 chartVu.AddChartObject(grid2); [Visual Basic] Dim chartVu As ChartView = ChartView1 . . . Dim grid1 As Grid = new Grid(xAxis, yAxis, ChartObj.Y_AXIS, ChartObj.GRID_MAJOR) grid1.SetZOrder(40) ‘ This is actually the default value for the grid z-order chartVu.AddChartObject(grid1) Dim grid2 As Grid = new Grid(xAxis, yAxis, ChartObj.Y_AXIS, ChartObj.GRID_MINOR) grid2.SetZOder(150) ‘ Grid is drawn after ChartPlot objects ‘ which have default z-value of 50 chartVu.AddChartObject(grid2) 18. How to I use a ScrollBar object to control horizontal scrolling of the data in my chart? You can place the ChartView object and the scroll bar in a parent container and use a layout manager to position everything. If you place the scroll bar in the ChartView you can still position it using a layout manager. The ChartView will always use the entire content area of the underlying Control for its canvas and the scroll bars will sit on top of this, not side by side. The example program LinePlotScrollBar uses two scroll bars, a horizontal scroll bar to control scrolling of the x-axis, and a vertical scroll bar that controls the magnitude of the y-axis. You need to add hScrollBar1_Scroll and vScrollBar1_Scroll event listeners to the ChartView class to process changes in scroll bar values. As of this writing there seems to be serious problems with the .Net scrollbars, largely due to the circumstance that they do not support trapping MouseDown and MouseUp
Related documents
QCChart2D User Manual - Quinn
QCChart3D 3D Charting Tools for .Net - Quinn
QCChart2D for WPF User Manual - Quinn
QCRTGraph CF Real-Time Graphics Tools for the - Quinn
QCRTGraph for WPF User Manual - Quinn
Real-Time Graphics Tools for Silverlight User Manual
QCSPCChart SPC Control Chart Tools for .Net CF - Quinn
QCSPCChart SPC Control Chart Tools for - Quinn
Real-Time Graphics Tools for .Net Class Summary
tymoraPRO traderSCAN User`s Manual
User Manual - Quinn