evidence
evidence copied to clipboard
Observable Plot Plugin Component
- Define a data set coming from USQL, and provide a chart config as an object, get an observable plot that is reactive to data updates.
- Docs
- Example usage:
<OBPlot
data = {my_query}
config={(Plot) => ({
color: {legend: true},
marks: [
Plot.ruleY([0]),
Plot.lineY(stocks, {x: "Date", y: "Close", stroke: "Symbol"})
]
})}/>