Is anyone else getting this?  Anyone know any workaround or 
resolution?

The issue is that the PlotSeries plots on the zero line of my chart 
when there is no data to support it.  In my example the chart should 
only render one plot on the graph, it renders one correctly and then 
others appear at the baseline of the cartesian chart. These "other" 
ones do not have any coinciding xml to warrant a plot on the graph. 

Interesting note: When I add 1 to each of the values in the xml then 
this issue does not appear, but can not have that as a workaround. 
(ex: So the value was 0.92, I made it 1.92) May be value base with 
code when the values of the collection is < n? (Just thinking out 
loud). 
  
Expected Results: 
One plot on the chart and no plots on the baseline. 
  
Workaround (if any): 
 None 

Below is a link to the bug on Adobe.  Inside the site are example 
files that demonstrate this issue

http://bugs.adobe.com/jira/browse/FB-12490

XML CONFIGURATION:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application 
        xmlns:mx="http://www.adobe.com/2006/mxml"; 
        xmlns:qsc="asincludes.src.qs.charts.*"   
        creationComplete="data.send()" 
        styleName="plain">

        <mx:HTTPService id="data" url="plotissue.xml"/>
        <mx:CartesianChart id="priceChart" 
dataProvider="{data.lastResult.seriesData.entry}" showDataTips="true">
                <mx:horizontalAxis>
                        <mx:DateTimeAxis/>
                </mx:horizontalAxis>
                <mx:series>
                        <mx:LineSeries xField="date" yField="price" />
                        <mx:PlotSeries xField="date" yField="sell"/>
                </mx:series>
        </mx:CartesianChart>
</mx:Application>

XML DATA:

<seriesData>
 <entry>
  <date>02/03/2008</date> 
  <price>0.85</price> 
 </entry>
 <entry>
  <date>02/04/2008</date> 
  <price>0.92</price> 
  <sell>0.92</sell> 
 </entry>
 <entry>
  <date>02/05/2008</date> 
  <price>0.90</price> 
 </entry>
 <entry>
  <date>02/06/2008</date> 
  <price>0.84</price> 
 </entry>
 <entry>
  <date>02/07/2008</date> 
  <price>0.84</price> 
 </entry>
 <entry>
  <date>02/08/2008</date> 
  <price>0.82</price> 
 </entry>
</seriesData>


Reply via email to