ESPHome  2022.9.1
Data Structures | Enumerations | Functions
esphome::graph Namespace Reference

Data Structures

class  Graph
 
class  GraphLegend
 
class  GraphTrace
 
class  HistoryData
 

Enumerations

enum  LineType { LINE_TYPE_SOLID = 0b1111, LINE_TYPE_DOTTED = 0b0101, LINE_TYPE_DASHED = 0b1110, PATTERN_LENGTH = 4 }
 Bit pattern defines the line-type. More...
 
enum  DirectionType { DIRECTION_TYPE_AUTO, DIRECTION_TYPE_HORIZONTAL, DIRECTION_TYPE_VERTICAL }
 
enum  ValuePositionType { VALUE_POSITION_TYPE_NONE, VALUE_POSITION_TYPE_AUTO, VALUE_POSITION_TYPE_BESIDE, VALUE_POSITION_TYPE_BELOW }
 

Functions

const Color COLOR_ON (255, 255, 255, 255)
 

Enumeration Type Documentation

◆ DirectionType

Enumerator
DIRECTION_TYPE_AUTO 
DIRECTION_TYPE_HORIZONTAL 
DIRECTION_TYPE_VERTICAL 

Definition at line 31 of file graph.h.

◆ LineType

Bit pattern defines the line-type.

Enumerator
LINE_TYPE_SOLID 
LINE_TYPE_DOTTED 
LINE_TYPE_DASHED 
PATTERN_LENGTH 

Definition at line 23 of file graph.h.

◆ ValuePositionType

Enumerator
VALUE_POSITION_TYPE_NONE 
VALUE_POSITION_TYPE_AUTO 
VALUE_POSITION_TYPE_BESIDE 
VALUE_POSITION_TYPE_BELOW 

Definition at line 37 of file graph.h.

Function Documentation

◆ COLOR_ON()

const Color esphome::graph::COLOR_ON ( 255  ,
255  ,
255  ,
255   
)