izzi
SVG SUBSET C++ API
|
Functions | |
void | analyze_metadata_aggregate_chord (const area<> a, const string field="", const string match="", const string wfield="", const string wvalue="") |
Analyze metadata directory or subset of it, and generate summary output for all in directory. Iff field is non zero, then subset it to data files with field and match. | |
void | analyze_metadata_aggregate_chord (const area<> a, const strings &namedkeys, const string aggname, const string wfield="", const string wvalue="") |
Analyze metadata directory or subset of it, and generate summary output for all in directory. | |
uint | get_xoffset (const string &id, const uint xstart, const double hspace) |
Compute xoffset. | |
svg_element | h_chord_graph (const vumids &cumulative, const string aggname, const area<> a=svg::k::v1080p_h, const double yscale=0.7, const uint rwidth=10) |
svg_element | h_chord_graph_labels (const string aggname, const area<> a=svg::k::v1080p_h) |
Grid, titles, labels for h_chord_graph. | |
const double | hdenom (k::age_values.size()+1+1+1) |
void | render_metadata_aggregate_chord (const area<> a, const vumids &cumulative, const strings &namedkeyso, const string aggname) |
Analyze metadata directory or subset of it and generate summary output for all in directory. | |
const double | vlspace (10) |
Distance between label and top/bottom of line or text. | |
const double | vspace (60) |
Variables | |
const auto | asz = 12 |
const auto | lsz = 16 |
const auto | ssz = 10 |
void a60::metadata::analyze_metadata_aggregate_chord | ( | const area<> | a, |
const string | field = "", | ||
const string | match = "", | ||
const string | wfield = "", | ||
const string | wvalue = "" ) |
Analyze metadata directory or subset of it, and generate summary output for all in directory. Iff field is non zero, then subset it to data files with field and match.
Definition at line 441 of file a60-svg-graphs-chord.h.
void a60::metadata::analyze_metadata_aggregate_chord | ( | const area<> | a, |
const strings & | namedkeys, | ||
const string | aggname, | ||
const string | wfield = "", | ||
const string | wvalue = "" ) |
Analyze metadata directory or subset of it, and generate summary output for all in directory.
Definition at line 470 of file a60-svg-graphs-chord.h.
uint a60::metadata::get_xoffset | ( | const string & | id, |
const uint | xstart, | ||
const double | hspace ) |
Compute xoffset.
Definition at line 40 of file a60-svg-graphs-chord.h.
svg_element a60::metadata::h_chord_graph | ( | const vumids & | cumulative, |
const string | aggname, | ||
const area<> | a = svg::k::v1080p_h, | ||
const double | yscale = 0.7, | ||
const uint | rwidth = 10 ) |
A chord diagram, flattened into a linear horizontal form.
Rendering set/subset of metadata with "playing" compound grammars.
The Vertical (roughly, in thirds): top is actual age graph middle is ages plotted on horizontal axes bottom is playing age graph, inverted.
And then a connecting line will be drawn from the actual age to the playing age.
The Horizontal: Use linear scaling for age values, instead of bell shaped scaling for glyph. have 10 values (00-09, ..., 90-99) + 100+ + unknown +ambiguous -> 13.
Process cumulative age values 1-3.
Process cumulative age values 4.
Definition at line 117 of file a60-svg-graphs-chord.h.
svg_element a60::metadata::h_chord_graph_labels | ( | const string | aggname, |
const area<> | a = svg::k::v1080p_h ) |
Grid, titles, labels for h_chord_graph.
yscale | == how much to vertically scale the bar graph from center. |
Definition at line 47 of file a60-svg-graphs-chord.h.
const double a60::metadata::hdenom | ( | k::age_values.size()+1+1+ | 1 | ) |
void a60::metadata::render_metadata_aggregate_chord | ( | const area<> | a, |
const vumids & | cumulative, | ||
const strings & | namedkeyso, | ||
const string | aggname ) |
Analyze metadata directory or subset of it and generate summary output for all in directory.
Definition at line 395 of file a60-svg-graphs-chord.h.
const double a60::metadata::vlspace | ( | 10 | ) |
Distance between label and top/bottom of line or text.
const double a60::metadata::vspace | ( | 60 | ) |
const auto a60::metadata::asz = 12 |
Definition at line 35 of file a60-svg-graphs-chord.h.
const auto a60::metadata::lsz = 16 |
Definition at line 34 of file a60-svg-graphs-chord.h.
const auto a60::metadata::ssz = 10 |
Definition at line 36 of file a60-svg-graphs-chord.h.