Skip to main content

view

Function view 

Source
pub fn view(id: impl Into<ElementId>, chart: Chart) -> ChartView
Expand description

chart as an element, full width and [HEIGHT] tall unless styled. id keeps its layout and hover across frames, so it must be stable.