Chart.Funnel.js icon indicating copy to clipboard operation
Chart.Funnel.js copied to clipboard

Charts are not displaying like cone or trapezium when the data difference between two fields is minimal

Open mitrin359 opened this issue 8 years ago • 1 comments

Hi, after loading my data, the chart is displaying like below using chart.funnel.js http://www.mediafire.com/view/8n4e5hdby3u311n/chartjs%20chart.jpg#

but I want the chart to look like below, here I'm using kibana http://www.mediafire.com/view/n4fzdp6xzpn0p9h/Kibana%20chart.jpg#

Can you please help me to solve this Thank you

mitrin359 avatar May 04 '17 12:05 mitrin359

Default Chart.Funnel.js will use the real percentage to render You can use 'fake' number (like [1000,900,800,...] ) to render and change tooltips.callbacks.label options tooltips: { callbacks: { title: function (tooltipItem, data) { return ''; }, label: function (tooltipItem, data) { return 'you real value' }; } }

xch89820 avatar May 27 '17 04:05 xch89820