Questions tagged [jscharts]

JS Charts is a JavaScript based chart generator that requires little or no coding. JS Charts lets you create charts in different templates like bar charts, pie charts or simple line graphs.

Features. Why should you use JS Charts?

  • You don't have to write code
  • It's easy to integrate
  • It's customizable
  • You can setup your charts online
  • You can create the three most common types of charts: bar, pie and line
  • It's compatible with most web browsers
  • You don't need any server-side plugins/modules
  • It's a 100% JavaScript component
  • It's free (watermarked)
43 questions
6
votes
2 answers

Auth fail while importing source dependencies from private git repository with gradle

I'm using Android studio and I would like to convert part of my kotlin/java project to a library. I'll be using Gradle to fetch sources as described here. Except I'll be using a private git repository with ssh access. I created new ssh key pairs…
Ariles
  • 333
  • 1
  • 14
6
votes
1 answer

Column Chart with lines - Combo chart customization

Which JS library is best to do the above type of chart ? I want to combine clustered column chart with line chart as shown in the picture above. My requirement is each column should have a low and high value set
Midhun Jayan
  • 223
  • 2
  • 10
3
votes
2 answers

Handling empty data in Jscharting

I have this Jscharting script which loads data from a csv file. It works great, but unfortunately it doesn't load at all if there is any empty data in the source. How would you add handling empty data into following script? JSC.fetch( …
3
votes
0 answers

How to add an extra label in chart.js

How do I add an extra label for both the x- and y- (label and data) axes? var lineChartData = { labels : ["2000","2001","2002","2003","2004","2005","2006","2007","2008","2009","2010"], datasets : [ { …
Akshay
  • 2,622
  • 1
  • 38
  • 71
3
votes
4 answers

3D Pie chart in Highcharts/Javascript

I need to draw 3d pie chart in javascript. It should look like below :- There are various example present in the Google charts, amcharts and jscharts for 3d pie Graphs but none looks like the below image. Links :-…
techgyani
  • 535
  • 8
  • 24
2
votes
1 answer

How can I add this ticks color in Y axis in chart js?

How can I add this tick color in chart js y axis. I am using version 2.9.4 I have tried like below way but no any impact. xAxes: [{ barThickness: 65, // number (pixels) or 'flex' gridLines: { zeroLineColor:…
Niloy Rony
  • 602
  • 1
  • 8
  • 23
2
votes
1 answer

Adding JsCharts to Tampermonkey

I'm trying to add JsCharts to a Tampermonkey script, but It's not working properly. Here's the script code and an image of how the chart just keeps on spinning the loading indicator. How can I make this work? // ==UserScript== // @name New…
Some1Else
  • 61
  • 6
2
votes
1 answer

jsPDF - requires deflate.js for compression

I have a site which makes PDFs containing small images and charts on the client side (they are usually about 2-5 MB in size and all works well) I use jsPDF (1.5.3) to do that. Today I encountered a problem which never happened before, and I am not…
norther
  • 43
  • 5
2
votes
0 answers

Pie chart colour change on legend drag and drop

I am using google chart api for Pie chart. This works fine but I want to change the colour of pie slice on legend drag and drop . Lets say I have three legends Work , Eat and Commute. So when I drag work legend over work slice it should colour that…
Anas
  • 21
  • 2
2
votes
2 answers

How to generate random color for JSCharts

function getRandomColor() { var letters = '0123456789ABCDEF'.split(''); var color = '#'; for (var i = 0; i < 6; i++) { color += letters[Math.floor(Math.random() * 16)]; } …
Nick Kahn
  • 19,652
  • 91
  • 275
  • 406
1
vote
1 answer

JS Charts suggestedMin suggestedMax not working

I am new to JSCharts, I got two charts but they are different sizes, how can I make them the same size? I have tried suggestedMin and suggestedMax in line chart, but it still begins Y ticks from 0. Also, I want to make sure that two enclosed graphs…
Murzik
  • 23
  • 3
1
vote
2 answers

Chart.js Console JS Error while destroy the Chart on click event

on Bar click event of first chart "config.categoriesChart" gets the console error "chart.js:10403 Uncaught TypeError: Cannot read property 'handleEvent' of undefined" enter image description here which diplayed as …
1
vote
1 answer

ChartJs bar chart bar value displaying lower then Y axis value in pdf?

I have a created a bar chart by chart js , Below is my code version : 2.9.4 var xValues = ["Italy", "France", "Spain", "USA", "Argentina"]; var yValues = [3, 5, 8, 9, 5]; var barColors = ["#E85900", "#E85900","#E85900","#E85900","#E85900"]; new…
Niloy Rony
  • 602
  • 1
  • 8
  • 23
1
vote
0 answers

Trying to input 2d array in data in jsChart

I am trying to input my 2d array into a js data input Chart to basically display views per month per day on the chart. My Data is classified per city on the toggle of the chart but that is not my issue. My Data: 6 main inputs representing 6 cities …
Sandy Al Akhras
  • 139
  • 3
  • 10
1
vote
1 answer

Stacker horizontal bar chart not showing proper data if name is repeated

I am using stacker horizontal bar chart to display employee names and bills assigned to them. But when to employees has the same name it will not display both of them . it will display only last binded employee in chart. export var multi = [ { …
JanakaRao
  • 71
  • 7
1
2 3