Current filter:
                                You should refresh the page.
                                Support Center
                                  • Hi,

                                    I am not able to run the JS code which calls the 'dxPieChart ' function for the chart container. I am getting the following error:

                                    0x800a01b6 - Microsoft JScript runtime error: Object doesn't support property or method 'dxPieChart'

                                    The JS code I used is pasted below (its from the DXTREME Visualization Gallery). Please let me know if I am missing something here?

                                    var dataSource = [
                                    { country: 'Russia', area: 12 },
                                    { country: 'Canada', area: 7 },
                                    { country: 'USA', area: 7 },
                                    { country: 'China', area: 7 },
                                    { country: 'Brazil', area: 6 },
                                    { country: 'Australia', area: 5 },
                                    { country: 'India', area: 2 },
                                    { country: 'Others', area: 55 }

                                    var chart = $("#chartContainer16").dxPieChart({
                                    width: 500
                                    dataSource: dataSource,
                                    series: [
                                    argumentField: 'country',
                                    valueField: 'area',
                                    visible: true,
                                    width: 1
                                    title: 'Area of Countries'


                                1 Solution

                                Creation Date Rating Importance Sort by

                                Thank you for your question. It seems that you have incorrectly included DXTREME JS scripts in app.html.

                                 Please ensure that the sequence is:

                                <script type="text/javascript" src="js/jquery-1.7.2.min.js"></script> <script type="text/javascript" src="js/knockout-2.1.0.js"></script> <script type="text/javascript" src="js/globalize.js"></script> <script type="text/javascript" src="js/dxtreme.core-12.2.js"></script> <script type="text/javascript" src="js/dxtreme.framework-12.2.js"></script> <script type="text/javascript" src="js/dxtreme.widgets-12.2.js"></script> <script type="text/javascript" src="js/dxtreme.viz-12.2.js"></script> <script type="text/javascript" src="app.config.js"></script> <script type="text/javascript" src="app.js"></script> <script type="text/javascript" src="data/db.js"></script>

                                Please let us know if you need any further assistance.

                                Show all comments

                                If you need additional product information, write to us at or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2017 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners