Steppable 0.0.1
A CAS project written from scratch in C++
Loading...
Searching...
No Matches
steppable::graphing::BarGraphOptions Struct Reference

#include <conPlotTypes.hpp>

Inheritance diagram for steppable::graphing::BarGraphOptions:
[legend]
Collaboration diagram for steppable::graphing::BarGraphOptions:
[legend]

Public Member Functions

template<typename... Params>
 BarGraphOptions (Params... params)
 Initializes a new GraphOptions instance.

Public Attributes

long long yTickSpacing = 5
 Spacing between each y axis tick.
long long xTickSpacing = 2
 Width of a single bar.
Number xMin = 0
Number xMax = 100
Public Attributes inherited from steppable::graphing::GraphOptionsBase
std::string title = "Graph"
 Title of the graph.
std::string xAxisTitle = "X Axis Title"
 Title of the x axis.
std::string yAxisTitle = "Y Axis Title"
 Title of the y axis.
long long width = 30
 Width of the graph.
long long height = 20
 Height of the graph.
long long xTickSpacing = 10
 Spacing between each x axis tick.
long long yTickSpacing = 5
 Spacing between each y axis tick.
Number xMin = -1
 Minimum x value.
Number xMax = 1
 Maximum x value.

Constructor & Destructor Documentation

◆ BarGraphOptions()

template<typename... Params>
steppable::graphing::BarGraphOptions::BarGraphOptions ( Params... params)
inline

Initializes a new GraphOptions instance.

Parameters
paramsThe parameters to be passed to initialize the instance.
Here is the call graph for this function:

Member Data Documentation

◆ xMax

Number steppable::graphing::BarGraphOptions::xMax = 100

◆ xMin

Number steppable::graphing::BarGraphOptions::xMin = 0

◆ xTickSpacing

long long steppable::graphing::BarGraphOptions::xTickSpacing = 2

Width of a single bar.

◆ yTickSpacing

long long steppable::graphing::BarGraphOptions::yTickSpacing = 5

Spacing between each y axis tick.


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