SankeyChartComponentProps
Extends
DOMAttributes<HTMLDivElement>
Properties
className?
optionalclassName:string
Optional class name to set on the chart component's container
csvData?
optionalcsvData:string
Optional data to load into the chart (in CSV format)
interactive?
optionalinteractive:boolean
Whether the chart is interactive.
jsonData?
optionaljsonData:VisuallyJsDefaultJSON
Optional data to load into the chart (in VisuallyJs default json format)
options
options:
Omit<SankeyOptions,"data"|"url"|"model">
Options for the chart
pivot?
optionalpivot:string
Optional property to pivot the sankey chart on.
url?
optionalurl:string
Optional url from which to load data after the component has been mounted. If you provide this and also data, this will take precedence.