Multiple axes chart - baseline issue

Hi all,
I'm currently working on charts (column, bar, line, ..) with
multiple axes (each for one series).
If negative amount values are shown in a chart, the baselines
(for zero values) appears
on different coordinates/levels.
As an example see the code listed below:
<?xml version="1.0"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml">
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
[Bindable]
public var expenses:ArrayCollection = new ArrayCollection([
{Month:"Jan", Profit:2000, Expenses:15},
{Month:"Feb", Profit:1000, Expenses:20},
{Month:"Mar", Profit:1500, Expenses:50},
{Month:"Apr", Profit:100, Expenses:-10}
]]>
</mx:Script>
<mx:Panel title="Column Chart">
<mx:ColumnChart id="myChart" dataProvider="{expenses}"
showDataTips="true">
<mx:horizontalAxis>
<mx:CategoryAxis dataProvider="{expenses}"
categoryField="Month"/>
</mx:horizontalAxis>
<mx:series>
<mx:ColumnSeries xField="Month" yField="Profit"
displayName="Profit">
<mx:verticalAxis>
<mx:LinearAxis id="v1"/>
</mx:verticalAxis>
</mx:ColumnSeries>
<mx:ColumnSeries xField="Month" yField="Expenses"
displayName="Expenses">
<mx:verticalAxis>
<mx:LinearAxis id="v2"/>
</mx:verticalAxis>
</mx:ColumnSeries>
</mx:series>
<mx:verticalAxisRenderers>
<mx:AxisRenderer placement="left" axis="{v1}"/>
<mx:AxisRenderer placement="right" axis="{v2}"/>
</mx:verticalAxisRenderers>
</mx:ColumnChart>
<mx:Legend dataProvider="{myChart}"/>
</mx:Panel>
</mx:Application>
I'm using Flex Builder 3.0.2 /Flex SDK 3.2.
Is this is a bug in flex?
Am i missing something in the mxml/as, or is there a solution
or workaround?
Any hints are highly appreciated.
Regards,
Matthias

