Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
35
How to give user defined x axis and y axis values in jsf chart
posted

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

 

 

 

Parents
  • 1765
    posted

    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!

Reply Children
No Data