Hi Paul,
thanks for your reply. As i wrote we don't want to use the wicked-charts
integration.
Reinventing the wheel is not our goal.
What i want to know was how i can render the script with the json
content inside the div.
So far i've found a chart example in Igor's excelent "Cookbook". But the
problem of add a script
in a div is still open.
Thanks
Per
Am 06.07.2013 09:44, schrieb Paul Borș:
Your question is better addressed at http://wicked-charts.2319560.n4.nabble.com/
The mailing list for https://code.google.com/p/wicked-charts/
Tom H. did a super good job on integrating High Charts with Wicket so I'm not
sure why you're reinventing the wheel.
Have a great day,
Paul Bors
On Jul 5, 2013, at 3:04 PM, Per Newgro <per.new...@gmx.ch> wrote:
Hi,
i would like to include highcharts. I know there is a wicket module but we want
to use the script.
So my requirement is it to render the div below with the json content in it.
Do i have to use a label and render body only? Or is there another way. I
couldn't find any example
for this.
Thanks for your Support
Per
<code>
<div class="row main-content">
<script type="application/json" id="chart-data"
data-chart-generator="SingleBodyShopChartGenerator">
{
"title": "",
"subtitle": "",
"yTitle": "Benchmark",
"columns": [
{
"label": "Total",
"colorClass": "chart-platin",
"value": 92
},
{
"label": "Cat 1",
"colorClass": "chart-platin",
"value": 96
},
{
"label": "Cat 2",
"colorClass": "chart-platin",
"value": 90
},
{
"label": "Cat 3",
"colorClass": "chart-platin",
"value": 93
},
{
"label": "Cat 4",
"colorClass": "chart-platin",
"value": 95
},
{
"label": "Cat 5",
"colorClass": "chart-gold",
"value": 88
},
{
"label": "Cat 6",
"colorClass": "chart-platin",
"value": 93
}
]
}
</script>
<div wicket:id="chart" style="display: none"></div>
</div>
</code>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org