Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 7.03 KB

04-chart.md

File metadata and controls

36 lines (29 loc) · 7.03 KB

Stars Badge Forks Badge Pull Requests Badge Issues Badge GitHub contributors Visitors

Don't forget to hit the ⭐ if you like this repo.

PHP: Chart.JS and Google Charts

Lesson Topic Description Result
13a Chart.JS: Bar Chart Bar charts are created by setting type to bar (to flip the direction of the bars, set type to horizontalBar). The colors of the bars are set by passing one color to backgroundColor (all bars will have the same color), or an array of colors.
13b Chart.JS: Line Chart Line charts are created by setting type to line. By default, lines come with a dark transparent fill, covering the area between the line and x-axis.
13c Chart.JS: Mixed Chart You can mix several charts and overlay them on top of each other. This is done by setting type to bar (not to e.g. mixed or line—it has to be bar), and then setting the bar type for every dataset object in your datasets array.
13d Chart.JS: Radar Chart Radar charts, also known as web charts, spider charts, star charts, are created by setting type to radar. Radar charts typically require more vertical space than other graphs to be legible, so you might have to tweak the graph proportions.
13e Chart.JS: Doughnut Chart Doughnut charts are created by setting type to doughnut. They are almost identical to pie charts and will work with the same configurations.
14a Google Charts: Pie chart A pie chart that is rendered within the browser using SVG or VML. Displays tooltips when hovering over slices.
14b Google Charts: Column chart A column chart is a vertical bar chart rendered in the browser using SVG or VML, whichever is appropriate for the user's browser. Like all Google charts, column charts display tooltips when the user hovers over the data. For a horizontal version of this chart, see the bar chart.
14c Google Charts: Combo chart A chart that lets you render each series as a different marker type from the following list: line, area, bars, candlesticks, and stepped area. To assign a default marker type for a series, specify the seriesType property. Use the series property to specify properties of each series individually.
14d Google Charts: Bubble chart A bubble chart is used to visualize a data set with two to four dimensions. The first two dimensions are visualized as coordinates, the third as color, and the fourth as size.
14e Google Charts: Scatter chart Scatter charts plot points on a graph. When the user hovers over the points, tooltips are displayed with more information.
14f Google Charts: Organization chart Org charts are diagrams of a hierarchy of nodes, commonly used to portray superior/subordinate relationships in an organization. A family tree is a type of org chart.
14g Google Charts: Word tree A word tree depicts multiple parallel sequences of words. It could be used to show which words most often follow or precede a target word (e.g., "Cats are...") or to show a hierarchy of terms (e.g., a decision tree).
14g Google Charts: Dynamic pie chart If you have a requirement to show the statistics of data with a pie chart, there is an easy way to create the pie chart in the web application. In this tutorial, we will show you how to create a dynamic pie chart with PHP and MySQL. DB: demo1, Tables: programming_languages, File: programming_languages.sql
14h Google Charts: Dynamic pie, bar and column chart The chart data is dynamic from the database. The database results are used to calculate the statistics to be seen in the graphical view. In the database, it has a table for storing people data with their country name. By grouping people by the country name, the chart will show the statistics about the population of each country. DB: demo1, Tables: tbl_people_country, File: tbl_people_country.sql

Contribution 🛠️

Please create an Issue for any improvements, suggestions or errors in the content.

You can also contact me using Linkedin for any other queries or feedback.

Visitors