Howto:Creating a Canvas graph widget: Difference between revisions
Jump to navigation
Jump to search
m (cat: Canvas; Moving stub template to top) |
m (Switch to the {{forum url}} template for all forum links.) |
||
Line 2: | Line 2: | ||
{{Template:Canvas Navigation}} | {{Template:Canvas Navigation}} | ||
Also see: | Also see: {{forum url|t=20024}} | ||
We want to develop a generic graph widget using the Canvas system. The widget shall be usable in all major placement modes, i.e. 1) dialogs, 2) standalone GUI windows, 3) aircraft instruments. | We want to develop a generic graph widget using the Canvas system. The widget shall be usable in all major placement modes, i.e. 1) dialogs, 2) standalone GUI windows, 3) aircraft instruments. |
Revision as of 20:06, 9 June 2019
This article is a stub. You can help the wiki by expanding it. |
The FlightGear forum has a subforum related to: Canvas |
Also see: https://forum.flightgear.org/viewtopic.php?t=20024
We want to develop a generic graph widget using the Canvas system. The widget shall be usable in all major placement modes, i.e. 1) dialogs, 2) standalone GUI windows, 3) aircraft instruments.
Such a widget would be useful for a whole number of purposes, including:
- FDM/Autopilot tuning
- Plotting internal statistics (system monitor)
- Flight path evaluation (instructor station)
So the graph widget needs to be customizable for different plotting needs. In addition, we want to provide a PropertyPlotter implementation to directly plot properties from the property tree (altitude, speed, FDM/autopilot properties).
Classes
- Axis
- Range
- Legend
- VerticalAxis
- HorizontalAxis
- Style (Color, thickness)
- Plottable
- Graph2D
- PropertyPlotter