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

#include <phyphoxBleExperiment.h>

Inheritance diagram for PhyphoxBleExperiment::Graph:

Classes

class  Subgraph
 One additional curve in a graph. More...
 

Public Member Functions

 Graph ()
 
 Graph (const char *label)
 
void setUnitX (const char *)
 
void setUnitY (const char *)
 
void setLabelX (const char *)
 
void setLabelY (const char *)
 
void setXPrecision (int)
 
void setYPrecision (int)
 
void setTimeOnX (bool)
 
void setTimeOnY (bool)
 
void setSystemTime (bool)
 
void setChannel (int x, int y)
 the first curve
 
void addSubgraph (Subgraph &)
 
void addChannel (int x, int y, const char *color)
 1.x shortcut: add a curve in one call
 
void setStyle (const char *)
 first curve
 
void setColor (const char *)
 first curve
 
void setLinewidth (float)
 first curve
 
void setLineWidth (float w)
 
void setMinX (float, const char *layout)
 
void setMaxX (float, const char *layout)
 
void setMinY (float, const char *layout)
 
void setMaxY (float, const char *layout)
 
void setLinearTime (bool)
 
void setLogX (bool)
 
void setLogY (bool)
 
void setFollowX (bool)
 
void setPartialUpdate (bool)
 
void setHideTimeMarkers (bool)
 
void setSuppressScientificNotation (bool)
 
void setShowColorScale (bool)
 
void setAspectRatio (float)
 
void setUnitYperX (const char *)
 
- Public Member Functions inherited from PhyphoxBleExperiment::Element
 Element (const Element &)=delete
 
Element & operator= (const Element &)=delete
 
virtual ~Element ()
 
virtual void setLabel (const char *)
 
void setXMLAttribute (const char *)
 Raw attribute text appended verbatim to the element's start tag, e.g.
 
void setVisibility (int inputChannel)
 Show the element only while the last value in that input channel is > 0 (a toggle's channel, typically).
 
phyphox::ElementData & data ()
 
const phyphox::ElementData & data () const
 
virtual bool isExportData () const
 

Public Attributes

Subgraph first
 the curve setChannel/setStyle/setColor configure
 
Subgraph * subgraphs = nullptr
 added curves, in order
 
Subgraph * lastSubgraph = nullptr
 
- Public Attributes inherited from PhyphoxBleExperiment::Element
Element * next = nullptr
 intrusive list link, set by View::addElement()
 
View * owner = nullptr
 the view whose list holds this object (set by addElement)
 
const Element * aliasOf = nullptr
 An element added to a second view is represented there by a small heap-allocated alias that points back at the original — the store reads the original's data.
 

Additional Inherited Members

- Protected Member Functions inherited from PhyphoxBleExperiment::Element
 Element (phyphox::ElementType t)
 
- Protected Attributes inherited from PhyphoxBleExperiment::Element
phyphox::ElementData data_
 

Constructor & Destructor Documentation

◆ Graph() [1/2]

PhyphoxBleExperiment::Graph::Graph ( )
inline

◆ Graph() [2/2]

PhyphoxBleExperiment::Graph::Graph ( const char *  label)
inlineexplicit

Member Function Documentation

◆ addChannel()

void PhyphoxBleExperiment::Graph::addChannel ( int  x,
int  y,
const char *  color 
)

1.x shortcut: add a curve in one call

◆ addSubgraph()

void PhyphoxBleExperiment::Graph::addSubgraph ( Subgraph &  )

◆ setAspectRatio()

void PhyphoxBleExperiment::Graph::setAspectRatio ( float  )

◆ setChannel()

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

the first curve

◆ setColor()

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

first curve

◆ setFollowX()

void PhyphoxBleExperiment::Graph::setFollowX ( bool  )

◆ setHideTimeMarkers()

void PhyphoxBleExperiment::Graph::setHideTimeMarkers ( bool  )

◆ setLabelX()

void PhyphoxBleExperiment::Graph::setLabelX ( const char *  )

◆ setLabelY()

void PhyphoxBleExperiment::Graph::setLabelY ( const char *  )

◆ setLinearTime()

void PhyphoxBleExperiment::Graph::setLinearTime ( bool  )

◆ setLineWidth()

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

◆ setLinewidth()

void PhyphoxBleExperiment::Graph::setLinewidth ( float  )

first curve

◆ setLogX()

void PhyphoxBleExperiment::Graph::setLogX ( bool  )

◆ setLogY()

void PhyphoxBleExperiment::Graph::setLogY ( bool  )

◆ setMaxX()

void PhyphoxBleExperiment::Graph::setMaxX ( float  ,
const char *  layout 
)

◆ setMaxY()

void PhyphoxBleExperiment::Graph::setMaxY ( float  ,
const char *  layout 
)

◆ setMinX()

void PhyphoxBleExperiment::Graph::setMinX ( float  ,
const char *  layout 
)

◆ setMinY()

void PhyphoxBleExperiment::Graph::setMinY ( float  ,
const char *  layout 
)

◆ setPartialUpdate()

void PhyphoxBleExperiment::Graph::setPartialUpdate ( bool  )

◆ setShowColorScale()

void PhyphoxBleExperiment::Graph::setShowColorScale ( bool  )

◆ setStyle()

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

first curve

◆ setSuppressScientificNotation()

void PhyphoxBleExperiment::Graph::setSuppressScientificNotation ( bool  )

◆ setSystemTime()

void PhyphoxBleExperiment::Graph::setSystemTime ( bool  )

◆ setTimeOnX()

void PhyphoxBleExperiment::Graph::setTimeOnX ( bool  )

◆ setTimeOnY()

void PhyphoxBleExperiment::Graph::setTimeOnY ( bool  )

◆ setUnitX()

void PhyphoxBleExperiment::Graph::setUnitX ( const char *  )

◆ setUnitY()

void PhyphoxBleExperiment::Graph::setUnitY ( const char *  )

◆ setUnitYperX()

void PhyphoxBleExperiment::Graph::setUnitYperX ( const char *  )

◆ setXPrecision()

void PhyphoxBleExperiment::Graph::setXPrecision ( int  )

◆ setYPrecision()

void PhyphoxBleExperiment::Graph::setYPrecision ( int  )

Member Data Documentation

◆ first

Subgraph PhyphoxBleExperiment::Graph::first

the curve setChannel/setStyle/setColor configure

◆ lastSubgraph

Subgraph* PhyphoxBleExperiment::Graph::lastSubgraph = nullptr

◆ subgraphs

Subgraph* PhyphoxBleExperiment::Graph::subgraphs = nullptr

added curves, in order


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