Search found 15 matches

Go to advanced search

by Dagge1
Fri May 22, 2020 5:37 pm
Forum: Highcharts Stock
Topic: How can I conditionally show/hide series
Replies: 2
Views: 8185
 
Jump to post

Re: How can I conditionally show/hide series

Thanks, that is exactly what I needed.
by Dagge1
Mon May 18, 2020 9:00 pm
Forum: Highcharts Stock
Topic: How can I conditionally show/hide series
Replies: 2
Views: 8185
 
Jump to post

How can I conditionally show/hide series

I'd lile to show series part of Highcharts.stockChart('container', {...} alternatively based on certain condition met. Namely I would display it only on some timeslots and hide on other. Is there a possibility to do so or do I need to put whole Highchart module object put into if..else conditional b...
by Dagge1
Wed Apr 29, 2020 10:25 pm
Forum: Highcharts Usage
Topic: Programmatically disable chart series
Replies: 3
Views: 3052
 
Jump to post

Programmatically disable chart series

Hi is there a way to disable series, for example volume bars upon materializing certain programmatic conditions. I am aware that Highcart code is an object and we cannot use if..then clausule and put series code inside of it, because series is a key in key-value pai inside js object. Actually I coul...
by Dagge1
Wed Mar 11, 2020 12:42 pm
Forum: Highcharts Stock
Topic: spline and areaspling charts display different data range
Replies: 7
Views: 1106
 
Jump to post

Solved

OK I solved this I had to first calculate minimal value from the raw data array sent from the server for displaying. Then I used this minimal value as the yAxis.min value, instead of using first value in the array that was sent. Sometimes chart calculates min value automatically, sometimes not (if t...
by Dagge1
Wed Mar 11, 2020 12:04 pm
Forum: Highcharts Stock
Topic: spline and areaspling charts display different data range
Replies: 7
Views: 1106
 
Jump to post

Re: spline and areaspling charts display different data range

Yet the problem now with using yAxis.min parameter is that sometimes it cuts displaying values below 0, which wasn't the case when I was using it without min value set. It happens on both 'spline' and 'areaspline' chart. Here is the printscreen Here it works: https://ibb.co/QNc73yg but here it doesn...
by Dagge1
Wed Mar 11, 2020 11:31 am
Forum: Highcharts Stock
Topic: spline and areaspling charts display different data range
Replies: 7
Views: 1106
 
Jump to post

Re: spline and areaspling charts display different data range

Thanks for your hint Piotr, it works now. Actually it was the yAxis.min parameter that was set automatically on 'spline' chart but for some reason not in 'areaspline' chart. I have used first number to be displayed on the chart for selected time range as the min parameter value. yAxis: [{ // y axis ...
by Dagge1
Tue Mar 10, 2020 12:19 pm
Forum: Highcharts Stock
Topic: spline and areaspling charts display different data range
Replies: 7
Views: 1106
 
Jump to post

Re: spline and areaspling charts display different data range

Thanks. I think using yAxis.min value would not help because it wasnt defined in 'spline' chart either, but displaying data in 'spline' works fine, while showing same data in 'areaspline' graph doesn't. So I don't see why would we need to use parameter in 'areaspline' if we don't use same parameter ...
by Dagge1
Mon Mar 09, 2020 5:34 pm
Forum: Highcharts Stock
Topic: spline and areaspling charts display different data range
Replies: 7
Views: 1106
 
Jump to post

spline and areaspling charts display different data range

I have two variants for displaying the same data, spline and areaspline version of a chart. While spline shows chart from the lowest to the highest data value for a chosen period which is ok, areaspline shows data from 0 to the maximum data for that period, which makes chart unrealistically flat loo...
by Dagge1
Thu Mar 05, 2020 10:09 am
Forum: Highcharts Stock
Topic: How to separate grouping bars from the chart part
Replies: 1
Views: 662
 
Jump to post

How to separate grouping bars from the chart part

I want to separate bars that represent grouped data to be located at the separate section below the chart. Now they are part of the chart and bars represent number of user votes in the grouped timeslots. If number of users that entered price in any timeslot is greater than the value on the chart, li...
by Dagge1
Wed Feb 26, 2020 11:19 am
Forum: Highcharts Stock
Topic: Ho to build dark version of chart
Replies: 3
Views: 10191
 
Jump to post

Re: Ho to build dark version of chart

Thanks a lot, that was helpful.
by Dagge1
Tue Feb 25, 2020 10:37 pm
Forum: Highcharts Stock
Topic: Ho to build dark version of chart
Replies: 3
Views: 10191
 
Jump to post

Ho to build dark version of chart

Hello I cannot manage to build dark version of the highstock chart with custom background and foreground colors. Something like those shown on the 'Dark Unica' demo versions of charts. https://www.highcharts.com/stock/demo/areaspline/dark-unica There is a code example by Torstein Honsi, but it is un...
by Dagge1
Thu Feb 20, 2020 7:18 pm
Forum: Highcharts Stock
Topic: Efficientry displaying large amounts of data
Replies: 1
Views: 2670
 
Jump to post

Efficientry displaying large amounts of data

Hello I would kindly ask for an advice. I have a 1 year of near realtime and 1 minute data. I would like to know how highchart algo displays large amounts of data. Let's say that I want to fetch 3 month of 1min data that is: 60min * 24hr * 6 month = 259,200 different items. Let's say every item has ...
by Dagge1
Wed Feb 19, 2020 10:44 pm
Forum: Highcharts Stock
Topic: How to set local timezone on xAxis
Replies: 1
Views: 7049
 
Jump to post

How to set local timezone on xAxis

Hello I cannot set local timezone (Europe/Paris) into xAxis. I tried with setting time > timezoneOffset: .. and setting xAxis: { type: 'datetime', dateTimeLabelFormats: { minTickInterval: 24 * 3600 * 1000, millisecond: '%b %e' } } It displays day and month 9 Jan but yellow popup tooltip displays wei...
by Dagge1
Wed Feb 19, 2020 2:49 pm
Forum: Highcharts Stock
Topic: How to group data on the Stock chart
Replies: 3
Views: 2310
 
Jump to post

Re: How to group data on the Stock chart

Thanks Mateusz for you kind help I have added approximation= 'sum' parameter, however I have a problem. approximation: 'sum' adds values for selected time period like an hour, but next point on the chart which represents new hour isn't added to that former sum, but is displayed as a separate sum for...
by Dagge1
Tue Feb 18, 2020 6:08 pm
Forum: Highcharts Stock
Topic: How to group data on the Stock chart
Replies: 3
Views: 2310
 
Jump to post

How to group data on the Stock chart

Hello my users enter into the db data like +1 and -1 together with timestamp. How to present those data on the line stockchart elegantly so that it shows points as a sum of hour or day data points chronologically. Sometimes users will enter evaluations several times in a minute, sometimes there will...

Go to advanced search