Vue Line Charts - Argon

The Line Charts components helps you to simply create a beautiful line chart for displaying the data.


Default Line Chart

Props Information

NameTypeDefaultDescription
idStringUsed to set the chart id.
titleStringUsed to set the chart title.
heightString300Used to set the chart height.
chart*objectUsed to set the chart data. It should be an object that contains the `labels` and `datasets` keys.
  1. The `labels` should be an array.
  2. The `datasets` should be an array with the following keys:
    1. `label` of type string.
    2. `data` of type array.
It is a required prop.

Line Chart

Pro

Income

$130,832 +90%

Props Information

NameTypeDefaultDescription
idstringUsed to set the chart id.
titlestringUsed to set a title for the chart.
valueobjectUsed to set a description for the chart and has the following keys:
  1. amount of type string.
  2. percentage of type object with value and color keys.
heightstring100Used to set a height for the chart.
chart*objectUsed to set the chart data. It should be an object that contains the `labels` and `datasets` keys.
  1. The `labels` should be an array.
  2. The `datasets` should be an object with the following keys:
    1. `label` of type string.
    2. `data` of type array.
It is a required prop.

Gradient Line Chart

Pro

Props Information

NameTypeDefaultDescription
id*stringUsed to set the chart id. It is a required prop.
titlestringUsed to set a title for the chart.
descriptionstringUsed to set a description for the chart.
heightstring300Used to set a height for the chart.
chart*objectUsed to set the chart data. It should be an object that contains the `labels` and `datasets` keys.
  1. The `labels` should be an array.
  2. The `datasets` should be an array with the following keys:
    1. `label` of type string.
    2. `data` of type array.
It is a required prop.

Mini Gradient Line Chart

Pro

Props Information

NameTypeDefaultDescription
idstringUsed to set the chart id.
titlestringMini Gradient Line ChartUsed to set a title for the chart.
descriptionstringUsed to set a description for the chart.
heightstring100Used to set a height for the chart.
chart*objectUsed to set the chart data. It should be an object that contains the `labels` and `datasets` keys.
  1. The `labels` should be an array.
  2. The `datasets` should be an array with the following keys:
    1. `label` of type string.
    2. `data` of type array.
It is a required prop.

Progress Line Chart

Pro

Tasks

480
60%

Props Information

NameTypeDefaultDescription
idstringUsed to set the chart id.
titlestringTasksUsed to set a title for the chart.
heightstring100Used to set a height for the chart.
iconstringcalendar-grid-58Used to set the chart icon
countNumberUsed to set the total count of items under the title of the chart.
progressNumberUsed to set the chart progress bar percentage value.
chart*objectUsed to set the chart data. It should be an object that contains the `labels` and `data` keys and these keys should be an array. Its a required prop.