MartinS

Tooltip displays when series alpha 0

Recommended Posts

I am trying to create a 'floating' stacked column chart, and to do this, have created a series which I set as not visible by setting the border and fill to alpha=0.  Now, the problem is that the default tooltip text still displays when you hover over the empty space where the 'hidden' series is - why does this happen?  Does the tooltip not take it's properties from the series, and therefore should be invisible too?  Have tried setting the tooltext attribute to '' but still no joy.

The xml for the dataset tag is set to:

alpha='01' includeInLegend='0' anchorAlpha='01' anchorBgAlpha='01'

Any ideas or suggestions as to how to fix this?

Thanks

Martin

Edited by Guest

Share this post


Link to post
Share on other sites
Guest Rajroop

Hey Martin,

 

 

 

I'm afraid this is not possible, as of now. The 'tooltip' attribute may be disabled. However, it's has a global application(in the <chart> element) and not local i.e. at the <set> element level. :)

Share this post


Link to post
Share on other sites
Rajroop (5/13/2010)
Hey Martin,

 

I'm afraid this is not possible, as of now. The 'tooltip' attribute may be disabled. However, it's has a global application(in the <chart> element) and not local i.e. at the <set> element level. :)

Hi

That's really disappointing :)

Is there any other way to produce a 'floating' column chart?  I have used a stacked column, and set the visibility of the first few series to achieve a 'floating' column.

Thanks

Martin

Share this post


Link to post
Share on other sites
Guest Rajroop

Hey Martin,

 

 

 

I'm afraid to ask, but, would this help?

 

 

 

Looking forward to your post on this.

Share this post


Link to post
Share on other sites

Thanks - I wasn't sure at first, but it does look like we can use that to achieve what we need - we have purchased the PowerCharts package as well, so that works out well.

I'll come back and ask a specific question about this chart type if I need more help.

Martin

Share this post


Link to post
Share on other sites
Guest Rajroop

Hey Martin,

 

 

 

Always a pleasure to be of any help. Glad to know that this solution will serve your purpose.

 

 

 

You are always more than welcome to post your queries here.

 

 

 

Till the next time, Happy FusionCharting.

Share this post


Link to post
Share on other sites

Hi

One quick question on this - the waterfall chart is no good for one particular chart required as it's a stacked chart that I am trying to display, so I have to continue to use the stacked column and display the tooltext even when the series is not visible. 

As a work around, I tried setting the tooltext attribute for each datapoint to be string.empty, but that gets overridden with the default tooltext - surely if you set the tooltext attribute to anything (even an empty string) it should take that as the text to display?  The only way it does seem to work is to set the text to ' ' (i.e. a single space), but when you hover, you get a small block where the empty space is displaying in the tooltext pop-up.

Can you confirm this is another limitation of the Fusion charts please.

Thanks

Martin

Share this post


Link to post
Share on other sites
Guest Angie

Dear User,

 

We are delighted to announce that PowerCharts is now ready for your iPads and iPhones too. We have just released PowerCharts v3.2. Starting v3.2, PowerCharts has HighCharts embedded within it, and offers both Flash and JavaScript (HTML5) charting . The Flash charts are displayed on a majority of devices and the JavaScript charts on devices that do not support Flash, all of it without writing a line of code.

 

Automatic rendering of JavaScript charts on devices (like iPad and iPhone) where Flash player is not supported.

 

5 new chart types:

 

Heat Map Chart

 

Box and Whisker Chart

 

Step Line Chart

 

Error Line Chart

 

Error Scatter Chart

 

 

* Support for JSON data format.

 

* Support for LinkedCharts, where a single data source controls multiple charts.

 

* Interactive legends in charts allow selective showing/hiding of data series.

 

* Legends now support icons for each data series.

 

* Better management of labels on charts.

 

* Labels now have an auto rendering mode to prevent them from overlapping, the chart selects the best display mode depending on the length of the labels and the width of the chart.

 

* Long labels are truncated, with ellipses appended to the truncated end of each label, and a tooltip bearing the completed label text is displayed when the user hovers over a truncated label.

 

* Support for line breaks and wrapping in all text elements including: caption, sub caption, X-axis title, Y-axis title, Labels and tooltips.

 

* In Line charts, data values can now be positioned either above or below the dataplots. Automatic positioning of data values is also supported.

 

* In Step-line charts dataplots can be joined using vertical lines.

 

* Custom alignment of caption and sub caption using STYLES.

 

* Advanced print management using JavaScript.

 

* Additional options for efficient event handling using JavaScript.

 

* Support for dynamic update of chart properties using JavaScript(barring select scatter and drag charts).

 

* Charts now support % based sizes along with dynamic resizing (barring select scatter and drag charts).

 

 

Learn more about everything new in PowerCharts v3.2 at : http:/ www.fusioncharts.com/PowerCharts/

 

