hi i am new in infragistics
please any one guide me
i am working with asp.net c# and my question is
How to create igDataChart using asp.net c# not using asp.net mvc
please help me.
Thanks
nirav
Hello Nirav, Thank you for posting in our forums!
When working with the Ignite UI controls it is important to note that they are designed as pure client side controls using jQuery. These controls are not designed with any server side functionality. To use these controls you will need to either work with jQuery syntax or you will need to use the MVC wrappers, which at runtime will create the JavaScript code needed. For more information about using the igDataChart please see the following documentation: http://www.igniteui.com/help/igdatachart-landing-page
Hi Divya
thanks for suggest me
now i have work with jQuery
i am put all required javascript and css file in my page and write below code
<script type="text/javascript"> $(function () { debugger; $.ig.loader(function () { $("#chart").igDataChart({ dataSource: '<%= _GetOrderSummaryDetail()%>', axes: [{ type: "categoryX" name: "xAxis", }, { type: "numericY" name: "priceAxis" }], series: [{ type: "financial", name: "finSeries", title: "Price Movements" }] }); }); });</script>
but if page execute then it will give javascript error like
"Microsoft JScript runtime error: Object doesn't support property or method 'igDataChart'"
and
"Microsoft JScript runtime error: Unable to get value of the property 'loader': object is null or undefined"
i am using IE 8 browse and Version=10.3.20103.2331 infragistics version
please help me how i resolved this error
Thanks in advance
Nirav
Hello Nirav,
Would you be able to provide me with any additional information about how I can reproduce this issue? How have you implemented igdataChart ? The sample provided is it working on your machine? Did you include all the dlls. if this sample project is not an accurate demonstration of what you're trying to do, please feel free to modify it and send it back. Try to Clear the cache of your browser.
Thanks for suggest me
i inform you that dataSource: '<%= _GetOrderSummaryDetail()%>' is the method that contain data dynamically from database in code behind
and i have try again using set all properties that you have mention in your example but it also give me the same error.
I followed the sample you provided, changed the datasource and added some more properties in the igDataChartas as it was missing in the sample and not getting any “"Microsoft JScript runtime error:”
I have attached the modified sample project I tested. Please test this project on your PC; whether or not it works correctly may help indicate the nature of this problem. Seen the Error indicates either a problem possibly specific to your environment or missing dll(s).
Or, if this sample project is not an accurate demonstration of what you're trying to do, please feel free to modify it and send it back.
Please let me know if I can provide any further assistance.