jsf - Primefaces Chart issue Uncaught TypeError: Cannot read property 'DateAxisRenderer' of undefined -


i'm using primefaces chart in application. i've placed chart inside p:panel , p:panel in separate form. , form viewed after navigation done. on clicking button in form, i'm rendering panel containing chart, below error

uncaught typeerror: cannot read property 'dateaxisrenderer' of undefined 

but if put below line in page containing form, chart rendered correctly

<h:outputscript name="charts/charts.js" library="primefaces" /> 

can tell goes wrong here ? or need put h:outputscript tag whereever needed ??

the same happens lengent position also. legent position no displayed correctly , facing css issues w.r.t p:chart. adding below line in main page, chart displayed per expectation

<h:outputstylesheet name="charts/charts.css" library="primefaces" /> 

kindly help.


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -