CYD-UI
A C++ library for building native graphic user interfaces
Loading...
Searching...
No Matches
cydui.std.charts.plot Module Reference

Exported Modules

module  fabric.linalg
 
module  fabric.logging
 

Classes

struct  charts::plot
 
class  charts::data_series_t
 
struct  charts::grid_t< C >
 
struct  charts::axis_t< C >
 
struct  charts::view_map_t< C >
 

Typedefs

using la = with_precision<double>
 

Functions

 data_series_t ()=default
 
template<std::size_t DATA_LEN>
 data_series_t (la::vec< DATA_LEN > &x, la::vec< DATA_LEN > &y)
 
std::size_t size () const
 
la::vec< 2 > operator[] (std::size_t index) const
 
data_series_ttest ()
 
bool charts::operator== (const data_series_t &lhs, const data_series_t &rhs)
 
template<class C>
 charts::grid_t (C &) -> grid_t< C >
 
 charts::COMPONENT (PlotAxis, { la::vec< 2 > axis_direction{0, 0};la::vec< 2 > label_direction{0, 0};la::scalar label_offset{0};la::vec< 2 > label_orientation{0, 0};la::scalar min=DEFAULT_AXIS_MIN_VALUE, max=DEFAULT_AXIS_MAX_VALUE, step=DEFAULT_AXIS_STEP;bool major_ticks_show=false;bool minor_ticks_show=false;unsigned int minor_ticks_count=4;std::string title="";vg::text_anchor_e title_align{vg::text_anchor_e::MIDDLE};la::scalar title_offset{0};std::function< cydui::components::component_holder_t(la::scalar)> label_component;std::function< void(la::scalar)> move_callback;std::function< void()> reset_callback;})
 
 charts::COMPONENT (NumericAxisLabel, { la::scalar value=0;};static cydui::components::component_holder_t builder(const la::scalar value) { return NumericAxisLabel{{value}};})
 
 charts::COMPONENT (PiRatioAxisLabel, { la::scalar value=0;};static cydui::components::component_holder_t builder(const la::scalar value) { return PiRatioAxisLabel{{value}};})
 
template<class C>
 charts::axis_t (C &) -> axis_t< C >
 
template<class C>
 charts::view_map_t (C &) -> view_map_t< C >
 

Files

file  include/cyd_ui/stdui/charts/plot.cppm
 
file  include/cyd_ui/stdui/charts/plot/plot_axis.cppm
 
file  include/cyd_ui/stdui/charts/plot/plot_grid.cppm
 
file  include/cyd_ui/stdui/charts/plot/plot_series.cppm
 
file  include/cyd_ui/stdui/charts/plot/plot_view.cppm