#include <graph.h>
Definition at line 45 of file graph.h.
◆ init()
void esphome::graph::GraphLegend::init |
( |
Graph * |
g | ) |
|
Determine the best coordinates of drawing text + lines.
Definition at line 214 of file graph.cpp.
◆ set_border()
void esphome::graph::GraphLegend::set_border |
( |
bool |
val | ) |
|
|
inline |
◆ set_direction()
void esphome::graph::GraphLegend::set_direction |
( |
DirectionType |
val | ) |
|
|
inline |
◆ set_height()
void esphome::graph::GraphLegend::set_height |
( |
uint32_t |
height | ) |
|
|
inline |
◆ set_lines()
void esphome::graph::GraphLegend::set_lines |
( |
bool |
val | ) |
|
|
inline |
◆ set_name_font()
◆ set_units()
void esphome::graph::GraphLegend::set_units |
( |
bool |
val | ) |
|
|
inline |
◆ set_value_font()
◆ set_values()
◆ set_width()
void esphome::graph::GraphLegend::set_width |
( |
uint32_t |
width | ) |
|
|
inline |
◆ border_
bool esphome::graph::GraphLegend::border_ {true} |
|
protected |
◆ direction_
◆ font_label_
◆ font_value_
◆ Graph
friend esphome::graph::GraphLegend::Graph |
|
protected |
◆ height_
uint32_t esphome::graph::GraphLegend::height_ {0} |
|
protected |
◆ lines_
bool esphome::graph::GraphLegend::lines_ {true} |
|
protected |
◆ parent_
Graph* esphome::graph::GraphLegend::parent_ {nullptr} |
|
protected |
◆ units_
bool esphome::graph::GraphLegend::units_ {true} |
|
protected |
◆ values_
◆ width_
uint32_t esphome::graph::GraphLegend::width_ {0} |
|
protected |
◆ x0_
int esphome::graph::GraphLegend::x0_ {0} |
|
protected |
◆ xs_
int esphome::graph::GraphLegend::xs_ {0} |
|
protected |
◆ xv_
int esphome::graph::GraphLegend::xv_ {0} |
|
protected |
◆ yl_
int esphome::graph::GraphLegend::yl_ {0} |
|
protected |
◆ ys_
int esphome::graph::GraphLegend::ys_ {0} |
|
protected |
◆ yv_
int esphome::graph::GraphLegend::yv_ {0} |
|
protected |
The documentation for this class was generated from the following files:
- /opt/build/esphome/esphome/components/graph/graph.h
- /opt/build/esphome/esphome/components/graph/graph.cpp