Loading
Menu
Charts
Charts
0
Cart
Total
$17.50
continue shoping
Dress
$17.50
Product
Dress
$17.50
Product
Dress
$17.50
Product
Dress
$17.50
Product
Dress
$17.50
Product
Dress
$17.50
Product
Dress
$17.50
Product
Dress
$17.50
Product
Dress
$17.50
Product

Howdy, I'm a dialog box

Line
  • setting 1
  • setting 2
  • setting 3
  • setting 4
  • setting 5

The line chart requires an array of labels for each of the data points. This is shown on the X axis. The data for line charts is broken up into an array of datasets. Each dataset has a colour for the fill, a colour for the line and colours for the points and strokes of the points. These colours are strings just like CSS. You can use RGBA, RGB, HEX or HSL notation.

Bar
  • setting 1
  • setting 2
  • setting 3
  • setting 4
  • setting 5

The bar chart has the a very similar data structure to the line chart, and has an array of datasets, each with colours and an array of data. Again, colours are in CSS format. We have an array of labels too for display. In the example, we are showing the same data as the previous line chart example.

Radar
  • setting 1
  • setting 2
  • setting 3
  • setting 4
  • setting 5

For a radar chart, to provide context of what each point means, we include an array of strings that show around each point in the chart. For the radar chart data, we have an array of datasets. Each of these is an object, with a fill colour, a stroke colour, a colour for the fill of each point, and a colour for the stroke of each point. We also have an array of data values.

Polar area
  • setting 1
  • setting 2
  • setting 3
  • setting 4
  • setting 5

Polar area charts are similar to pie charts, but each segment has the same angle - the radius of the segment differs depending on the value.This type of chart is often useful when we want to show a comparison data similar to a pie chart, but also show a scale of values for context.

Pie
  • setting 1
  • setting 2
  • setting 3
  • setting 4
  • setting 5

Pie charts are probably the most commonly used chart there are. They are divided into segments, the arc of each segment shows the proportional value of each piece of data.

Donut
  • setting 1
  • setting 2
  • setting 3
  • setting 4
  • setting 5

Doughnut charts are probably the most commonly used chart there are. They are divided into segments, the arc of each segment shows the proportional value of each piece of data.

Navigation