pub fn view(id: impl Into<ElementId>, chart: Chart) -> ChartView
chart as an element, full width and [HEIGHT] tall unless styled. id keeps its layout and hover across frames, so it must be stable.
chart
HEIGHT
id