Sign in to follow this  
fisherk

Legend not showing all datasets in Scatter XY plot

Recommended Posts

I am using the Scatter Graph and have 15 dataSets with 1 set value in each. The dataSets represent teams. So I am trying to show where all teams are on the chart. the chart works and you can see all the points on the chart, however the ledgend only shows 7 dataSets

 

So there is no easy way to know what point is what team except to pull the mouse over each point.

 

Thanx, Keith

 

Here is the XML

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Share this post


Link to post
Share on other sites

Hi,

Could you please make sure that your XML contains 15 datasets? Becasue we are just getting 12 datasets and we are also able to see all legends w.r.t datasets.

Here is your XML:

<chart palette='3'  labelPadding='1'  xAxisNamePadding ='20' yAxisNamePadding ='20' caption='EQI/ABI by Team'  subCaption='Behind Schedual'  yAxisName='EQI' xAxisName='ABI'  showLegend='1'  showLimits='1' showNames='1' showLabels='1' xAxisMaxValue='1.8' xAxisMinValue='.20' yAxisMaxValue='1.6' yAxisMinValue='.40' >

<categories verticalLineColor='666666' verticalLineThickness='1'>

  <category label='1' x='1' showVerticalLine='1' fontSize='10' />

</categories>

<dataSet seriesName='BusMgt'  anchorBorderThickness='1'  anchorSides='4'  anchorRadius='3'>

 <set label='BusMgt' x='1.03' y='0.98' />

</dataSet>

<dataSet seriesName='DataMgt'  anchorBorderThickness='1'  anchorSides='4'  anchorRadius='3'>

 <set label='DataMgt' x='1.1' y='1.10' />

</dataSet>

<dataSet seriesName='Logistics'  anchorBorderThickness='1'  anchorSides='4'  anchorRadius='3'>

 <set label='Logistics' x='1.22' y='1.30' />

</dataSet>

<dataSet seriesName='Adapter'  anchorBorderThickness='1'  anchorSides='4'  anchorRadius='3'>

 <set label='Adapter' x='0.87' y='1.00' />

</dataSet>

<dataSet seriesName='Team B'  anchorBorderThickness='1'  anchorSides='4'  anchorRadius='3'>

 <set label='Team B' x='0.69' y='1.20' />

</dataSet>

<dataSet seriesName='Cryo'  anchorBorderThickness='1'  anchorSides='4'  anchorRadius='3'>

 <set label='Cryo' x='0.89' y='1.11' />

</dataSet>

<dataSet seriesName='OpsMops'  anchorBorderThickness='1'  anchorSides='4'  anchorRadius='3'>

 <set label='OpsMops' x='0.68' y='0.69' />

</dataSet>

<dataSet seriesName='Team C'  anchorBorderThickness='1'  anchorSides='4'  anchorRadius='3'>

 <set label='Team C' x='1.00' y='1.10' />

</dataSet>

<dataSet seriesName='SCM'  anchorBorderThickness='1'  anchorSides='4'  anchorRadius='3'>

 <set label='SCM' x='0.93' y='0.87' />

</dataSet>

<dataSet seriesName='Team E'  anchorBorderThickness='1'  anchorSides='4'  anchorRadius='3'>

 <set label='Team E' x='0.95' y='1.00' />

</dataSet>

<dataSet seriesName='SE'  anchorBorderThickness='1'  anchorSides='4'  anchorRadius='3'>

 <set label='SE' x='0.00' y='1.50' />

</dataSet>

<dataSet seriesName='TechMgt'  anchorBorderThickness='1'  anchorSides='4'  anchorRadius='3'>

 <set label='TechMgt' x='1.50' y='1.30' />

</dataSet>

<hTrendlines>

 <line startValue='1' displayValue='' lineThickness='1' color='666666' valueOnRight='' />

</hTrendlines>

</chart>

Edited by Guest

Share this post


Link to post
Share on other sites

You are correct there are 12 datasets. So my problem is that the 12 datasets show in the chart but only 6 show in the legend.

 

I have a screen capture of the chart.Is there somewhere I could email it to you?

 

 

 

Thanx for any input..

 

Keith

Share this post


Link to post
Share on other sites

I have the very same problem with other types of charts as well. There seems to be some kind of bug with the Legend box. Some items sometimes disappear. According to my investigations, it depends on the display size of the chart. If your chart is embedded in a html page with no fixed width and height, you'll see some of the items appear and disappear from the Legend box while resizing the browser window.

 

I've tried some workarounds, but none seems to be 100% reliable.

Share this post


Link to post
Share on other sites

Actually, I cannot seem to reproduce the bug with an HTML-embedded FusionChart SWF.

 

I get the bug with a FusionChart instantiated inside another SWF, which is embedded in an HTML page.

 

However, I cannot see why this should make the Legend block size-sensitive.

 

The best workaround I've found so far was adding several spaces plus one dot (or any other character) to the second label (the one that randomly disappears on window resize). This way, the dot (sometimes) disappears, rather that the label itself.

 

 

 


<dataset seriesName='Male' color='6296F1' showValues='0'>

	<set value='2.4' errorValue='0.07' />

	...

</dataset>

<dataset seriesName=[b]'Female    .' [/b]color='FFaaff' showValues='0'>

	<set value='2.05' errorValue='0.07' />

	...

</dataset>

Share this post


Link to post
Share on other sites

Hi,

 

 

 

Please check the scale mode when you load the chart swf inside another swf. You need to set NoScale to preserve the texts from getting distorter. We can also test the issue, if you can send us a scaled down version of your code.

Share this post


Link to post
Share on other sites

Hello,

 

 

 

I have exactly the same issue. Sometimes the last element does not show up in the legend. Strangely enough, when I duplicate the last dataset, it is then showing both properly. When I remove the duplicated dataset, the item does not show. It is really strange. This seems to occur only for legend with position = "RIGHT". When I set it to "BOTTOM" all elements are showing...

Share this post


Link to post
Share on other sites

Hello,

 

We are very excited to announce the release of FusionCharts v3.2 that leverages Flash and JavaScript (HTML5) to create stunning charts. It introduces the new zoom charts, Pareto & Marimekko charts and works with both XML and JSON data.

 

You will be pleased to know that FusionCharts v3.2 comes with the addition of Interactive Legend feature. More details at:

http://www.fusioncharts.com/in/smartcharts/

 

It now works on iPads and iPhones as well. Please visit http://www.fusioncharts.com/ipad/ to find out what's new.

 

Furthermore, with this release, we have changed our licensing policies and pricing for our core products - FusionCharts, FusionWidgets, FusionMaps & PowerCharts.

 

Please share your valuable feedback at: [email protected]

 

Thank you and have a good day. :)

Share this post


Link to post
Share on other sites

Hello,

 

We are very excited to announce the release of FusionCharts v3.2 that leverages Flash and JavaScript (HTML5) to create stunning charts. It introduces the new zoom charts, Pareto & Marimekko charts and works with both XML and JSON data.

 

You will be pleased to know that FusionCharts v3.2 comes with the addition of Interactive Legend feature. More details at:

http://www.fusioncharts.com/in/smartcharts/

 

It now works on iPads and iPhones as well. Please visit http://www.fusioncharts.com/ipad/ to find out what's new.

 

Furthermore, with this release, we have changed our licensing policies and pricing for our core products - FusionCharts, FusionWidgets, FusionMaps & PowerCharts.

 

Please share your valuable feedback at: [email protected]

 

Thank you and have a good day. :)

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

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