mirror of
https://github.com/itflow-org/itflow
synced 2026-03-28 16:25:40 +00:00
Switch from Pie to Doughnut
This commit is contained in:
@@ -622,7 +622,7 @@ Chart.defaults.global.defaultFontColor = '#292b2c';
|
|||||||
// Pie Chart Example
|
// Pie Chart Example
|
||||||
var ctx = document.getElementById("incomeByCategoryPieChart");
|
var ctx = document.getElementById("incomeByCategoryPieChart");
|
||||||
var myPieChart = new Chart(ctx, {
|
var myPieChart = new Chart(ctx, {
|
||||||
type: 'pie',
|
type: 'doughnut',
|
||||||
data: {
|
data: {
|
||||||
labels: [
|
labels: [
|
||||||
<?php
|
<?php
|
||||||
@@ -673,7 +673,7 @@ Chart.defaults.global.defaultFontColor = '#292b2c';
|
|||||||
// Pie Chart Example
|
// Pie Chart Example
|
||||||
var ctx = document.getElementById("expenseByCategoryPieChart");
|
var ctx = document.getElementById("expenseByCategoryPieChart");
|
||||||
var myPieChart = new Chart(ctx, {
|
var myPieChart = new Chart(ctx, {
|
||||||
type: 'pie',
|
type: 'doughnut',
|
||||||
data: {
|
data: {
|
||||||
labels: [
|
labels: [
|
||||||
<?php
|
<?php
|
||||||
@@ -720,7 +720,7 @@ var myPieChart = new Chart(ctx, {
|
|||||||
// Pie Chart Example
|
// Pie Chart Example
|
||||||
var ctx = document.getElementById("expenseByVendorPieChart");
|
var ctx = document.getElementById("expenseByVendorPieChart");
|
||||||
var myPieChart = new Chart(ctx, {
|
var myPieChart = new Chart(ctx, {
|
||||||
type: 'pie',
|
type: 'doughnut',
|
||||||
data: {
|
data: {
|
||||||
labels: [
|
labels: [
|
||||||
<?php
|
<?php
|
||||||
|
|||||||
Reference in New Issue
Block a user