SeeThePicture

Setting Tooltip Font Size

Recommended Posts

Hi,

 

I have used this code to successfully set the size of tooltip font to 25 when I render via js. Here is the code that I used:

 

<styles>
     <definition>
        <style name='myFont' type='font' isHTML='1' bold='1' size='25' color='FFFFFF' />
        <style name='myToolTipFont' type='font' isHTML='1' bold='1' size='25' color='888888' />
        <style name='myShadow' type='shadow' color='333333' angle='45' strength='3'/>
  </definition>
     <application>
        <apply toObject='tooltip' styles='myToolTipFont' />
        <apply toObject='YAXISVALUES' styles='myFont,myShadow' />
        <apply toObject='DataLabels' styles='myFont,myShadow' />
        <apply toObject='Caption' styles='myFont,myShadow' />
        <apply toObject='SubCaption' styles='myFont,myShadow' />
     </application>
</styles>

 

But when I render via flash, the tooltip font size above (specified by "myToolTipFont") seems ignored. Any suggestions on how to make this tooltip font size take effect for flash?

 

Thanks,

SeeThePicture

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

I have used this code to successfully set the size of tooltip font to 25 when I render via js. Here is the code that I used:

 

<styles>
     <definition>
    	<style name='myFont' type='font' isHTML='1' bold='1' size='25' color='FFFFFF' />
    	<style name='myToolTipFont' type='font' isHTML='1' bold='1' size='25' color='888888' />
    	<style name='myShadow' type='shadow' color='333333' angle='45' strength='3'/>
 	</definition>
     <application>
    	<apply toObject='tooltip' styles='myToolTipFont' />
    	<apply toObject='YAXISVALUES' styles='myFont,myShadow' />
    	<apply toObject='DataLabels' styles='myFont,myShadow' />
    	<apply toObject='Caption' styles='myFont,myShadow' />
    	<apply toObject='SubCaption' styles='myFont,myShadow' />
     </application>
</styles>

 

But when I render via flash, the tooltip font size above (specified by "myToolTipFont") seems ignored. Any suggestions on how to make this tooltip font size take effect for flash?

 

Thanks,

SeeThePicture

 

Hi,

 

I am not able to replicate the same.

 

Please find attached screen-shot for your reference.

post-24802-0-66867500-1340789876_thumb.png

Share this post


Link to post
Share on other sites

Hi,

 

I am not able to replicate the same.

 

Please find attached screen-shot for your reference.

 

Hi Sumedh,

Can you please try it with my XML and with ZoomLine.swf? Here is my XML.

 

-- See attached XML file.

 

 

Thank You,

SeeThePicture

exported2.xml

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi Sumedh,

Can you please try it with my XML and with ZoomLine.swf? Here is my XML.

 

-- See attached XML file.

 

 

Thank You,

SeeThePicture

 

Hi,

 

You would need to apply tooltip style to the DATATOOLTIP object of the chart for flash.

 

DATATOOLTIP refers to the tooltip that appears within the canvas. It is displayed when the mouse hovers over a dataplot. The value of the dataplot is shown in the tooltip.

 

Could you please try using following XML configuration?

 

<styles>
<definition>
<style name="myToolTipFont" type="font" isHTML="1" bold="1" size="20" color="888888"/>
</definition>
<application>
<apply toObject="DATATOOLTIP" styles="myToolTipFont"/>
<apply toObject="TOOLTIP" styles="myToolTipFont"/>
</application>
</styles>

 

 

For more information, refer this URL: http://docs.fusioncharts.com/charts/contents/ChartSS/ZoomLine.html

 

Also find attached modified XML for your reference.

modified_exported2.xml

Share this post


Link to post
Share on other sites

Hi,

 

You would need to apply tooltip style to the DATATOOLTIP object of the chart for flash.

 

DATATOOLTIP refers to the tooltip that appears within the canvas. It is displayed when the mouse hovers over a dataplot. The value of the dataplot is shown in the tooltip.

 

Could you please try using following XML configuration?

 

<styles>
<definition>
<style name="myToolTipFont" type="font" isHTML="1" bold="1" size="20" color="888888"/>
</definition>
<application>
<apply toObject="DATATOOLTIP" styles="myToolTipFont"/>
<apply toObject="TOOLTIP" styles="myToolTipFont"/>
</application>
</styles>

 

 

For more information, refer this URL: http://docs.fusioncharts.com/charts/contents/ChartSS/ZoomLine.html

 

Also find attached modified XML for your reference.

 

Thank you! I look forward to trying that.

 

Meanwhile I wonder if you noticed whether my XML Styles definition and application should work for myShadow for YAXISVALUES.

<apply toObject="YAXISVALUES" styles="myFont,myShadow"/>

 

It is already being worked on via a separate thread (here's the link) but I just thought it might be ok to just mention it here since we're looking at the same section of the same XML.

 

 

Regards,

SeeThePicture

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

Our developers are working on this issue.

 

Meanwhile I wonder if you noticed whether my XML Styles definition and application should work for myShadow for YAXISVALUES.

<apply toObject="YAXISVALUES" styles="myFont,myShadow"/>

 

It is already being worked on via a separate thread (here's the link) but I just thought it might be ok to just mention it here since we're looking at the same section of the same XML.

 

We will update you on this, as it will be resolved.

 

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