insightdock::charts::detail

Types

Name Description
FiniteRange
LegendItem
LegendLayout
PointRun A maximal sequence of drawable points (pixel space) plus their data indices.
ScaledTarget
SvgTarget DrawTarget that records native SVG elements (<rect>, <path>, <text>…).

Functions

Name Description
build_chart_svg Render chart as a native-vector SVG document.
build_pie_svg
catmull_rom_expand Expands a polyline's control points into a smooth Catmull-Rom curve.
draw_marker Draws a single point marker of the given shape, centered at (x, y).
draw_reference_lines Draws CartesianOptions::reference_bands then CartesianOptions::reference_lines.
draw_text_lines Draws possibly multi-line text, aligning each line independently.
expand_steps Expands a polyline into a staircase according to mode (pixel space).
fill_bar Fills one bar rectangle, optionally rounded and/or bordered.
format_axis_tick Formats an axis tick using its spacing to select decimal precision for Raw values.
format_label_value Formats a data-label value.
format_tick_value Formats a numeric value per TickFormat, honoring a custom formatter override.
layout_legend
line_count Number of ' '-separated lines in text (at least 1).
make_runs Splits a series into drawable runs according to a GapPolicy.
value_or_nan Series value at i, or NaN when the series is shorter than the category list.
wrap_text Wrap words and long tokens using a caller-provided width measurement.

Created with MrDocs