Questions tagged as 'highcharts'

1
answer

How to produce JSON in the format that Highcharts expects?

I have the following code in C #: Dictionary<string, object> dataResult = new Dictionary<string, object>(); dataResult["data"] = new List<object[]>(); dataResult["name"] = i; foreach (var item in query) { object[] values...
asked by 15.02.2014 / 13:57
1
answer

Problem adding column values and displaying in highcharts

I have the table: numitens | data | email 1 | 01/01/15 | [email protected] 1 | 01/01/15 | [email protected] 2 | 01/01/15 | [email protected] 1 | 02/01/15 | [email protected] The format you...
asked by 17.01.2015 / 23:52
2
answers

Logic to group data in array javascript

I'm having trouble grouping some data using JavaScript . I have the following array of objects that return from the database and send it to view : var object = [ { data: 1, categories: "Branca", name: "Feminino" }, { data: 1, ca...
asked by 09.11.2018 / 00:59
1
answer

How to make a pie chart with database?

I have the table in my database called votes, in it I have id, name and votes, I wanted to plot those values being, name and value in a pie chart or what is the percentage of votes each name <? $SQL1 = "SELECT * FROM votes"; $...
asked by 25.04.2014 / 21:27
1
answer

Creating graphs with JSON and Highcharts [closed]

I'm trying to use a simple example provided by Highcharts for creating a chart, but I'm not succeeding. HTML <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">...
asked by 09.12.2014 / 13:57
1
answer

How to force Highcharts to show all points?

I use the highcharts API to generate graphs from information collected in a database, the problem is that when it comes to many points in your series, it HIDES and GENERATES a Mean in periods. . See the example in this jsfiddle . The highe...
asked by 20.04.2018 / 16:25
1
answer

Convert JSON to Array in Javascript

Good afternoon, it's my first question here. I'm getting the json below through an ajax request. [ {"SEMANA":1.0,"PRODUCAO":0.0,"PRODUCAO2":0.0}, {"SEMANA":2.0,"PRODUCAO":29280.0,"PRODUCAO2":55992.0}, {"SEMANA":3.0,"PRODUCAO":93...
asked by 03.12.2014 / 20:36
1
answer

How to move a graph (Highcharts) using the arrow keys?

How do I move a chart using Highcharts? Instead of moving with the mouse to the right and left, I would like to use the directional keys (right arrow, left, up, and down). link This example uses the mouse to move; I need to do with th...
asked by 04.09.2014 / 20:41
1
answer

How to make the Highcharts chart always show PlotLines?

I'd like to know how to make the chart based on the value of PlotLines , without setting a minimum and maximum size for the chart. For example, I have a PlotLine for the X-axis of value 30 and another for the Y-axis of value 70. I did not...
asked by 17.11.2015 / 17:19
1
answer

Date from Mysql for Highcharts

Good I've been here a few days back from this subject until I got something, my only problem now and convert my graph I was reading through a CSV to now read directly from MYSQL My original graphic is this: <script type="text/javascr...
asked by 26.02.2016 / 12:09