Series examples
Now we will see some of the basic charts in the Ext JS framework. Remember that we cannot cover all of them here, but those that we won't see are quite similar in configuration and behavior.
Bar charts (building our first chart)
Bar charts are easy to understand. That's why they are commonly used to display categorical data. Let's create our chart using the basic way (not inside the application). So, let's create our HTML file, name it chart_01.html
, and add the following code:
<!doctype html> <html> <head> <meta charset="utf-8"> <title>Chart - 01 - basics</title> <link rel="stylesheet" type="text/css" href="../ext-5.1.1/build/packages/ext-theme-neptune/build/resources/ext-theme-neptune-all.css"> <link rel="stylesheet" type="text/css" href="../ext-5.1.1/packages/sencha-charts/build/neptune/resources/sencha-charts-all.css"> <...