I want to change the font to something snazzier in my Chart.JS horizontal bar chart. I've tried the following, but none of it works:  var optionsBar = {     . . .     //fontFamily: "'Candara', 'Calibri', 'Courier', ...
In Chart.js 2 I am generating a scatter-plot where there x coordinates are Epoch timestamps and the y coordinates are integers. I was wondering if there was a way to format the x-axis labels of the graph, so that the dates are displayed in a human-re...
I managed to remove all horizontale lines/rules in my chart using this:  scales: {        xAxes: [{         gridLines: {             display: false         }       }] }   But I also want to get rid of the rule/bar that represents the Y-axis as well....
I am using chart.js v2.5.0. I put doughnut inside doughnut.  I want the disdance between 2 doughnuts(A) to be larger without affecting the distance between slices inside the same doughnut(B).  Please see the following image:    Currently I am using t...
I'm making a homepage using, Bootstrap, JQuery and Chart.js (v2). I had my implementation working using v1, but recently just got into Bower and downloaded v2 using that.  I'm making a grid of 4 columns each containing a pie chart, however th...
I'm using Chart.js 2.6.  I have a chart to which I've added custom pagination to step through the dataset, as it is quite large.  My pagination and everything works great, I simply grab the next chunk of data in my set and update the chart.co...
I am creating a bar chart like so:  var ctxForecastChart = $("#forecastLineChart").get(0).getContext("2d"); var forecastChartData = {     labels: [         "Total Sales"     ],     datasets: [     {         label: "8/28/20...
I have charts where a user can input a different range of time spans in order to get a desired result set to graph. Depending on the range of the graph, the formatting of the times should be different. As an example, looking at a graph that's 10...
I am using below code to populate slice values in a pie chart using JS and it's correctly working but I am observing another problem as these values are getting populated only once and when I reload the charts it's getting disappeared. Now le...
I have created a stacked bar chart and i have to hide first dataset's label and its box in legend which is "Total Line", Is there anyway to hide first or any dataset's label. i have read the documentation there is a filter in options...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.