chrisramakers

Disable Tooltips In Only A Part Of The Available Datasets

Recommended Posts

Hi,

 

I'm currently trying to disable the tooltips on the lines in my MSCombi2D chart but can't get it to work. On what element should i set the showTooltips attribute to only disable the toolips for the Line anchors but still show them on the bars?

 

<?xml version="1.0"?>
<chart showNames="0" showValues="0" showLabels="1" showShadow="0" drawAnchors="1" anchorRadius="3" anchorBorderThickness="1" lineThickness="2" decimalSeparator="," thousandSeparator="." bgAlpha="0" showBorder="0" showPlotBorder="0" plotGradientColor="" plotFillAngle="0" plotFillAlpha="100" numVDivLines="10" divLineAlpha="20" canvasBgAlpha="0,0" canvasBorderAlpha="0" showYAxisValues="0" toolTipBgColor="FFF5EA" toolTipBorderColor="CF9D67" legendBgAlpha="0" legendBorderAlpha="0" legendShadow="0">
<categories>
 <category label=" 7/12"/>
 <category label=" 8/12"/>
 <category label=" 9/12"/>
</categories>
<dataset seriesName="steps" color="FF8F0F">
 <set value="14280" toolText=" 7 dec  833 kcal  14280 steps  0 aerobic"/>
 <set value="5503" toolText=" 8 dec  321 kcal  5503 steps  5143 aerobic"/>

 <set value="0" toolText=" 9 dec  0 kcal  0 steps  0 aerobic"/>
</dataset>
<dataset seriesName="aerobic steps" color="E92B3D">
 <set value="0" toolText=" 7 dec  833 kcal  14280 steps  0 aerobic"/>
 <set value="5143" toolText=" 8 dec  321 kcal  5503 steps  5143 aerobic"/>
 <set value="0" toolText=" 9 dec  0 kcal  0 steps  0 aerobic"/>
</dataset>
<dataset seriesName="steps target" renderAs="Line" color="9B5200" anchorBgColor="9B5200">
 <set value="4400" />

 <set value="4400" />
 <set value="4400" />
</dataset>
<dataset seriesName="aerobic steps target" renderAs="Line" color="601218" anchorBgColor="601218">
 <set value="2000" />
 <set value="2000" />
 <set value="2000" />
</dataset>
<styles>

 <definition>
  <style name="labelsFont" type="font" color="AFAFAF"/>
 </definition>
 <application>
  <apply toObject="DataLabels" styles="labelsFont"/>
 </application>
</styles>
</chart>


Edited by chrisramakers

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Welcome to FusionCharts Forum! smile.gif

 

I am afraid, FusionCharts does not support <showToolTip='0'> attribute inside the <set> element to disable the tooltip for that dataplot, as of now.

 

As a work around, you would need to use toolText attribute as blank in that <set> element.

 

Ex: <set value="14280" toolText=" "/>

 

Hope this helps.

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