We would love to hear from you at: http://www.fusioncharts.com/contact/

Share this post


Link to post
Share on other sites

Hi

 

One quick question on this - the waterfall chart is no good for one particular chart required as it's a stacked chart that I am trying to display, so I have to continue to use the stacked column and display the tooltext even when the series is not visible.

 

As a work around, I tried setting the tooltext attribute for each datapoint to be string.empty, but that gets overridden with the default tooltext - surely if you set the tooltext attribute to anything (even an empty string) it should take that as the text to display? The only way it does seem to work is to set the text to ' ' (i.e. a single space), but when you hover, you get a small block where the empty space is displaying in the tooltext pop-up.

 

Can you confirm this is another limitation of the Fusion charts please.

 

Thanks

 

Martin

 

I got the same problem with the Stacked Chart. Any solution to hide the tooltip yet?

 

post-28706-0-12495700-1348211116_thumb.png

Share this post


Link to post
Share on other sites
Guest Sumedh

Hey,

 

Can you please elaborate more on your issue?

 

It would be helpful, if you can provide chart XML also.

 

 

 

Share this post


Link to post
Share on other sites

I only modified the data source of the Stacked Column chart sample bundled with FusionCharts 3.2.2. The file is StCol2D1.js

var dataString ='<chart caption="Product Comparison" showLabels="1" showvalues="0" numberPrefix="$" showSum="1" decimals="0" useRoundEdges="1" legendBorderAlpha="0">\n\

<categories>\n\

<category label="Product A" />\n\

<category label="Product B" />\n\

<category label="Product C" />\n\

<category label="Product D" />\n\

<category label="Product E" />\n\

</categories>\n\

<dataset seriesName="2004" color="AFD8F8" showValues="0">\n\

<set value="256.34" />\n\

<set value="201.82" />\n\

<set value="173.76" />\n\

<set value="354.15" />\n\

<set value="381.68" />\n\

</dataset>\n\

<dataset seriesName="2005" color="F6BD0F" showValues="0">\n\

<set value="200" showValues="0"/>\n\

<set value="0" toolText="" alpha="0.1"/>\n\

<set value="0"/>\n\

<set value="0" alpha="0.1"/>\n\

<set value="0" alpha="0.1"/>\n\

</dataset>\n\

<dataset seriesName="2006" color="8BBA00" showValues="0">\n\

<set value="450.65" />\n\

<set value="448.76" />\n\

<set value="187.18" />\n\

<set value="775.31" />\n\

<set value="926.68" />\n\

</dataset>\n\

</chart>';

 

 

So, if <set value="0" toolText="" alpha="0.1"/>, the empty bar won't be displayed, but the tooltip is still there.

Hey,

 

Can you please elaborate more on your issue?

 

It would be helpful, if you can provide chart XML also.

 

 

 

Share this post


Link to post
Share on other sites
Guest Bindhu

Hi,

 

I am unable to replicate the issue with the latest version of FusionCharts XT(v3.2.2 SR4).

 

I am unable to see any tool tip.

 

Hope this helps!

Share this post


Link to post
Share on other sites

My version is FusionCharts XT (v3.2.2) Service Release 3 (Released on 12th March, 2012). Where can I see the release notes of these Service Releases?

 

Can you double check the sample? Of course, the tooltip only shows up when you hover the mouse on it.

 

Regards,

Hung

 

<dataset seriesName="2005" color="F6BD0F" showValues="0">\n\

<set value="200" showValues="0"/>\n\

<set value="0" toolText="" alpha="0.1"/>\n\

<set value="0"/>\n\

<set value="0" alpha="0.1"/>\n\

<set value="0" alpha="0.1"/>\n\

</dataset>\n\

Hi,

 

I am unable to replicate the issue with the latest version of FusionCharts XT(v3.2.2 SR4).

 

I am unable to see any tool tip.

 

Hope this helps!

Share this post


Link to post
Share on other sites

Thank you, bindhu.

 

I have downloaded SR4. There's definitely some changes to the tooltip of Stacked Chart; however, in some cases, the tooltip still shows up.

 

Please try this sample data with the Stacked Chart example, and take a look at my screenshot:

 

 

<dataset seriesName="2005" color="F6BD0F" showValues="0">\n\

<set value="0" tooltext="" alpha="0.1" />\n\

<set value="0" alpha="0.1" />\n\

<set value="0" alpha="0.1" />\n\

<set value="0" alpha="0.1" />\n\

<set value="0" alpha="0.1" />\n\

</dataset>\n\

 

Again, let me rephrase the root cause, for a <set value="0" />, there should be no line to represent it (no tooltip, but the series still should be in the legend box).

The reason why I set the alpha="0.1" instead of "0" is that if all 5 sets in the series has alpha="0", the series name disappears from the legend box automatically. It'd better to have keep the series in the legend box intact no matter what.

post-28706-0-49529300-1348483926_thumb.png

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