Search found 3 matches
- Mon Apr 09, 2007 8:43 am
- Forum: JFreeChart
- Topic: JSF Chart Creator Component Based on JFreeChart
- Replies: 96
- Views: 225584
passing parameters
I would like to ask how to pass a parameter to the JFreeChart? I have this code: <c:chart datasource="#{Page2.dataset}" id="chart" type="xyline"/> This component is in <h:dataTable> component. I would need to pass a parameter to the chart on every dataTable row. I tried this, but it does not work: <...
- Mon Apr 09, 2007 8:39 am
- Forum: JFreeChart
- Topic: JSF Chart Creator Component Based on JFreeChart
- Replies: 96
- Views: 225584
type: xyline
I figered it out: The dataset must be of type XYDataSet (interface), e.g.: DefaultXYDataset.
- Sat Apr 07, 2007 10:36 am
- Forum: JFreeChart
- Topic: JSF Chart Creator Component Based on JFreeChart
- Replies: 96
- Views: 225584
xy chart help
Hello, I would like to use this wonderful component in my jsf project. But I am not able to get it work - the xyline type. I have a working page with jFreeChart. But with this component I do not how to set the datasource. I tried to use objects of types: XYSeries and XYSeries[]. It does not work. Th...