Questions tagged [charts]

Charts are a graphical representation of data, most often in the format of a graph or diagram. Use this tag for questions about using a charting library API.

Charts are a graphical representation of data, using dots, lines, bars, geometric figures or other graphical elements. They can help you visualize vast amounts of data in a way that is easily understood. Similar to the saying "A picture is worth more than 1000 words", one may say "A chart is worth more than 1000 reports" ...

There are many different versions (types) of charts. Here are just a few examples of them:

Pie Chart Bar Chart Combined Chart Funnel Chart


Related tags

26456 questions
223
votes
29 answers

JavaScript Chart Library

Would anyone recommend a particular JavaScript charting library - specifically one that doesn't use flash at all?
Steve M
  • 10,517
  • 12
  • 52
  • 63
201
votes
12 answers

WPF chart controls

I am looking for a very simple WPF chart which should have a 2D graph and should have pan and zoom facilities .
Rakesh Agarwal
  • 3,009
  • 9
  • 33
  • 40
182
votes
17 answers

Dynamically update values of a chartjs chart

I created an basic bar chart using chartjs and it works fine. Now I want to update the values on a time based interval. My problem is that after I created the chart, I do not know how to update its values correctly... My code: var ctx =…
adanlif
  • 1,999
  • 3
  • 13
  • 8
177
votes
14 answers

Command-line Unix ASCII-based charting / plotting tool

Is there a good command-line UNIX charting / graphing / plotting tool out there? I'm looking for something that will plot xy points on an ASCII graph. Just to clarify, I'm looking for something that will output a graph in ASCII (like ascii-art…
bajafresh4life
  • 12,491
  • 5
  • 37
  • 46
175
votes
6 answers

Remove padding or margins from Google Charts

// Load the Visualization API and the piechart package. google.load('visualization', '1.0', {'packages':['corechart']}); // Set a callback to run when the Google Visualization API is loaded. google.setOnLoadCallback(drawChart); // Callback…
Paul Armdam
  • 1,753
  • 2
  • 11
  • 4
163
votes
4 answers

how to set start value as "0" in chartjs?

here is my code. i need to set initial value as "0" in both x and y axis scales. I have tried latest version scales option. graphOptions = { ///Boolean - Whether grid lines are shown across the chart …
Suganthan Raj
  • 2,330
  • 6
  • 31
  • 42
154
votes
7 answers

Removing legend on charts with chart.js v2

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 the…
Zeliax
  • 4,987
  • 10
  • 51
  • 79
146
votes
3 answers

PHP MySQL Google Chart JSON - Complete Example

I have searched a lot to find a good example for generating a Google Chart using MySQL table data as the data source. I searched for a couple of days and realised that there are few examples available for generating a Google Chart (pie, bar, column,…
Anam
  • 11,999
  • 9
  • 49
  • 63
142
votes
10 answers

What is the best open-source java charting library? (other than jfreechart)

Why are there not more opensource easy to use charting libraries for Java?. The only successful opensource project in this area seems to be jfreechart, and it doesn't even have any documentation or examples available.
fccoelho
  • 6,012
  • 10
  • 55
  • 67
140
votes
23 answers

How to clear a chart from a canvas so that hover events cannot be triggered?

I'm using Chartjs to display a Line Chart and this works fine: // get line chart canvas var targetCanvas = document.getElementById('chartCanvas').getContext('2d'); // draw line chart var chart = new Chart(targetCanvas).Line(chartData); But the…
Adam Jones
  • 2,370
  • 5
  • 23
  • 40
138
votes
10 answers

In Chart.js set chart title, name of x axis and y axis?

Does Chart.js (documentation) have option for datasets to set name (title) of chart (e.g. Temperature in my City), name of x axis (e.g. Days) and name of y axis (e.g. Temperature). Or I should solve this with css? var lineChartData = { labels :…
DaniKR
  • 2,418
  • 10
  • 39
  • 48
128
votes
6 answers

SSRS chart does not show all labels on Horizontal axis

My SSRS report does not show all the labels on the horizontal axis. Please see below. Note how the red arrows point to the few that do show. So my question is, where are the rest of the labels? Each bar should have one. For the chart I'm adding…
Zolt
  • 2,761
  • 8
  • 43
  • 60
127
votes
8 answers

Is there a good charting library for iPhone?

I have a need to render and display charts (bar charts for now, but more types may be needed later) in an iPhone app I'm working on. I've done some looking around and it doesn't look like there are any really good, mature charting libraries for…
Mike Akers
  • 12,039
  • 14
  • 58
  • 71
124
votes
15 answers

Limit labels number on Chart.js line chart

I want to display all of the points on my chart from the data I get, but I don't want to display all the labels for them, because then the chart is not very readable. I was looking for it in the docs, but couldn't find any parameter that would limit…
mmmm
  • 3,768
  • 9
  • 36
  • 63
118
votes
13 answers

Gantt charts with R

How do I create a Gantt chart in R? I'm looking for something sophisticated (looking more or less like this): P.S. I could live without the dependency arrows.
gd047
  • 29,749
  • 18
  • 107
  • 146
1
2 3
99 100