Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
data as a report prop for rendering a report
// prepare this inside the container component
report: {
id: 1,
allOtherKeys: "values", // keep all the required report(widget) data at first level
charts: [
{
id: 11,
settings: {
},
data: { // holds the api result to draw the chart
}
},
{
id: 12,
settings: {
},
data: { // holds the api result to draw the chart
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.