Sign in to follow this  
teralco

Link On Xaxis Labels

Recommended Posts

Hi, i'm trying to apply styles to get html links on xaxis label but it's not working.

 

It seems that html is being parsed as the tooltip shows the html and the label only the text.

But the link is not working.

 

I'm using the enterprise version and HTML5 charts.

 

Here is my code:

 

<chart caption='Total ingresos gastos' isHTML='1' pieRadius='80' pieYScale= '60' baseFont='Verdana' baseFontSize='9' manageLabelOverflow='1' enableSmartLabels='1' xAxisName='x' yAxisName='y' bgColor = 'FFFFFF' borderColor= 'FFFFFF' numberSuffix = ' €' decimalSeparator=',' thousandSeparator='.' formatNumberScale='0' exportShowMenuItem='1' exportType='PNG=Exportar a PNG|JPG=Exportar a JPG' exportEnabled='1' exportAtClient='0' exportAction='download' exportHandler= '/FCExporter'>
<categories>
<category label='<a href="javascript:alert('hola')">Hello</a>'/>
</categories>
<dataset>
<set elements...
</dataset>
<styles>
<definition>
<style name='MyFirstFontStyle' type='font' isHTML ='1'  />
</definition>
<application>
<apply toObject='DATALABELS' styles='MyFirstFontStyle' />
<apply toObject='XAXISNAME' styles='MyFirstFontStyle' />
</application>
</styles>
</chart>

 

thanks!

post-27896-0-69922100-1333524688_thumb.png

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

Adding links on the x-axis labels is not supported, as of now.

 

Thanks for your time and support.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this