chart.js2 Questions

2

Solved

I'm creating a fairly simple pie chart with Chart.JS like so: var data = { labels: [ "Bananas (18%)", "Lettuce, Romaine (14%)", "Melons, Watermelon (10%)", "Pineapple (10%)", "Berries (10%)"...
Dorison asked 22/9, 2016 at 17:35

2

Solved

I've got a pie chart that looks like this when hovering over a piece of pie: Except for wanting the legend to the right instead of on top, I'm fairly content with this, but I want just the perce...
Manos asked 22/9, 2016 at 18:25

2

Solved

I wish to pass values of an array to the data and label fields of the chart.js dataset. Here the code from success of ajax call made to fetch json data. I fetch the json data and store it into an ...
Polyphyletic asked 10/8, 2016 at 9:46

1

Solved

Can you help me how to extend Chart.js v2.0. I need to draw some horizontal lines in the charts, something similar to: http://jsfiddle.net/vsh6tcfd/3/ var originalLineDraw = Chart.controllers.bar....
Ethbin asked 12/7, 2016 at 8:58

1

Solved

I have the following chart and would like to manually set the Y axis labels. Instead of using 1,2,3,4,5, I want One, Two, Three, Four, Five. Is there a way to do this? Here's my options structure: ...
Sheridansherie asked 8/6, 2016 at 16:45

2

Solved

I am rendering a chart inside an angular2 attribute directive (an approach taken by the angular2 team). This approach works with chart.js but not chart.js 2.x code for attribute directive is ... ...
Cohesion asked 3/5, 2016 at 18:19

© 2022 - 2024 — McMap. All rights reserved.