phyphox BLE
Plot your Arduino's data in the phyphox app and control the board from the phone
Loading...
Searching...
No Matches
PhyphoxBleExperiment::Graph::Subgraph Class Reference

One additional curve in a graph. More...

#include <phyphoxBleExperiment.h>

Public Member Functions

 Subgraph ()=default
 
 Subgraph (const Subgraph &)=delete
 
void setChannel (int x, int y)
 0 = time, 1…5 = data channels
 
void setColor (const char *hex6)
 
void setStyle (const char *style)
 
void setLinewidth (float)
 
void setLineWidth (float w)
 

Public Attributes

phyphox::SubgraphData data
 
phyphox::ErrorRecord error
 
Subgraph * next = nullptr
 

Detailed Description

One additional curve in a graph.

Configure, then Graph::addSubgraph(); the graph keeps a pointer, so the Subgraph must live until addExperiment().

Constructor & Destructor Documentation

◆ Subgraph() [1/2]

PhyphoxBleExperiment::Graph::Subgraph::Subgraph ( )
default

◆ Subgraph() [2/2]

PhyphoxBleExperiment::Graph::Subgraph::Subgraph ( const Subgraph &  )
delete

Member Function Documentation

◆ setChannel()

void PhyphoxBleExperiment::Graph::Subgraph::setChannel ( int  x,
int  y 
)

0 = time, 1…5 = data channels

◆ setColor()

void PhyphoxBleExperiment::Graph::Subgraph::setColor ( const char *  hex6)

◆ setLineWidth()

void PhyphoxBleExperiment::Graph::Subgraph::setLineWidth ( float  w)
inline

◆ setLinewidth()

void PhyphoxBleExperiment::Graph::Subgraph::setLinewidth ( float  )

◆ setStyle()

void PhyphoxBleExperiment::Graph::Subgraph::setStyle ( const char *  style)

Member Data Documentation

◆ data

phyphox::SubgraphData PhyphoxBleExperiment::Graph::Subgraph::data

◆ error

phyphox::ErrorRecord PhyphoxBleExperiment::Graph::Subgraph::error

◆ next

Subgraph* PhyphoxBleExperiment::Graph::Subgraph::next = nullptr

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