hfrntt
Posts: 6393
Joined: Mon Aug 30, 2010 8:41 am
Contact: Website

Re: Programmatically setting chart title

For now you can use this instead: http://jsfiddle.net/hfrntt/RhF3J/31/
Slawek Kolodziej
Highcharts support team
malonso
Posts: 62
Joined: Fri Mar 26, 2010 3:52 pm

Re: Programmatically setting chart title

So it looks like there might be an issue when using a secondary y-axis if the if the original text for that access was empty.

http://jsfiddle.net/X5Jmz/13/

If you originally set the text for the axis to "a", everything runs just fine. Sorry if I am missing something obvious.
hfrntt
Posts: 6393
Joined: Mon Aug 30, 2010 8:41 am
Contact: Website

Re: Programmatically setting chart title

Yes, but if you set title to " " (with space inside) it works, see: http://jsfiddle.net/hfrntt/X5Jmz/15/
Slawek Kolodziej
Highcharts support team
malonso
Posts: 62
Joined: Fri Mar 26, 2010 3:52 pm

Re: Programmatically setting chart title

Hey Slawek,

For sure. That is actually how I ended up dealing w/it but not until after banging my head against my desk for like 40min.

I just wanted to point that out for anyone else that might run into the same issue I did. I know there are much bigger fish to fry but it might not be intuitive to most users that as soon as the 2nd axis is set to an empty string, it becomes completely inaccessible even though it had been accessible previously. Also thought I would put it out there in case it was something easy to fix.

I didn't have time to try it but I am not sure if there would be an adverse impacts if a user had a styled axis whose background color differed from that of the chart background. In this scenario, a user could have a little square show up on the chart just so that they can eventually access the alternate axis label.

I really do appreciate the phenomenal tool you guys have built thought. Hats off.

Return to “Highcharts Usage”