Thanks Jakub, the explanation was very clear - and pretty much what I had expected. Charts aren't the primary focus of my application, so where would I read about version upgrades? I'm not sure I could even tell you which version I was using - I load the current version through a CDN in my apps, so ...
The following snippet has always worked until recently: var colors = [], base = Highcharts.getOptions().colors[3], i; for (i = 0; i < 20; i += 1) { colors.push(Highcharts.Color(base).brighten((i - 3) / 17).get()); } console.log('hello',colors) Starting recently it now generates the error: Uncaught T...
That's a promising solution, but I have a follow-up question. When the chart is first rendered, I want to set the visibility of certain legend items true/false (based on the user's sticky settings for visibility). How can I tell in the render event whether the chart is loading for the first time, or...
My goal is to save the current series visibility states of a chart so that I can remember the series states for the user when they return at a future time. My current code isn't correct because the legendItemClick event fires before the series visibility is toggled, causing an incorrect array of sho...
Thanks Rafal... Knowing that it would be difficult is very helpful to know in advance... And that has great value. I will spend some additional time looking for more robust business solutions for the PDF portion which is more important, and then see what will be involved with integrating a few simpl...
Hi all, I'm asking in very general terms if anyone has a strong recommendation for a PDF output solution that can integrate Highcharts along with other data tables and server-side materials. As a simple example, imagine we would like to generate a standard report which might show 12 months of sales ...
As I mentioned under a similar post in the Highcharts forum, clearing the cache has had no effect. I continue to see the error this.init(input) is not a function (on line 2839 of highstock.src.js, version 8.0.2 with date 03-March-2020). I also noticed that this version is new for today; it was 8.0.1...
I have the exact same problem in the Highstock.js (I posted in the Hightstock forum). Clearing the cache and reverting to 8.0.0 did not solve the problem. Can you tell me the latest stable version for Highstock? I have tried https://code.highcharts.com/stock/8.0.0/highstock.js but that version now g...
Just today I'm seeing a problem with the highlighted line of code below (part of sample code for a sunburst chart). var pieColors = (function () { var colors = [], base = Highcharts.getOptions().colors[3], i; base = "#ff9900"; for (i = 0; i < 20; i += 1) { // Start out with a darkened base...
Thanks again Wojtek, your solution is a bit cleaner than what I ended up doing, but the "update" of the series logic is very similar to what you did. Thanks.
If I remove the min and max in your JSFiddle, the chart works fine. My guess is that you are setting min/max in timestamp format, so you would need to convert your x values to timestamp as well. The units for min/max should probably be on the same scale as your data. t = new Date("2018-08-24T00...
Assuming JavaScript, you already have a JavaScript array. Here are some transforms that might be helpful: a = [[4.000000000000000],[23.000000000000000],[2.000000000000000]] // A short version of your array b = JSON.stringify(a) returns: "[[4],[23],[2]]" c = JSON.parse(b) returns a JSON rep...
Wojtek, that works perfectly - thank you... Here is my final product: http://logbook.merrimackrowing.org/charts/all-charts.php The goal was to have a spinner on any click event, and that's been achieved. I'm still not very clear on how the override is constructed but I think if I study on how the ap...