A plot: what it shows and how.
More...
#include <gui_controls/gui_plot_types.h>
A plot: what it shows and how.
Keep it from frame to frame, as a CurveData. Show it with Plot: a PlotView for one place, or this and a PlotViewState per view to show it in several.
◆ series
◆ xMin
| float tachyon::PlotData::xMin = 0.0f |
◆ xMax
| float tachyon::PlotData::xMax = 1.0f |
◆ yMin
| float tachyon::PlotData::yMin = 0.0f |
The y range; with fitY, it runs from yMin out to the values shown (below it too).
◆ yMax
| float tachyon::PlotData::yMax = 1.0f |
◆ fitY
| bool tachyon::PlotData::fitY = true |
◆ yScale
◆ labels
| bool tachyon::PlotData::labels = true |
◆ handles
| std::vector<PlotHandle> tachyon::PlotData::handles |
Kept in order, each between its neighbours and inside the x range.
◆ onEdit
| std::function<void(const PlotEdit&)> tachyon::PlotData::onEdit |
A handle moved (already applied): put it in the undo history.
The documentation for this struct was generated from the following file: