roach
Posts: 52
Joined: Mon Jun 08, 2009 9:24 pm

Non-clickable "credits"?

I'm trying to get a non-clickable "credits" string to display at the bottom of my chart, but when I set the "href" option to null or an empty string, the credits still appear as a clickable link, but clicking refreshes the page. Is there any way to display these credits as a <span>, rather than an <a> link?
torstein.honsi
Site Admin
Posts: 9215
Joined: Thu Nov 09, 2006 11:22 am
Location: Vik i Sogn, Norway

Re: Non-clickable "credits"?

You can't set it to display a span without actually editing the source code, but if you set the href to "javascript:;" it will do nothing. Then you can add cursor: 'default' to the style and your users won't notice a thing.
Torstein Hønsi
CTO, Founder
Highsoft

Return to “Highcharts Usage”