The series both work fine on their own, of course, but when
you mix in a series with a negative value, it causes the "floating
columns" because the zero-points on the axes don't line up with
each other.
My suspicion is that this is expected behavior. This would
work with other column chart types (like stacked), as long as you
set allowNegativeForStacked to true (there's an example here:
http://livedocs.adobe.com/flex/3/html/help.html?content=charts_displayingdata_11.html).
But since you want clustered columns, it might be a problem.
If you think it is a bug, you can file one here:
http://bugs.adobe.com/jira
hth,
matt horn
flex docs

Similar Messages

  • Buffered high-speed capture with multiple axes

    Has anyone succeeded in using buffered high-speed capture (on 7350 boards) with multiple axes?
    The capture works really well for me on a single axis, but when I try to use it on 2 axes simultaneously it behaves very strangely.  There seems to be some kind of unwanted interaction between the two buffers which means data points are lost and they often stop updating altogether.
    A very similar question was posted here over a year ago (http://forums.ni.com/ni/board/message?board.id=240&thread.id=4087), which includes a more detailed explanation and an example VI.  Can anyone help?  I'm using LabVIEW 8.5 RT with NI-Motion 7.6 and a 7358 board.
    Thank you,
    Ian

    Hi Ian
    I have been asked working with kostas on this problem for you and just wanted to give you an update as I know its been a while and is an important issue for you. I have been chasing up our specialists in the field and resently had responses of  the kind:
    "Hi Graham
    The issue was found out to be a bug in our motion driver. The issue is being examined by motion R&D right now. I do not know a time frame on when this will be fixed as it is proving to be a tricky problem. I am copying Stuart and Lorne on this since they have been working on it as well.
    Thanks,"
    Be assured that I am chasing it as closely as I can. From your end what is the situation, do you have a work arround that will suffice or are you still waiting on this.
    Thanks for your understanding and I look forward to hearing from you with your current situation.
    best regards
    Graham Green
    Technical Marketing Engineer
    National instruments UK & Ireland

  • I am using Windows 7 Home Premium 64-bit OS.  I've never had this problem before... today I opened iTunes and it prompted me to download the newest version.  I use iTunes all the time and have updated it multiple times with no issues.  During the installa

    I am using Windows 7 Home Premium 64-bit OS.I've never had this problem before... today I opened iTunes and it prompted me to download the newest version.  I use iTunes all the time and have updated it multiple times with no issues.  During the installation process it gave me an error message that said: 
    Runtime error! 
    Program C:\Program Files\iTunes.exe
    R0634
    An application has made an attempt to load the C runtime library incorrectly.
    Please contact the application's support team for more information.
    I quit the installation, uninstalled iTunes and rebooted my computer.  I now receive a similar message with a slight difference:
    Runtime error! 
    Program C:\Program Files (x86)...
    R0634
    An application has made an attempt to load the C runtime library incorrectly.
    Please contact the application's support team for more information.
    I did not leave anything out from the error message.  It doesn't point to a specific file, it just ends with "(x86)..."  Every time I boot up my computer, this error message pops up on my desktop.
    How do I repair this issue?  I have found multiple suggested solutions but am unsure which one is the best, and I don't want to try a bunch of different things for fear I may make the problem worse.  I would like to try and fix this myself if possible but I need to know if that is really possible or if I need to take my computer to someone for repairs.  Any suggestions will be greatly appreciated!!

    Hi lustyln,
    I'm having a little trouble understanding all of what you are trying to explain. From what I can tell, it sounds like your PC has a lot of software problems and you want to know what is supposed to be there and what isn't.
    For reference, here are your product specifications:
    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&dlc=en&docname=c01893242&lc=en&product=4043282
    To get your PC software back to how it was when it was first purchased, run a system recovery:
    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&dlc=en&docname=c01867418&lc=en&product=4043282
    I hope this helps.
    ...an HP employee just trying to help where I can, but not speaking on behalf of HP.

  • Create Multiple Pie Charts with Drill Down capability(foreach in mainreport

    Hello All,
    i need to create a report with 4 pie charts, which should have drilldown capability. i tried to do that, and i can do only for two charts. i need for the rest 2 also.
    Please help.
    Thanks

    See this thread:
    BO Design studio Chart Component issue ...!! | SCN
    If Chart is bound to DS_1 and On Select event of chart is as below:
    DS_2.setFilter(dimension, CHART_1.getSelectedMember(dimension));"
    This works when you click a value on one chart it will select another.
    I haven't tried it with hierarchies.

  • Change colors in multiple pie chart - with legend

    I need to change the colors of groups shown in multiple pie chart diagram in CR XI.
    I managed to actually change the colors in the diagram by using highlighting rules in the wizard. (Sorry, I need to guess the correct English terms since I am using the German version.)
    But the colors in the legend are not affected by the rules, so the legend displays colors which are not shown in the diagrams at all. How can I fix this?
    Thanks in Advance
       Andreas

    Hi Andreas
    I have the same problem.
    I found this BO note:
    https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3131383434373026
    I says that this behaviour is by design and cannot change
    Not what you would expect really! 
    If the series colour can be changed then why does the series marker colour not match the series it represents?
    Patrick

  • Do multiple bindings still causing issues for PowerPivot workbook in SharePoint 2013

    Do multiple bindings still causing issues for PowerPivot workbook in SharePoint 2013 as they did in SP2010? Here is the link about 2010 issue :
    http://support.microsoft.com/kb/2712071

    Hi Norm,
    I searched internally, and I couldn't find any information related to this issue applied to SharePoint 2013, it shouldn't exist in SharePoint 2013.
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Daniel Yang
    TechNet Community Support

  • Multiple series chart with differing dates

    Is there a way to display multiple series on a chart when the
    data for the horizontal axis doesn't match up? For example:
    if data1 (val, date) is (10, 01/05/2008) (15, 02/08/2008)
    (20, 03/01/2008)
    and data2 (val, date) is (8, 01/12/2008) (25, 02/10/2008)
    (30, 03/14/2008)
    how would I get the data to display on a multiple series
    chart. Right now, I am using a CategoryAxis for the horizontal
    axis. If I do something like this:
    hAxis.dataProvider = data1;
    hAxis.categoryField = "date";
    it will show only the series for data1, but not data2.

    Thanks for the reply.
    That link tells you how to add multiple axis to a chart which
    is what I'm doing, but unless you want to have two horizontal axis
    on the bottom (which looks terrible) or put one on the top and one
    on the bottom (which looks awkward), this solution is not very
    good.
    The problem is that the data ranges for the horizontal are
    the same, but the individual timestamps are slightly different,
    sometimes off by only a few hundredths of a second.
    To attempt to work around this, I merged the two arrays, but
    that seemed to mess up the display of the data.
    Is there not a way to just draw the second series on top of
    the first without having to lock it to the axis? It seems like the
    answer is no when using the standard packages. But is there a way
    to override this and get it to draw properly?

  • Swap axes doesn't work with dual axes chart types

    Dear Colleagues,
    I noticed that the function to 'swap axes' doesn't work with dual axes chart types.
    This could be added as a hint to the Application Designer Guide, since it is not mentioned there.
    Thanks, Katharina

    Hi Katharina,
    I recommend making this suggestion to a documentation update on Idea Place at ideas.sap.com
    I like suggestions to the Help myself, something we should all do more often in my opinion
    Tammy

  • HT203242 I get this error when launching itunes "the registry settings used by the itunes drivers for importing and burning CDs and DVDs are missing." I ahve reinstalled iTunes multiple times but the issue remains.....any suggestions?

    I get this error when launching itunes "the registry settings used by the itunes drivers for importing and burning CDs and DVDs are missing." I ahve reinstalled iTunes multiple times but the issue remains.....any suggestions?

    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    iTunes for Windows: "Registry settings" warning when opening iTunes

  • Column Chart with Multiple axes

    Hi folks
    I am using flex 2 charts for displaying data. I want to show my data using column chart with secondary axis. However columns for multiple series are coming one over another. here is the code I have attached:-
    But I want to put columns side by side. Any thoughts will be appreciated.
    Warm Regards
    Rush-me

    Any thoughts?
    Warm Regards
    Rush-me

  • Property node for a chart with multiple axes

    I have created a chart with two y axes, one for each of two data sets
    that I am plotting. From the front panel, I can view the properties of
    the chart and adjust the scales of the two axes separately under the
    Scales tab. I need to, though, adjust the maximum and minimum of these
    axes programmatically. How can I create a property node that refers to
    one of the two y axes, and how can I specify which axis the node is
    referring to? If create a generic YScale:Minimum property node, I get
    an error.
    Thanks for the help,
    TJR

    "...YScale:Minimum property node, I get an error."
    That is curious.
    You can specify the active scale for which the property will be applied.
    The attached demo (in LV 7.1) illustrates how to do this by fist setting the index of the active scale and then updating its property (property nodes execute from top to bottom).
    What error do you get?
    Ben
    Message Edited by Ben on 11-30-2005 08:07 PM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    Set Active Scale.vi ‏27 KB
    Set Active Scale.JPG ‏18 KB

  • Flash chart performance issue with multiple series

    Hi,
    We have a problem with the performace of a line graph which has multiple series.
    I have set up an example application here:
    http://apex.oracle.com/pls/apex/f?p=37504:1
    The application contains two charts. The 'Mulltiple Series' chart has twelve series behind it and allows the user to include mutiple series data. The other chart has just one series.
    The single series chart takes only a couple of seconds to render, however the mutiple series chart takes around 10 seconds even when no additional series have been selected. Using Firebug I have observed that the apex_util.flash procedure is taking around 8 seconds to generate the XML, and it includes null data values for the series that aren't selected.
    My question is how can I make each series conditional, such that no data is included in the XML if the series returns no rows?
    Thanks,
    Andrew

    Hi Andrew
    Have you considered modifying your chart to use a series with the "Query source type" of "Function returning SQL Query"
    Have a look at
    Re: Flash chart - multiple series - no display when some series empty
    My response on that thread may help. I'd be interested to know if this approach improves the performance.
    Kind regards
    Simon Gadd

  • Issue with displaying multiple line charts in same applet at a time

    Can you please help me in displaying the 3 different line charts  in a same applet at at  a time.
    And these 3 line charts  taking the data from 3 different queries.

    An applet can only be fed by a single query template - have you considered the AggregateQuery, or an XacuteQuery?

  • Split dual axes chart sort

    Hi All
    I have a issue which seems to be a bug in CR2008.
    The data should always display a certain data set in the bottom half of the chart irrespective of what employee id is for example USA should always be in the bottom graph.
    Crystal Reports 2008, Xtreme Sample Database.
    For example select employee id = 1 using the select expert then use the
    multi-Axes tab in chart options to set up the following:
    Austria Belgium Canada Italy Japan Mexico to appear on the primary
    Y1 axis and USA on the secondary Y2 axis. After doing this the split
    graph displays with USA in the bottom.
    Now change the employee id = 9 using the select expert. The desired
    outcome is that USA is still in the bottom of the split graph however
    after refreshing the data USA has moved to the top. Change the employee
    id = 6 now Mexico is on the bottom.
    It appears that the data is not selecting on the description but
    on some other key that is dynamically associated with the description.
    Angel

    Hi Angel,
    Can you please specify which Type of chart you are trying to use?
    Regards,
    Anindita

  • PhotoStream: Multiple Devices and Performance Issues

    Had a bad night last night with PhotoStream. I have an iPhone 4S (AT&T), my wife has an iPhone 4 (VZW), we have an iPad 1 (Wi-Fi), Apple TV 2 (Ethernet), and a 2011 Mac Mini (Wi-Fi)... all in the same house that has a Time Capsule and is connected to AT&T DSL service, 3.0Mbps service (average speed test results are 2.65Mbps down, 315kbps up). Oh yeah, there's a micro-cell in there too but anytime there's trouble that gets shut off first so its irrelevant for this discussion.
    So yesterday was Halloween and we both took alot of photos away from the house with the iPhones. Got home, started using the internet, noticed the performance was HORRIBLE. Speed test showed over 1,000 ms ping latency (I still can't believe I actually waited for it to finish the ping test) and nothing was getting through for the download / upload test. I have never (believe it or not) with AT&T DSL seen it get this bad. Its been bad before, don't get me wrong, but this was surprising even to me.
    How did I come to the conclusion that PhotoStream was my issue you may ask? Well, its sort of a long story, but bear with me... The other day, we started having trouble with the Apple TV 2, which for the most part is pretty solid. My wife was streaming Netflix movies and it was stopping every 30 seconds. It was looking at this issue that had me first raise suspicions about PhotoStream. Just days before this problem started, I had enabled PhotoStream on the Apple TV 2. SO I did the first most logical thing anyone could do, I took a step back and disabled it. Problem solved. Thought nothing of it, yeah I was a little discouraged that I couldn't use it on the Apple TV 2, but not a big deal, my favorite part of PhotoStream is using it to get the photos into iPhoto without having to plug the iPhones in so I said to myself "I'll just keep putting the photos into Events and Albums until they work out the kinks on the AppleTV 2" thinking perhaps the Apple TV 2 needs to not update PhotoStream while videos are being played. They can fix that at some point, right? Sure they can.
    Now, back to this other issue. My bandwidth last night was completely crapped out, and I was determined to prestige on Black Ops one last time so this had to change STAT! I mean, come on! I was at Level 47 and I was ready to GO! My internet connection just wasn't having it. I powered off the router, rebooted the modem, and powered on the rotuer again. Everything came up beautifully. I jumped into some Nuketown 24/7, 4 green bars next to my name and I was happy. After we lost Bravo, which on Nuketown takes about a minute and a half if both teams are fighting over it, I'm lagging like crazy and I have that little red bar that no one likes to see next to my name. Sure enough, speedtest results are all whacked out again.
    So I'm sitting there thinking to myself, what could this be? My wife was watching cable TV, my son was asleep... essentially the Xbox 360 was the only thing trying to use the internet... I thought... until I remembered our iPhones and the photos we had just taken and all the devices that would be simultaneously trying to update PhotoStream. Let's list them again, shall we?
    iPhone 4S - Upload to Stream and Download from Stream
    iPhone 4 - Upload to Stream and Download from Stream
    iPad 1 - Download from Stream
    Mac Mini - Download from Stream
    So how can I prove this crazy theory of mine that the great and wonderful PhotoStream was choking my internet connection? Simple.
    iPhone 4S - PhotoStream OFF
    iPhone 4 - PhotoStream OFF
    iPad 1 - PhotoStream OFF
    Mac Mini - PhotoStream OFF
    Speed test results immediately after doing this?
    2.73Mbps down / .31Mbps up with 26ms ping time (used the Speedtest.NET app on the 4S).
    Sadly, this means that for now, I cannot use PhotoStream, however I did manage to Prestige on Black Ops which made me happy, and the iPhone 4S can still be plugged into the Mac Mini to download my wonderful looking photos.
    That's right, I didn't throw away the charger cables just yet and if you want to start talking about iTunes Wireless Synching with multiple devices in the same house, I can gladly take up some more of your time. Thats right, its OFF as well!

    I just wanted to report that this is still an open and particularly nefarious bug.  I've got a fairly idealized Apple household with 2 iPhone 4's, a 'new' iPad, a 13" Macbook Pro, Airport Express and our most recent addition this weekend... an Apple TV. 
    While I had no particular interest in enabling Photo Stream, I turned it on while messing with the screen saver settings and didn't think anything about it.  As I began to play with my new toy I was immediately disappointed with all the long spinners and timeouts in Netflix.  Later that day I noticed my computer and iPad were having similar connection issues.  My first thought was 'oh, Comcast must be acting up, that's why my new Apple TV isn't working so well'.
    Fast forward 3 days to today and our network issues were still occuring and I decided I needed to figure out what was going on.  After mucking around in network settings for a couple hours I half-jokingly decided to disconnect the AppleTV on the whim that the issues started at the same time I hooked it up.  Sure enough my network issues disappeared.  I even went so far as to run continuous pings to various IP's outside my home network and watch the timeouts come & go as i plugged/unplugged my ATV.  Now knowing the ATV was the problem I set out to figure out what in particular was causing it.  As soon as I signed out of Photo Stream everything was working perfect again.  Netflix on the ATV is quick & responsive, no more spinners or timeouts.  My other devices aren't plagued with random disconnects, dns failures or slow downloads.
    Long story short, something is bugged in AppleTV's Photo Stream support.  Mine didn't appear to be downloading any new photos, it had stopped with 255 photos downloaded.  Not sure if that was all I had in iCloud or maybe AppleTV can only pull down 255 max?  Maybe 255 is the magic number where it hits the bug that causes this behavior?  Either way, it appeared to be only affecting the outgoing internet connection, when I had a continous ping going to another machine on my internal LAN it didn't appear to get affected.
    Hope this helps someone at Apple track down the bug.  While someone technical can probably troubleshoot these issues I could see someone like my mom never putting the 2 + 2 together that her internet problems started around the time she enabled Photo Stream on her AppleTV and instead blaming it on 'the internet acting up again' and of course calling me months later to look into it for her.

Maybe you are looking for

  • ITunes 7.7 - Can't open! Error message - PLEASE HELP!

    Hi, I've recently updated to iTunes 7.7 and now I can't open iTunes. I've tried reinstalling itunes, quicktime and even did a system restore, but still couldn't get iTunes to work. Btw, I'm running XP pro w/ SP3. The error message I get is this: And

  • T.code for budget report

    Hi guru,      Any T.code is there for the budget report(Planed,Actual,Deviations) Regards, Raju

  • Mapping to Cluster Resources

    Hi All Anyone had any luck mapping drives to cluster resources? My NCL will map just fine to any standard 6.5 servers but will not show up any cluster resources from the browse option for mapping drives. Anyone got this working? Ta Martin

  • How do you position an image inside a photo box?

    I'm trying to create a 20 page 16x8 book and I cannot figure out how, after putting a photo box on the page, and dropping an image into it, how do I move the image around inside of it. For instance if I create a square photo box, how do I position a

  • UB doc type for Purchase requisition

    Hi Please inform is it standard to have UB type purchase requisition. regards arvind