SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmmvis::plot::SeriesStyle Struct Reference

Aggregated rendering parameters for one chart series. More...

#include <seriesstyle.h>

Collaboration diagram for openswmmvis::plot::SeriesStyle:

Public Member Functions

QJsonObject toJson () const
 
QColor effectiveMarkerFillColor () const
 
QColor effectiveMarkerBorderColor () const
 
QColor effectivePointLabelColor () const
 
QColor effectiveAreaFillColor () const
 

Static Public Member Functions

static SeriesStyle fromJson (const QJsonObject &obj)
 

Public Attributes

QColor color = QColor(31, 119, 180)
 
qreal opacity = 1.0
 
QString legendName
 
bool showLine = true
 
qreal lineWidth = 1.6
 
Qt::PenStyle dash = Qt::SolidLine
 
Qt::PenCapStyle capStyle = Qt::FlatCap
 
Qt::PenJoinStyle joinStyle = Qt::BevelJoin
 
bool showMarkers = false
 
MarkerShape shape = MarkerShape::Circle
 
qreal markerSize = 5.0
 
QColor markerFillColor
 
QColor markerBorderColor
 
qreal markerBorderWidth = 0.0
 
bool showPointLabels = false
 
QFont pointLabelFont
 
QColor pointLabelColor
 
int pointLabelPrecision = 2
 
NumberFormatMode pointLabelFormatMode = NumberFormatMode::Decimals
 
QString pointLabelFormat
 
bool showAreaFill = false
 
QColor areaFillColor
 

Detailed Description

Aggregated rendering parameters for one chart series.

Member Function Documentation

◆ effectiveAreaFillColor()

QColor openswmmvis::plot::SeriesStyle::effectiveAreaFillColor ( ) const
Here is the caller graph for this function:

◆ effectiveMarkerBorderColor()

QColor openswmmvis::plot::SeriesStyle::effectiveMarkerBorderColor ( ) const
Here is the caller graph for this function:

◆ effectiveMarkerFillColor()

QColor openswmmvis::plot::SeriesStyle::effectiveMarkerFillColor ( ) const
Here is the caller graph for this function:

◆ effectivePointLabelColor()

QColor openswmmvis::plot::SeriesStyle::effectivePointLabelColor ( ) const
Here is the caller graph for this function:

◆ fromJson()

SeriesStyle openswmmvis::plot::SeriesStyle::fromJson ( const QJsonObject &  obj)
static
Here is the call graph for this function:

◆ toJson()

QJsonObject openswmmvis::plot::SeriesStyle::toJson ( ) const
Here is the call graph for this function:

Member Data Documentation

◆ areaFillColor

QColor openswmmvis::plot::SeriesStyle::areaFillColor

◆ capStyle

Qt::PenCapStyle openswmmvis::plot::SeriesStyle::capStyle = Qt::FlatCap

◆ color

QColor openswmmvis::plot::SeriesStyle::color = QColor(31, 119, 180)

◆ dash

Qt::PenStyle openswmmvis::plot::SeriesStyle::dash = Qt::SolidLine

◆ joinStyle

Qt::PenJoinStyle openswmmvis::plot::SeriesStyle::joinStyle = Qt::BevelJoin

◆ legendName

QString openswmmvis::plot::SeriesStyle::legendName

◆ lineWidth

qreal openswmmvis::plot::SeriesStyle::lineWidth = 1.6

◆ markerBorderColor

QColor openswmmvis::plot::SeriesStyle::markerBorderColor

◆ markerBorderWidth

qreal openswmmvis::plot::SeriesStyle::markerBorderWidth = 0.0

◆ markerFillColor

QColor openswmmvis::plot::SeriesStyle::markerFillColor

◆ markerSize

qreal openswmmvis::plot::SeriesStyle::markerSize = 5.0

◆ opacity

qreal openswmmvis::plot::SeriesStyle::opacity = 1.0

◆ pointLabelColor

QColor openswmmvis::plot::SeriesStyle::pointLabelColor

◆ pointLabelFont

QFont openswmmvis::plot::SeriesStyle::pointLabelFont

◆ pointLabelFormat

QString openswmmvis::plot::SeriesStyle::pointLabelFormat

◆ pointLabelFormatMode

NumberFormatMode openswmmvis::plot::SeriesStyle::pointLabelFormatMode = NumberFormatMode::Decimals

◆ pointLabelPrecision

int openswmmvis::plot::SeriesStyle::pointLabelPrecision = 2

◆ shape

MarkerShape openswmmvis::plot::SeriesStyle::shape = MarkerShape::Circle

◆ showAreaFill

bool openswmmvis::plot::SeriesStyle::showAreaFill = false

◆ showLine

bool openswmmvis::plot::SeriesStyle::showLine = true

◆ showMarkers

bool openswmmvis::plot::SeriesStyle::showMarkers = false

◆ showPointLabels

bool openswmmvis::plot::SeriesStyle::showPointLabels = false

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