You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported by keith.priddy, Sep 12, 2013
I am having problems getting a chart to display when run through JSF. It is always set as a 0px X 0px element when I go through the debug. I have tried setting Height and Width manually through ChartOptions in the Java code or in the html (just creates an empty space). No errors with missing jars or dependencies, just no chart shown! This is the index.xhtml content:
<htmllang="en" xmlns="http://www.w3.org/1999/xhtml"
xmlns:wc="http://googlecode.com/wickedcharts"><scriptsrc="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script><scriptsrc="http://code.highcharts.com/stock/highstock.js"></script><scriptsrc="http://code.highcharts.com/stock/modules/exporting.js"></script><body><wc:chartid="chart1" options="#{QuickChart.options}" theme="#{QuickChart.theme}"/></body><divid="container" style="width:100%; height:400px;"></div>
... the Javascript chart function is here, but not relevant....
Reported by keith.priddy, Sep 12, 2013
I am having problems getting a chart to display when run through JSF. It is always set as a 0px X 0px element when I go through the debug. I have tried setting Height and Width manually through ChartOptions in the Java code or in the html (just creates an empty space). No errors with missing jars or dependencies, just no chart shown! This is the index.xhtml content:
The bean info:
the rest is copied from the "Getting Started" options page.
Running on Windows 7 with Chrome browser.
Deployed through Netbeans 7.3.1 with Glassfish and JSF 2.1.
Libraries:
Java EE Web 6
jackson-annotations-2.0.5
jackson-core-2.0.5
jackson-databind-2.0.5
wicked-charts-highcharts-1.5.0
wicked-charts-jsf21-1.5.0
The text was updated successfully, but these errors were encountered: