Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Ext JS_Fourth Edition
  • Table Of Contents Toc
Learning Ext JS_Fourth Edition

Learning Ext JS_Fourth Edition

By : Carlos A Mendez Segura, Villa, Gonzalez
4.3 (4)
close
close
Learning Ext JS_Fourth Edition

Learning Ext JS_Fourth Edition

4.3 (4)
By: Carlos A Mendez Segura, Villa, Gonzalez

Overview of this book

If you are a JavaScript developer who now wants to use the Ext JS framework, this is the book for you. This guide is useful to you whether you're new to Ext JS 5 or are a seasoned expert. Experience in HTML, CSS, and JavaScript is required in order to understand and get the most out of this book.
Table of Contents (17 chapters)
close
close
16
Index

Enhancing our application with charts


The examples covered so far were in traditional code (basic examples using the Ext JS framework directly), but what happens when we want to embed the charts in an MVC or MVVM app? Well! First of all, we need to add a reference to the proper code package that we want to use:

  1. So, let's begin by opening the app.json file (the application code used in chapters 10, 11, and 12) and locating this code:

    "requires": [
     ],
  2. For use in Ext JS charting, let's change it to this:

    "requires": [
    "sencha-charts"
     ],

    Or for legacy charts (Ext JS 4), change to:

    "requires": [
    "ext-charts"
     ],
  3. After this change, save the file. Now, let's use the Sencha CMD tool. Open the CMD tool and type this:

    sencha app build
  4. By using this command, we ensure that our code as well as Ext JS and the Chart package are included in our application. So, after the build ends, let's monitor the changes in our application using this line:

    sencha app watch

    This procedure will make sure that the desired package...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning Ext JS_Fourth Edition
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon