We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The pie chart to draw on the page
Nothing is drawn except the legends on the chart
Here is a pen for it: https://codepen.io/anele-mash-mbanga/pen/aKYzQP
let chart = new frappe.Chart("#fcjobs", { data: { labels: ['Female','Male','PDI','PWD','Semi Skilled','Skilled','Un Skilled','Youth','Jobs'], datasets: [{name: 'Jobs Created', values: [0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,32.0]}] }, title: 'Jobs Created', type: 'pie', colors: ['#f44336','#e91e63','#9c27b0','#673ab7','#3f51b5','#2196f3','#03a9f4','#00bcd4','#009688'], height: 500, isNavigable: 0, valuesOverPoints: 1, barOptions: { stacked: 0 }, lineOptions: {dotSize: 4, hideLine: 0, hideDots: 0, heatline: 0, areaFill: 0 }, axisOptions: { yAxisMode: 'span', xAxisMode: 'span', xIsSeries: 0 }, maxLegendPoints: 20, maxSlices: 10, barOptions: { height: 20, depth: 2}, discreteDomains: 1 });
NOTE: Add a GIF/Screenshot if required.
Frappé Charts version: 1.1
The text was updated successfully, but these errors were encountered:
Fixed in a recent PR, I am closing the issue.
Sorry, something went wrong.
scmmishra
No branches or pull requests
Expected Behaviour
The pie chart to draw on the page
Actual Behaviour
Nothing is drawn except the legends on the chart
Steps to Reproduce:
Here is a pen for it: https://codepen.io/anele-mash-mbanga/pen/aKYzQP
let chart = new frappe.Chart("#fcjobs", {
data: {
labels: ['Female','Male','PDI','PWD','Semi Skilled','Skilled','Un Skilled','Youth','Jobs'],
datasets: [{name: 'Jobs Created', values: [0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,32.0]}]
},
title: 'Jobs Created',
type: 'pie',
colors: ['#f44336','#e91e63','#9c27b0','#673ab7','#3f51b5','#2196f3','#03a9f4','#00bcd4','#009688'],
height: 500,
isNavigable: 0,
valuesOverPoints: 1,
barOptions: {
stacked: 0
},
lineOptions: {dotSize: 4,
hideLine: 0,
hideDots: 0,
heatline: 0,
areaFill: 0
},
axisOptions: {
yAxisMode: 'span',
xAxisMode: 'span',
xIsSeries: 0
},
maxLegendPoints: 20,
maxSlices: 10,
barOptions: { height: 20, depth: 2},
discreteDomains: 1
});
NOTE: Add a GIF/Screenshot if required.
Frappé Charts version:
1.1
The text was updated successfully, but these errors were encountered: