TinyMaterialDesign
Loading...
Searching...
No Matches
Public Attributes | List of all members
ChartSeries< RGB_T > Struct Template Reference

One data series of a LineChart. More...

#include <LineChart.h>

Public Attributes

std::vector< float > values
 The values, oldest/leftmost first. NaN values break the line.
 
RGB_T color
 
uint8_t width = 2
 Line width in pixels.
 
bool visible = true
 
bool dashed = false
 Draw the line dashed (e.g. to tell apart series of similar colors).
 
std::string label
 Name in the legend; series without a label are not listed.
 

Detailed Description

template<typename RGB_T>
struct tinymd::ChartSeries< RGB_T >

One data series of a LineChart.

Member Data Documentation

◆ color

RGB_T color

◆ dashed

bool dashed = false

Draw the line dashed (e.g. to tell apart series of similar colors).

◆ label

std::string label

Name in the legend; series without a label are not listed.

◆ values

std::vector<float> values

The values, oldest/leftmost first. NaN values break the line.

◆ visible

bool visible = true

◆ width

uint8_t width = 2

Line width in pixels.


The documentation for this struct was generated from the following file: