line-chart
A line chart on a UI stage: a line through its `points` over a soft area fill, with a dashed grid, L-shaped axes and an optional title; its `chart-draw` channel draws it on left to right.
line-chart(h=1 w=1 title_left=1)
Attributes
hnumberChart height in stage units (default 430).66×wnumberChart width in stage units (default 520); the plot box scales with it.66×title_leftnumbertextBold title at the top left; without it no title is drawn.45×title_righttextA second title run after `title_left`, in its own colour.44×colorcolour #rrggbbOne colour for the line, the area and the left title together.31×area-colorcolour #rrggbbColour of the fill under the line.25×area-opacitynumberOpacity of that fill at the top, fading to 0 at the axis (default 0.32).25×grid-colorcolour #rrggbbColour of the dashed grid lines; `none` hides them.25×line-colorcolour #rrggbbSolid colour of the line; a `gradient` child, when there is one, wins.25×axis-colorcolour #rrggbbColour of the axes; `none` hides them.22×xnumber20×ynumber20×axis_colorcolour #rrggbbAlias of `axis-color`.19×grid_colorcolour #rrggbbAlias of `grid-color`.19×marginfour numbers15×area_colorcolour #rrggbbAlias of `area-color`.14×area_opacitynumberAlias of `area-opacity`.14×title-left-colorcolour #rrggbbColour of `title_left`.6×title-right-colorcolour #rrggbbColour of `title_right`.6×title_right_colorcolour #rrggbbAlias of `title-right-color`.4×