I'm trying to build the UI from the bean. For that i can't use the <c:chart> tag as it offers only limited customization.
In the code i'm getting the <h
anelGrid id="barGraph") and trying to add the chart as a child to it.
UIForm form = (UIForm) context.getViewRoot().findComponent("topTenForm");
UIPanel dataPanel = (UIPanel) form.findComponent("barGraph");
My doubt is here
outputComponent = new UIOutput();
Can i add the JfreeChart to panelGrid like this?
I have sample codes using awt. But none from JSF. I searched for long time but didn't get some useful stuffs.
I have noted one thread in this forum but that's with jsp. https://coderanch.com/t/414194/JSP/java/display-Buffered-Image-object-jsp
Is there anyway to use that in JSF?