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

23970 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,311
  • 12
  • 48
  • 63
191
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
  • 2,841
  • 8
  • 30
  • 35
159
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,593
  • 2
  • 11
  • 4
156
votes
13 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
  • 11,341
  • 5
  • 34
  • 46
148
votes
15 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,659
  • 2
  • 12
  • 8
145
votes
4 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,056
  • 9
  • 43
  • 61
138
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
  • 5,317
  • 8
  • 48
  • 63
130
votes
3 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
  • 1,880
  • 4
  • 24
  • 39
127
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,661
  • 7
  • 38
  • 56
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
  • 11,289
  • 14
  • 56
  • 70
126
votes
21 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,070
  • 5
  • 23
  • 36
122
votes
3 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
  • 3,775
  • 7
  • 38
  • 66
110
votes
2 answers

Charts for Android

I am working on a project which have some charts (graphs), tick chart, candlestick chart and range chart. But the problem is, there is no library for that charts. I have got Google chart API for candlestick chart. But I don't want graph/chart in a…
ASP
  • 1,954
  • 3
  • 17
  • 30
109
votes
4 answers

Inline labels in Matplotlib

In Matplotlib, it's not too tough to make a legend (example_legend(), below), but I think it's better style to put labels right on the curves being plotted (as in example_inline(), below). This can be very fiddly, because I have to specify…
Alex Szatmary
  • 2,843
  • 3
  • 18
  • 27
104
votes
5 answers

Android charting libraries

I am trying to find a fast and reliable charting library. After some searching, I found 4 libraries: AChartEngine [warning! official website is down and redirects to virus filled website!], WilliamChart, HelloCharts and AndroidPlot. I need some up…
user3488996
  • 1,179
  • 2
  • 9
  • 13
1
2 3
99 100