GPanel
Properties
Section titled “Properties”type: String
required: false
default: null
pointAxes
Section titled “pointAxes”type: List<GPointAxis>
required: true
The list of point (x) axes in the panel.
valueAxes
Section titled “valueAxes”type: List<GValueAxis>
required: true
The list of value (y) axes in the panel.
valueViewPorts
Section titled “valueViewPorts”type: List<GValueViewPort>
required: true
The list of value viewports in the panel. each viewport controls the visible range of values on the y axes.
graphs
Section titled “graphs”type: List<GGraph>
required: true
The list of graphs in the panel.
tooltip
Section titled “tooltip”type: GTooltip
required: false
The tooltip component which displays the values of the hovered point on the graph area.
splitterHeight
Section titled “splitterHeight”type: double
required: false
default: 16.0
The height of the splitter area which is used to resize the two adjoining panels.
heightWeight
Section titled “heightWeight”type: double
required: false
default: 1.0
The height weight of the panel. this is used to calculate the height of the panel relative to other panels in the chart.
resizable
Section titled “resizable”type: bool
required: false
default: true
Whether the panel is resizable by dragging the splitter area.
Only when two adjoining panels both have resizable set to true, the splitter area will be shown and the panels can be resized by dragging the splitter area.
graphPanMode
Section titled “graphPanMode”type: GGraphPanMode
required: false
default: GGraphPanMode.auto
The pan mode of the graphs in the panel.
momentumScrollSpeed
Section titled “momentumScrollSpeed”type: double
required: false
default: 0.5
The speed of the momentum scroll when the user scrolls the graph area with mouse wheel or touchpad.
The value should be between 0.0 and 1.0, where 0.0 means no momentum scroll and 1.0 means the maximum speed.
onTapGraphArea
Section titled “onTapGraphArea”type: Function(Offset)?
required: false
A callback function that is called when the user taps on the graph area.
onDoubleTapGraphArea
Section titled “onDoubleTapGraphArea”type: Function(Offset)?
required: false
A callback function that is called when the user double taps on the graph area.
onSecondaryTapGraphArea
Section titled “onSecondaryTapGraphArea”type: Function(Offset)?
required: false
A callback function that is called when the user taps with secondary button (right click) on the graph area.
onLongPressDownGraphArea
Section titled “onLongPressDownGraphArea”type: Function(Offset)?
required: false
A callback function that is called when the user long presses down on the graph area.
onLongPressUpGraphArea
Section titled “onLongPressUpGraphArea”type: Function(Offset)?
required: false
A callback function that is called when the user long presses up on the graph area.
onLongPressMoveGraphArea
Section titled “onLongPressMoveGraphArea”type: Function(Offset)?
required: false
A callback function that is called when the user moves the finger while long pressing on the graph area
type: GPanelTheme
required: false
The theme of the panel. set it to your own instance to customize the appearance of the panel.
render
Section titled “render”type: GPanelRender
required: false
default: GPanelRender()
The render component which is used to customize the rendering of the panel. Set it to your own instance to customize the rendering of the panel.