Collection: Home page
-
Wooden Dining Chairs Only | Wooden Dining Chairs | Dining Room Furniture with Cushions | Dining Chair Set of 2 | Study Chair with Cushion for Dining Honey, Self Assembly
Regular price Rs. 5,222.00 INRRegular priceSale price Rs. 5,222.00 INR -
Finch Fox® Taskpro Modern Unique Velvet Upholstered Seating Living Room Dining Chair with Black Metal Legs in Tan Color
Regular price Rs. 5,222.00 INRRegular priceSale price Rs. 5,222.00 INR -
Finch Fox® Morris Velvet Dining Chair for Living Room, Bedroom, Home Office with Black Metal Legs in Dark Green Color (Set of 2)
Regular price Rs. 11,874.00 INRRegular priceSale price Rs. 11,874.00 INR -
Finch Fox® Motel Luxurious Home Collection Upholstery Boucle Fabric Arm Dining Room Chairs in Cream Color with Black Metal Powder Coated Legs
Regular price Rs. 7,266.00 INRRegular priceSale price Rs. 7,266.00 INR -
Barfi Velvet Dining Chair | Set of 2 Premium Accent Chair with Armrest, Padded Seat and Metal Legs
Regular price Rs. 11,989.00 INRRegular priceSale price Rs. 11,989.00 INR
Chart.js
Installation
You can download the latest version of Chart.js from the GitHub releases or use a Chart.js CDN. Detailed installation instructions can be found on the installation page.
Creating a Chart
It's easy to get started with Chart.js. All that's required is the script included in your page along with a single <canvas> node to render the chart.
In this example, we create a bar chart for a single dataset and render that in our page. You can see all the ways to use Chart.js in the usage documentation.
<canvas id="myChart" width="400" height="400"></canvas>
<script>
var ctx = document.getElementById('myChart').getContext('2d');
var myChart = new Chart(ctx, {
type: 'bar',
data: {
labels: ['Red', 'Blue', 'Yellow', 'Green', 'Purple', 'Orange'],
datasets: [{
label: '# of Votes',
data: [12, 19, 3, 5, 2, 3],
backgroundColor: [
'rgba(255, 99, 132, 0.2)',
'rgba(54, 162, 235, 0.2)',
'rgba(255, 206, 86, 0.2)',
'rgba(75, 192, 192, 0.2)',
'rgba(153, 102, 255, 0.2)',
'rgba(255, 159, 64, 0.2)'
],
borderColor: [
'rgba(255, 99, 132, 1)',
'rgba(54, 162, 235, 1)',
'rgba(255, 206, 86, 1)',
'rgba(75, 192, 192, 1)',
'rgba(153, 102, 255, 1)',
'rgba(255, 159, 64, 1)'
],
borderWidth: 1
}]
},
options: {
scales: {
yAxes: [{
ticks: {
beginAtZero: true
}
}]
}
}
});
</script>