Waterfall - update point not propagate to sum #3710
Comments
Hello, I noticed that it has been fixed! :) There is a small bug came up after fixing the one we talked about. When you render the waterfall for the first time, the "Balance column (isSum)" has 0 value, but when you change other columns values, it recalculates it just fine. Same goes for isIntermediateSum Also, in this jsfiddle http://jsfiddle.net/961uhu6h/28/ if you click second button a few times, so the column will have a negative value, the column color doesn't change to negative value color. But if you go from negative value to positive - it works just fine. Thanks! |
Also, there is another small bug, please use this jsfiddle - http://jsfiddle.net/961uhu6h/29/ Use 3rd button. Onclick it changes the column value, and it should change the first label from "Name" to "New label", value changes fine, but the Label doesnt :( |
I'm not able to reproduce that at http://jsfiddle.net/highcharts/961uhu6h/33/. At first render, the sum shows 345k. What am I missing?
Confirmed. This is fixed now in e17951b.
I added this as a separate issue, see #3728 (Edit: Corrected first fiddle that pointed to my local files) |
hi, Regarding the first render sum; did you use highcharts library after the very first bug was fixed? (very first message in this topic) Looks like right now you are using production version, where it works fine, but it doesnt re-render isSum and isIntermediateSum on value change. Can you please try to use version of highcharts where it was fixed (I downloaded it straight from github, that's why I didn't provide jsfiddle) I hope I didn't confuse you :) Let me please know if I need to explain more. Thanks, |
This is the fiddle from the first post, with the latest github version: http://jsfiddle.net/stephanevanraes/961uhu6h/32/ |
Hi Stephane, Yes you are right, it works on my end too. Weird. Sorry for misinformation Thanks for your help, On Friday, January 16, 2015, Stephane Vanraes notifications@github.com
|
When the waterfall chart has 2+ isSum, it doesn't calculate them correctly. 2012 value should be 920 + 102 + 233 = 1255 |
@sebastianbochan according to the API : http://api.highcharts.com/highcharts#series.data.isIntermediateSum |
Hi Stephane, I have a question, our client is financial firm, and they are Basically value -53 could be also (53) Is there any way that we can prepare data array for waterfall chart Thank you for your help, On Tue, Mar 3, 2015 at 2:03 AM, Stephane Vanraes notifications@github.com
|
Hi, To change the output you can use the formatter function: http://api.highcharts.com/highcharts#series.dataLabels.formatter As for the input, Highcharts only accepts numbers (and null) as values in the data array, to have the parentheses you need the input strings which is not possible, therefore you will have to take the array with the strings and write a transformation function to change the notation. |
Thank you :) On Wed, May 20, 2015 at 1:43 AM, Stephane Vanraes notifications@github.com
|
When we update any point, sum is not updated.
Example: http://jsfiddle.net/961uhu6h/21/
The text was updated successfully, but these errors were encountered: