Legend position not working in stacked column charts (Google Charts) - charts

I'm making multiple stacked charts with Google Charts just like what was talking about in this post stacked column chart for two data sets - Google Charts. I'm trying the sample but I can't set the legend position with legend: {position: 'top'}.
Here is the jsfiddle: http://jsfiddle.net/p7o0pjgg/32/

the list of options that don't work in Material charts can be found here...
Tracking Issue for Material Chart Feature Parity #2143
which includes...
legend.position: ['top', 'bottom']

Related

How to show both simple and extended label both in 3d pie chart using JFreeChart & JasperSoft

I am a bit new to JFreeChart and I had a requirement of showing both simple and extended labels on 3d pie chart using JFreeChart java library & JasperSoft i.e percentage labels on top of the sections of 3d pie chart as simple labels and the key on adjacent sections as an extended label.
I am able to achieve either one of the labels at a time by using the below code snippet.
setSimpleLabels(true) - lable on top of the section
setSimpleLabels(false) - lable on adjacent of the section
How to achieve both the label's designs in one single 3d pie chart as shown below in the image?
Thanks in advance

ag-grid Pie Chart - change the colors of the slices

I would like change the colors of the slices in an ag-grid Pie Chart. Is it possible? I am using React.
https://www.ag-grid.com/javascript-charts-pie-series/
I figured out the solution, which was actually obvious but I was not correctly looking. The API reference lists "fills?: string[]". All set.

Chart.js doughnut and pie chart at same canvas mixed

Can I display together two different types of chart together. I need to have a doughnut chart with about 70%, and another pie chart section over the first (doughnut) chart that will be just a thin line going from center of the circle to the doughnut's edge. I want to make a speed-o-meter this way.
A pie chart is a doughnut chart with cutoutPercentage:0. Try using a doughnut chart, setting cutoutPercentage:0, and adding two datasets.

How can I use multiple fields in Kibana Pie Charts?

I want to make a pie chart in Kibana that uses two data fields. I want the chart to have only two slices, so for example, I would show myPizzasEaten/totalPizzas (kind of like a progress circle).

Round y-axis values: Dojo Chart vs Chart.js

I am using Dojo Charts to create some line graphs, and this is how the chart looks,
this id chartData: 0,0,0,0,65,223
And when I create the graph using Chart.js, this is how it is rendered
Ignore the x-axis and other things, If we look at the y-axis, the values are rounded in chart.js, looks much nicer when compared to dojo charts.
Is there an option to achieve the same in dojo charts?
Try adjusting majorTickStep, or optionally also set minorTickMarks to true and adjust minorTickStep as well.
See http://dojotoolkit.org/reference-guide/1.10/dojox/charting.html#enabling-and-disabling-tick-marks and "Axis Stepping" two sections later.