Search Results

Search found 2 results on 1 pages for 'leonlong'.

Page 1/1 | 1 

  • How to add multiple series in highcharts synchronously

    - by leonlong
    I tried to add multiple series in highcharts synchronously, but the response time is very slow. It took almost 3-5 seconds to display the charts. Here is part of the code. while(chart.series.length>0){ chart.series[0].remove(true); } chart.addSeries(series1); chart.addSeries(series2); chart.addSeries(series3); chart.addSeries(series4); chart.addSeries(series5); When I remain only one addSeries command, it response immediately, so I realized it may be the problem of add multiple series in highcharts synchronously. Not so good at highcharts, so is there anyone could help me about this? Or maybe there is another way to do this, I am much appreciated.

    Read the article

  • How I can use X-editable pass value to backend and get response

    - by leonlong
    I am new to jquery, recently I tried to use X-editable to edit a table. after I edited it , I want to pass value to PHP for process, but when I want to return something else back with value, it will get an error. What I mean is usually we can get several response from PHP, but I can get it like that through this. $('#example').editable({ type: 'text', name: 'example', url: 'exprediction.php', ajaxOptions: { dataType: 'json' }, success: function(newValue) { var response = newValue.split("|"); value1 = response[0]; value2 = response[1]; //it did not work } });

    Read the article

1