Hi,
iam using infragistics chart in my application. i caluculate some amount and display for some years in chart.
iam not get how to give years in x axis and amount in y axis. But its displaying the chart with out values in x and y and iam getting node value also.
i saw your examples in http://www.componentsforjsf.com/IGJavaWebSite/faces/home.jsp
in that examples you are displaying population. In x axis years and y axis population value. where you defined these x and y values like in x axis 1990,1991,1992
and in y axis 10,140,1000
and as well as in infragistics samples(latest) eventhough i cant get how to use.
please solve my problem
Thanks in advance
Ashok
Hi Ashok:
I've updated the source code (the code in the tabs) for the Line Chart example on componentsforjsf.com. You can now see how to set up the tick marks for the x axis and so on.
Hope this is helpful!Jim
Hello Ashok, To set x and y axis inside <ig:chart>, please apply <ig:axis type="x"> and <ig:axis type="y">. Below is the link to one of our online WebChart sample.
http://java.samples.infragistics.com/NetAdvantage/JSF/2009.1/featurebrowser/webchart/ColumnGroup2d/index.faces
Thank you!
Hi everyone:
I'll update this sample as soon as I get a chance.
Thanks,Jim
it looks like the markup in some of those samples does not correspond to the actual chart being displayed. i'm looking into this right now with our JSF product manager.
you can see the most current samples at infragistics.com: http://java.samples.infragistics.com/NetAdvantage/JSF/2009.1/featurebrowser/fbhome.jsp
specifically the jsp code on this page should help you set the tickmarks on the x-axis:
http://java.samples.infragistics.com/NetAdvantage/JSF/2009.1/featurebrowser/webchart/LineOverlay2d/index.faces