Search found 751 matches

Go to advanced search

by ppotaczek
Mon Jun 03, 2019 3:06 pm
Forum: Highcharts Stock
Topic: Incorrect 'top' for Y Axis Title when useHTML set to 'true'
Replies: 5
Views: 1803
 
Jump to post

Re: Incorrect 'top' for Y Axis Title when useHTML set to 'true'

Hi Anto, No problem, I am here to help you! It looks like I forgot to include `borderbottom` in the calculations. Also, changing the event from `load` to `render` should solve the scroll problem. chart: { ..., events: { render: function() { var titles = document.getElementsByClassName('titleText'); ...
by ppotaczek
Thu May 30, 2019 4:49 pm
Forum: Highcharts Stock
Topic: Incorrect 'top' for Y Axis Title when useHTML set to 'true'
Replies: 5
Views: 1803
 
Jump to post

Re: Incorrect 'top' for Y Axis Title when useHTML set to 'true'

Hi Anto, Yes, you are right, I misunderstood you a bit. The bottom edge of the titles are on one line with the upper edge of the axis, so you can move the title down by the value of its height: events: { load: function() { var titles = document.getElementsByClassName('titleText'); this.yAxis.forEach...
by ppotaczek
Thu May 30, 2019 3:16 pm
Forum: Highcharts Stock
Topic: XAxis > tickInterval + tickPixelInterval to be accounted
Replies: 4
Views: 1771
 
Jump to post

Re: XAxis > tickInterval + tickPixelInterval to be accounted

Hi Anto, You can use `hour` unit name, but then the problem is that we remove the tick with the date change. In this case it is necessary to set 'higherRanks' property: if ( this.toPixels(defaultTicks[1]) - this.toPixels(defaultTicks[0]) < 50 ) { newTicks = this.tickPositions.filter(function(el, i) ...
by ppotaczek
Wed May 29, 2019 4:07 pm
Forum: Highcharts Stock
Topic: Incorrect 'top' for Y Axis Title when useHTML set to 'true'
Replies: 5
Views: 1803
 
Jump to post

Re: Incorrect 'top' for Y Axis Title when useHTML set to 'true'

Hi Anto, I think that the positions of the titles are correct. Each title is at the end of the yAxis. Where exactly do you want it to be? You can add the border by CSS styles: .titleText { display: inline-block; width: 120px; border-width: 0 0 2px 0; border-style: solid; border-color: red; } Live de...
by ppotaczek
Wed May 29, 2019 3:40 pm
Forum: Highcharts Stock
Topic: Colouring the overbought and oversold lines on the RSI indicator
Replies: 2
Views: 1509
 
Jump to post

Re: Colouring the overbought and oversold lines on the RSI indicator

Hi ianmackay, Thank you for contacting us! In the first example that you have provided, the old code for RSI indicator is used: https://blacklabel.github.io/indicators/js/rsi.js The current implementation does not add that two lines to the chart: https://code.highcharts.com/stock/indicators/rsi.src....
by ppotaczek
Wed May 29, 2019 1:23 pm
Forum: Highcharts Stock
Topic: XAxis > tickInterval + tickPixelInterval to be accounted
Replies: 4
Views: 1771
 
Jump to post

Re: XAxis > tickInterval + tickPixelInterval to be accounted

Hi Anto, Thank you for contacting us again! The `tickPixelInterval` option works only if `tickInterval` is null. In your case the ticks are located too dense. Please check this example: https://jsfiddle.net/BlackLabel/d1s9z5c4/ You can do not use the `tickInterval` property or use `tickPositioner` f...
by ppotaczek
Tue May 28, 2019 1:05 pm
Forum: Highcharts Stock
Topic: Axis Height is being consumed by X Axis labels
Replies: 2
Views: 866
 
Jump to post

Re: Axis Height is being consumed by X Axis labels

Hi Anto, Thank you for contacting us and exact explanation of the problem! As you rightly notice, the difference in the xAxis position results from the height of the labels. To prevent that, set a fixed chart margin: chart: { marginBottom: 0, ... } Live demo: https://jsfiddle.net/BlackLabel/q5xjd083...
by ppotaczek
Thu Apr 11, 2019 3:03 pm
Forum: Highcharts Usage
Topic: Can we create drilldown (treemap type) from column chart ?
Replies: 1
Views: 888
 
Jump to post

Re: Can we create drilldown (treemap type) from column chart ?

Hi vinh, Thank you for contacting us! The drilldown to `treemap` chart type is not supported by default and requires some customization. For example, you can change the chart type before drilldown: chart: { events: { drilldown: function(e) { var chart = this, drilldowns = chart.userOptions.drilldown...
by ppotaczek
Tue Jul 03, 2018 4:04 pm
Forum: Highcharts Usage
Topic: Wordcloud error
Replies: 5
Views: 1775
 
Jump to post

Re: Wordcloud error

Hi krispy,

Yes, it looks like this problem has not been completely fixed. Please add a comment with your example in the topic on Github.

Best regards!
by ppotaczek
Tue Jun 26, 2018 1:11 pm
Forum: Highcharts Stock
Topic: Flag series icons not align on series Highstock
Replies: 10
Views: 2727
 
Jump to post

Re: Flag series icons not align on series Highstock

Hi vijaygudla, Thank you for a very good example. The problem is caused by too little space for flags, this example demonstrate the situation: https://jsfiddle.net/BlackLabel/0fqas3m4/. You need to enable allowOverlapX property. Live demo: https://jsfiddle.net/BlackLabel/5zu8mr2d/ API: https://api.h...
by ppotaczek
Tue Jun 26, 2018 8:42 am
Forum: Highcharts Stock
Topic: Editable Y-Axis Lables
Replies: 6
Views: 2102
 
Jump to post

Re: Editable Y-Axis Lables

Hi maddmike1959, You can use 'click' event on chart container to trigger 'onblur' event on the input. Please check the example below, now if a user changes the textfield value and clicks somewhere on the chart, function 'updateChart' is called. You can adapt this solution to your case. Live demo: ht...
by ppotaczek
Mon Jun 25, 2018 2:09 pm
Forum: Highcharts Usage
Topic: Sorting Options for a highchart bar chart
Replies: 14
Views: 22378
 
Jump to post

Re: Sorting Options for a highchart bar chart

Hi jstark, It looks like there is a problem with 'chart.redraw' method, please check the corrected version: https://jsfiddle.net/BlackLabel/cz7s8vtm/ The sorting buttons are not working because you did not include jQuery to the project. Data labels do not work with 'filter' and multiple series: http...
by ppotaczek
Mon Jun 25, 2018 11:49 am
Forum: Highcharts Stock
Topic: How to use boost.js in my code?
Replies: 2
Views: 3177
 
Jump to post

Re: How to use boost.js in my code?

Hi Eugene, I prepared an example of using boost with multiple charts. You definitely should not paste source code of the Boost to your chart options (it is enough to include modules in a page header). The boost module does not work with Highstock as well as with Highcharts, so maybe that's why you c...
by ppotaczek
Thu Jun 21, 2018 2:31 pm
Forum: Highcharts Stock
Topic: Flag series icons not align on series Highstock
Replies: 10
Views: 2727
 
Jump to post

Re: Flag series icons not align on series Highstock

Hi vijaygudla, I'm afraid I still do not quite understand you. How do you want to align flags when there are more flags than series points? If flags are connected to another series, every flag is align to point, do you want to align more than one flag to one point? Flags can be also independent of a...
by ppotaczek
Thu Jun 21, 2018 11:14 am
Forum: Highcharts Stock
Topic: Flag series icons not align on series Highstock
Replies: 10
Views: 2727
 
Jump to post

Re: Flag series icons not align on series Highstock

Hi vijaygudla,

As I said before, to align flags with data points, onSeries and id properties must have the same value and the same type. If I misunderstood your question, please explain the problem more accurately.

Live demo: http://jsfiddle.net/BlackLabel/mb851px0/

Best regards!

Go to advanced search