izzi
SVG SUBSET C++ API
Loading...
Searching...
No Matches
svg::graph_rstate Struct Reference

Per-graph constants, metadata, configuration, text. More...

#include <a60-svg-graphs-line.h>

+ Inheritance diagram for svg::graph_rstate:

Public Types

using area_type = area<space_type>
 

Public Attributes

string title
 Key data: title, area, mode.
 
area_type graph_area
 graph title
 
graph_mode mode
 graph area
 
string xlabel
 Labels, tic units.
 
string ylabel
 
string xticu
 
string yticu
 
style lstyle
 Line/Outline/Markers/Tooltip styles.
 
stroke_style sstyle
 line style
 
area_type tooltip_area
 marker stroke style, if any.
 
string tooltip_id
 chart_line_style_3 tooltip size
 
string tooltip_images
 chart_line_style_3 toolip id prefix
 
- Public Attributes inherited from svg::render_state_base
select visible_mode
 

Static Public Attributes

static constexpr uint xmargin = 100
 chart_line_style_n to use
 
static constexpr uint ymargin = 100
 
static constexpr uint xticdigits = 1
 
static constexpr uint yticdigits = 10
 
static constexpr uint ttitlesz = 16
 Type sizes.
 
static constexpr uint th1sz = 12
 
static constexpr uint tpsz = 10
 
static constexpr uint tticsz = 7
 

Additional Inherited Members

- Public Member Functions inherited from svg::render_state_base
bool is_visible (const select v) const
 
 render_state_base (const select m=select::none)
 

Detailed Description

Per-graph constants, metadata, configuration, text.

Line Graphs / Line Charts.

Some Example: https://www.highcharts.com/demo/highcharts/accessible-line

Outline:

input has 2 columns: x, y

  • how many x, what is range, what is delta
  • how many y, what is range, what is delta

plot as grid/matrix system given above.

line: points, linestyle

x axis: title, tick mark spacing, tick mark style y axis: title, tick mark spacing, tick mark style

Definition at line 63 of file a60-svg-graphs-line.h.

Member Typedef Documentation

◆ area_type

Member Data Documentation

◆ title

string svg::graph_rstate::title

Key data: title, area, mode.

Definition at line 70 of file a60-svg-graphs-line.h.

◆ graph_area

area_type svg::graph_rstate::graph_area

graph title

Definition at line 71 of file a60-svg-graphs-line.h.

◆ mode

graph_mode svg::graph_rstate::mode

graph area

Definition at line 72 of file a60-svg-graphs-line.h.

◆ xmargin

uint svg::graph_rstate::xmargin = 100
staticconstexpr

chart_line_style_n to use

Margins/Spaces

Definition at line 75 of file a60-svg-graphs-line.h.

◆ ymargin

uint svg::graph_rstate::ymargin = 100
staticconstexpr

Definition at line 76 of file a60-svg-graphs-line.h.

◆ xticdigits

uint svg::graph_rstate::xticdigits = 1
staticconstexpr

Definition at line 77 of file a60-svg-graphs-line.h.

◆ yticdigits

uint svg::graph_rstate::yticdigits = 10
staticconstexpr

Definition at line 78 of file a60-svg-graphs-line.h.

◆ ttitlesz

uint svg::graph_rstate::ttitlesz = 16
staticconstexpr

Type sizes.

Definition at line 81 of file a60-svg-graphs-line.h.

◆ th1sz

uint svg::graph_rstate::th1sz = 12
staticconstexpr

Definition at line 82 of file a60-svg-graphs-line.h.

◆ tpsz

uint svg::graph_rstate::tpsz = 10
staticconstexpr

Definition at line 83 of file a60-svg-graphs-line.h.

◆ tticsz

uint svg::graph_rstate::tticsz = 7
staticconstexpr

Definition at line 84 of file a60-svg-graphs-line.h.

◆ xlabel

string svg::graph_rstate::xlabel

Labels, tic units.

Definition at line 87 of file a60-svg-graphs-line.h.

◆ ylabel

string svg::graph_rstate::ylabel

Definition at line 88 of file a60-svg-graphs-line.h.

◆ xticu

string svg::graph_rstate::xticu

Definition at line 89 of file a60-svg-graphs-line.h.

◆ yticu

string svg::graph_rstate::yticu

Definition at line 90 of file a60-svg-graphs-line.h.

◆ lstyle

style svg::graph_rstate::lstyle

Line/Outline/Markers/Tooltip styles.

Definition at line 93 of file a60-svg-graphs-line.h.

◆ sstyle

stroke_style svg::graph_rstate::sstyle

line style

Definition at line 94 of file a60-svg-graphs-line.h.

◆ tooltip_area

area_type svg::graph_rstate::tooltip_area

marker stroke style, if any.

Definition at line 95 of file a60-svg-graphs-line.h.

◆ tooltip_id

string svg::graph_rstate::tooltip_id

chart_line_style_3 tooltip size

Definition at line 96 of file a60-svg-graphs-line.h.

◆ tooltip_images

string svg::graph_rstate::tooltip_images

chart_line_style_3 toolip id prefix

Definition at line 97 of file a60-svg-graphs-line.h.


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