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
1465
IgDataChart using angular application does not understand what this is
posted

Hi

I am using this basic example given by the igniteui sample. Except my datasource is bound as follows charts.dataChart, whereby charts is my controller name, but the chart is never drawn. If I create the same chart in my controller and not in the html view it works fine. It is as if the html does not understand what the axis and series are so does not bind the data.  

<ig-data-chart id="datachart1" data-source="charts.dataChart" > <axis name="NameAxis" type="categoryX" title="Country" label="CountryName"> <axis name="PopulationAxis" type="numericY" minimumvalue="0" title="Millions of People"> <series name="2015Population" type="column" is-highlighting-enabled="true" is-transition-in-enabled="true" x-axis="NameAxis" y-axis="PopulationAxis" value-member-path="Pop2015">

I want to add it to the html in order to apply custom style classes.

Any help will be appreciated, it is my first time using this tool for charting.


kind regards,

Anne