This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hi,
i just think about adding a piechart to an update Page in my backend. The pie chart should be filled with values of database fields from the same records.
I tried with a little partial. But this is not working. Cause the $model var is not rendered inside the partial.
Somebody experience with this?
Felix
You should use a report widget.
My suggestion is that you install the Backend plugin from Indikatur to see some nicely produced report widgets and you can copy the one that looks closest to what you want to achieve.
This is an old post but did you actually got this fixed? Can't find any example of a report widget being used on an update / index / ... page.
I have a same problem. I would like to add a chart to my plugin index page, but it doesn't appear. Does anyone have a solution?
Use the following code:
<div class="report-widget">
<div class="scoreboard">
<div data-control="toolbar">
Your chart code (http://octobercms.com/docs/ui/chart)
</div>
</div>
</div>
Last updated
gergo85 said:
Use the following code:
<div class="report-widget"> <div class="scoreboard"> <div data-control="toolbar"> Your chart code (http://octobercms.com/docs/ui/chart) </div> </div> </div>
Hi, may I get any hint for the code on how to retrieve the values of database fields from the same records?
1-9 of 9