izzi
SVG SUBSET C++ API
Loading...
Searching...
No Matches
a60-svg-graphs-line.h File Reference
#include <set>
#include "izzi-json-basics.h"
#include "a60-svg-grid-matrix-systems.h"
#include "a60-svg-render-state.h"
#include "a60-svg-markers.h"
+ Include dependency graph for a60-svg-graphs-line.h:

Go to the source code of this file.

Classes

struct  svg::graph_rstate
 Per-graph constants, metadata, text. More...
 

Namespaces

namespace  svg
 

Functions

constexpr svg::ushort line_1_polyline (100)
 Polyline/line creation options. 1: use one line with css dasharray and markers mid, end points 2: use two lines one with css dasharray, one with path tooltips.
 
constexpr svg::ushort line_2_polyline_tooltips (200)
 
svg_element svg::make_line_graph (const svg::area<> aplate, const vrange &points, const graph_rstate &gstate, const point_2t xrange, const point_2t yrange)
 Returns a svg_element with the chart and labels Assume: vgrange x axis is monotonically increasing.
 
svg_element svg::make_line_graph_annotations (const area<> aplate, const vrange &points, const graph_rstate &gstate, const double xscalein=1, const double yscalein=1, const typography typo=k::apercu_typo)
 Axis Labels Axis X/Y Ticmarks X line increments.
 
string svg::make_line_graph_markers_tips (const vrange &points, const vrange &cpoints, const graph_rstate &gstate, const double radius)
 Return set of paths corresponding to marker shapes with tooltips.
 

Function Documentation

◆ line_1_polyline()

svg::ushort line_1_polyline ( 100 )
constexpr

Polyline/line creation options. 1: use one line with css dasharray and markers mid, end points 2: use two lines one with css dasharray, one with path tooltips.

◆ line_2_polyline_tooltips()

svg::ushort line_2_polyline_tooltips ( 200 )
constexpr