Stacked BarChart issue
Hi there,
I'm having a kind of "random issue" going with my Flex app.
I've got a component with a BarChart in it, that has two stacked
series, that represent assets/debt from a bank account.
Sometimes, a Serie doesn't display, having the space reserved
for it, but not showing. The behaviour just happens from time to
time, and can't specify the circumstancies. I attach these two
links to captures of the component for a better understanding...
(two different executions of the same code).
- BarChart displayed correctly
here
- BarChart displayed wrong
here
The code is nothing strange... basically:
<mx:SeriesInterpolate id="interpol" duration="1000"/>
<mx:Stroke id="st" weight="1" color="0xEEEEEEEE"
alpha=".6" caps="square"/>
<mx:Stroke id="axis" weight="1"/>
<mx:Stroke id="callouts" weight="2" color="0x999999"
alpha=".8" caps="square"/>
<mx:HBox width="100%" horizontalScrollPolicy="auto"
verticalScrollPolicy="off" id="monthChartBox"
horizontalAlign="center" paddingTop="-15" paddingBottom="-15">
<mx:BarChart id="theChart" paddingLeft="-4" width="100%"
height="100" type="stacked" showDataTips="false"
dataProvider="{Model.getInstance().graphObject}"
mouseEnabled="false">
<mx:series>
<mx:BarSeries id="assetsSeries" xField="assets"
stroke="{st}" showDataEffect="{interpol}" width="100%">
</mx:BarSeries>
<mx:BarSeries id="debtSeries" xField="debt" stroke="{st}"
showDataEffect="{interpol}" width="100%">
</mx:BarSeries>
</mx:series>
<mx:verticalAxis>
<mx:CategoryAxis title="" id="vax"/>
</mx:verticalAxis>
<mx:horizontalAxis>
<mx:LinearAxis id="hax"
maximum="{Model.getInstance().maxGraphValue}"/>
</mx:horizontalAxis>
<mx:backgroundElements>
<mx:GridLines visible="false">
</mx:GridLines>
</mx:backgroundElements>
<mx:horizontalAxisRenderers>
<mx:AxisRenderer axis="{hax}" width="0" height="0"
visible="false" showLabels="false" axisStroke="{axis}" />
</mx:horizontalAxisRenderers>
<mx:verticalAxisRenderers>
<mx:AxisRenderer axis="{vax}" width="0" height="0"
visible="false" showLabels="false" axisStroke="{axis}"/>
</mx:verticalAxisRenderers>
</mx:BarChart>
</mx:HBox>
I'm not sure, but I've got the impression that if I remove
the interpolation show data effect I don't get the problem. Makes
sense to anyone?
thanks,
Marc
If I put it like this In WHEN-NEW-FORM-INSTANCE trigger check the PROFILE CODE and display the stacked canvas based on the value in PROFILE CODE---
Then content canvas will be shown first(Page1) ,then user will select profile code, depending upon the profile code selected ,either page2 (stacked canvas) or page3(stacked canvas) will be shown.
But I want whenever user opening the form ,page1 & page2 should show by default.then user will select profile code.if profile code is for page2 ,it should stay in that (default) page only.If profile code is for page3 then it will automatically go to page3 along with page1.
Similar Messages
-
Bar label missinng in a stacked barchart
Hi,
I have a stacked barchart. I have bar labels with labelposition="inside".
When the bar heights of consecutive bars are very small, bar labels of the bars in the inside of the outer bars are ignored or not displayed. Have any of you faced this problem, and if you have found a resolution, could you please share it with me. Looks like the label renderer just ignores the label if there is not enough space to draw it.
I have also attached the problem I have mentioned here in the chart. You can see the datatip for the bar but the label for that bar is not drawn in the chart.
Thanks Saroj.I've find a thread related to my problem Help need in Stacked bar vertical - No data found message
It seems that to make a stacked bar working fine you need to build your queries with outer join a create a default 0 value with nvl. If you do so the chart display values correctly. -
Reporting security-related stack overflow issue
How should I report a potentially security-related stack overflow issue that I encountered that lead to a QuickTimePlayer crash?
The most certain way to report a true bug (as opposed to a comment or feature request) is to sign up as an Apple Developer - the online membership is free - and report the bug through the bug reporter.
Otherwise, report it through the QuickTime Feedback page.
Regards. -
Need help with an Aforge and windows forms memory stack-up issue
Hello,
I am experiencing a strange memory stack-up in my c# windows form program that occurs all the time on slow PCs, and when the windows form loses focus or is otherwise interrupted on faster PCs.
The program I have written uses Aforge to get images from my webcam, which I then display in an Aforge picturebox control (CurrImagePic in code) in the windows form. The images are switched into the picture box and then disposed at the camera's native
framerate, so it appears as video to the user, not still images. The picture box is 1080x1920, but the space for it in the form is smaller and so I allow the user to scroll around the picture.
After about ~30 seconds of memory-stable operation on slower PCs, the problem begins. On faster PCs, the problem only occurs when holding down scroll bar arrows or clicking and dragging around either scroll bar, and if I lock the PC or bring up the
Ctrl+Alt+Delete menu.
The problem itself is that memory used by the program starts to increase in very large chunks, leading to an out of memory crash. This is unstoppable on slower PCs, but on the faster PCs if you stop scrolling or return from the lock/Ctrl+alt+delete
menu, the program stabilizes at the higher memory usage level. The memory that was accrued during scrolling or while in the lock menu is never collected by the garbage collector. I've even tried to put in a button that forces a GC.collect() when
pressed, and it does not reduce this memory usage.
I've run perfmon and found that the memory increase is on the unmanaged heap, but I don't know if it's coming from bitmaps which are not being disposed or what it could be from. It's been impossible to track down since it does not occur except in the
above conditions. I've tried various solutions (like moving my image processing out of the event handler and even using both global flags and a "lock" statement to try and ensure that only one thread or frame can access the image processing
and displaying method at at time, but I have seen no change. In fact, I am now seeing some unexplained small jumps in memory usage that I wasn't seeing before I put in the lock and moved the processing out of the handler.
Has anyone run into situations like this? I am at a loss for what I need to fix. I think the problem is based around my Aforge event handler and image processing method if it is in my code at all - but I also have a suspicion that this is something
deeper in the windows form code that I am either misusing or that can't keep up with the demands of my code. Code below:
//Applicable Globals to this code snippet
private bool ALLOWFRAME = true;
private Object FRAMEKEY = new Object();
private VideoCaptureDevice COMPVID;
private Bitmap TMPLTCAP;
private System.Drawing.Image OLDIMAGE;
private bool RCRDPIC = false;
private void COMPVID_NewFrame(object sender, NewFrameEventArgs eventArgs)
//Only process a frame when another is done processing
if (ALLOWFRAME == true)
ALLOWFRAME = false;
Bitmap PassFrame = AForge.Imaging.Image.Clone(eventArgs.Frame);
ProcessFrame(PassFrame);
PassFrame.Dispose();
private void ProcessFrame(Bitmap frameIn)
lock (FRAMEKEY)
if (OLDIMAGE != null) { OLDIMAGE.Dispose(); }
//Call comparison method if flag is set.
if (COMPON == true)
Difference TmpltFilter = new Difference(TMPLTCAP);
TmpltFilter.ApplyInPlace(frameIn);
OLDIMAGE = CurrImagePic.Image;
CurrImagePic.Image = AForge.Imaging.Image.Clone(frameIn);
OLDIMAGE.Dispose();
else
OLDIMAGE = CurrImagePic.Image;
CurrImagePic.Image = AForge.Imaging.Image.Clone(frameIn);
OLDIMAGE.Dispose();
//Toggle the flag back to false to show it's safe (i.e., comparisons have stopped)
//for the result-recording method to copy from the picture box if it is attempting to copy
if (RCRDPIC == true)
RCRDPIC = false;
ALLOWFRAME = true;As you are using third party tools and controls, and I cannot find posts on parallel cases using native VS controls, have you asked in the Aforge forums about your memory issue?
http://www.aforgenet.com/aforge/framework/ -
ABAP+JAVA STACK STARTING ISSUE a Work Around
Dear Users,
I recently got an issue in duel stack where in Java stack was not coming up. According to the Trace file i was about to follow the SAP Note: 940893. But everything was fine for me. Then i tried a work around. I started Java first and then after sometime ABAP. It worked for me. Might be useful for others as a work around. If useful make know. If i am wrong again let me know.Hi Manjesh,
Then i tried a work around. I started Java first and then after sometime ABAP. It worked for me.
It looks like Server has insufficient memory to hold ABAP+ JAVA stack.
You can think of the following
1) Reduce the no of WPs in ABAP stack
2) Reduce the JAVA memory settings to half using configtool
3) Restart both ABAP and JAVA
4) Check the results.
Hope this helps.
Regards,
Deepak Kori -
1st issue:-
I have created 3 pages layout under same .fmb
Out of those , page1 I have made in content canvas & 2 layout(Say page2 & page3) I have made in two different stack canvas.Page1 contain two text field- 1.NAME 2. PROFILE CODE.
when user open it page1 (content canvas) & page2 (1st stack canvas) should show .For a specific value in PROFILE CODE (say JAPAN) profile code (page1+page3) should open.& for all other profile codes (page 1+page2) should remain,irrespective of whatever value in NAME.
Please tell me how can I do this??
1. Please help me with a sample code & also where (in which trigger) I should write the condition.
2. What all changes are required in property palette?
3. will both the canvas will be on the same window?
2nd issue:-
I have tried
In the Object Navigator, under the Canvases node, double-click the content canvas' object icon. In the Layout Editor, choose View | Stacked Views.
and could see both the page1+page2 there from layout editor.
BUT while I run it its showing only the page1(content canvas)
Please help me out.....
Thanks in advance..
Edited by: 977083 on Dec 29, 2012 5:09 AMIf I put it like this In WHEN-NEW-FORM-INSTANCE trigger check the PROFILE CODE and display the stacked canvas based on the value in PROFILE CODE---
Then content canvas will be shown first(Page1) ,then user will select profile code, depending upon the profile code selected ,either page2 (stacked canvas) or page3(stacked canvas) will be shown.
But I want whenever user opening the form ,page1 & page2 should show by default.then user will select profile code.if profile code is for page2 ,it should stay in that (default) page only.If profile code is for page3 then it will automatically go to page3 along with page1. -
Stacked BarChart with drag and drop
Hi,
I have a BarChart with a stacked BarSet that can be drag and
dropped. The problem is that when I click on a BarSeries in the
chart to initiate a drag, only that BarSeries is being visually
dragged. I would like to visually drag all the BarSeries in the
stacked BarSet.
This is better explained with a "picture". Suppose I have the
following stacked mini-chart:
XXXXXYYYYYYYYYYYYYYZZZZ
XXXYYYYYYYYYZZZ
XXXXXXXXXXXXXXXXXXXXXXYYYYYYYZZZ
XXYYYYYYYYYYYZZZ
XXXYYYZZZZZZZZZZZZZZZZZZZ
Here X, Y and Z are BarSeries. When I click on ZZZ to
initiate a drag, only the ZZZ is visually dragged. I understand
that this is okay, but in my case I want to see XXXYYYZZZ visually
dragged.
How can I do this?
Cheers,
Andrej"mavdzee" <[email protected]> wrote in
message
news:gavo13$lpu$[email protected]..
> Does anybody know this? How can I select sub-bars in a
stacked BarSeries
> in ActionScript? Is this possible?
At a guess, I'd hide the real bars and make a dragProxy from
a bitmap
capture of the entire stack... -
Hello Experts,
While trying to generate the stack file for PI system through Solution manager to update the SAP Basis support pack, facing an issue like below.
Details
Version - SAP EHP1 FOR SAP NETWEAVER 7.3
SAP Kernel : 720_EXT_REL - 700
Dual Stack - ABAP+JAVA
Support pack levels:
Can anybody please help me out from this issue.
Thanks in advance,
Bhaskar NIn addition suggest you to follow SAP Note 1344564 - Maintenance Optimizer: Check system landscape
& SCN thread Managed System setup
Good luck !! -
i'm currently having an issue with my site. I donwloaded an adobe muse theme from Musegrid called "Mega Menu". It allows for a great deal of flexibility in terms of navigation, only when I added it to the master page the dropdown (In stacked mode) goes underneath all of the content on the homepage, rendering it pretty useless. As the result of this, I placed the composition in Lightbox mode, but I don't particularly like how it looks. Can anyone help me?
Here is my site:
http://www.aklocal.net/
Thanks!
JYou need to make sure that the menu's container's z-index is higher than the other elements.
Here is a CSS Tricks article that covers z-index: http://css-tricks.com/almanac/properties/z/z-index/
@webmosphere -
Fill in the blanks html5 stacking order issue
I am using the fill in the blanks quiz slide but when I publish it out to html5 the dropdown boxes are stacking on top of eachother. How can this be fixed?
Thanks,
OliverI have tried your sugestion Rajeev but it does not fix the issue for HTML5 output. I can see that all of the z indexes are set to 1000 surely the first dropdown should have the highest z index.
What else can I try to fix this issue. What could be causing it?
Thanks,
Oliver -
Hi
I have Stack of 7 3750 Switches. In that Switch 1 is master with 15 Priority and other switches are Member but because of some reason switch 1 rebooted and then Switch 2 becomes Master because it’s having 14 Priority.
We have 2 uplinks which connected on switch 1 (1/1/1) and switch 6 (6/1/1) Tengig port. Also we have 4 AP connected on switch 6.
So we observed that the Switch 1 came up and after that 3 AP is disconnected from WLC. if we disconnect the uplink port on Switch 1 (1/1/1) AP will connect the WLC and using uplink 6/1/1 but if we connect uplink port 1/1/1 and disconnect the uplink port 6/1/1 all 4 AP will disconnect from Network.
We try to connect the Uplink 1/1/1 to Switch 1 other port 1/1/2 but face the same issue. So we reconnect the port 6/1/1 and used the same link which connect on 1/1/1 to switch 7 (7/1/1) and AP will connect on WLC. So as per this troubleshooting we thought some issue with Network Module or Switch of Switch1.
So we Swap the Network module between Switch1 and Switch7 and connect the uplink on 1/1/1 but face the same issue and if we connect the same uplink on Switch 7 Ap connect to WLC.
So we thought that Switch is having issue. But before raising an RMA for Switch we observer 1 more thing that. Earlier that when the Switch 1 is Master all 4 AP's connected to WLC and working fine but when the Switch1 became rebooted and Switch2 became Master issue started. So we rebooted the Switch 2 and make switch master and found that while connecting on port 1/1/1 of Switch port AP's are able to connect to WLC and Issue resolved.
So I wants to know that is there any requirement that If the high priority switch rebooted and after came up it should not be Master then connected uplink will not work.
Also let us know what’s happen if the high priority switch came up in network. Means it’s will became Master or Menber.Just now i Found one bug which is matching on our issue.
3750x stack fails to update ARP table after reboot causing traffic loss
BUG ID:-CSCtz98066
Symptoms: When the master switch (Switch A) is reloaded or loses power and
rejoins the stack as a member switch, any traffic stream being sent through
Switch A is unable to be received by the destination because the newly joined
member is not able to establish an ARP entry for the next hop router/switch.
Debugs confirm that Switch A does not send a GARP/ARP for the next hop, though
traffic continues to be sent to the switch.
Conditions: The symptom is observed when only Switch A has a physical
connection between the source and destination router/L3 switch. The newly
elected master (Switch B) does not.
Workaround: Ping destination from Switch A, forcing ARP request/response.
Also affected version is 12.2(58)SE and15.0(1)SE2 and we are using IOS 12.2(58)SE.
So we are going to upgrade the devices by this weekend with IOS 15.0(2)SE5.
Will update you once we upgraded the switches. -
Hi,
I am trying to track down an memory leak that I have been working on for the past few weeks. The leak seems to be coming from the stack. We are creating a thread of 1MB stack, but the system is only allocating 64k. My gut feeling is anything
beyond this 64k is being leaked.
After the thread is created, I am getting the context ( reset) - and it is only 64k out beyond the mem base. It should be 1MB. Does anyone know why this is the case? If our stack usage goes beyond the 64k range, how can the memory be recovered
(freed)?
This is a kernel driver creating kernel threads. The driver is loaded by the system and threads are created and exited on "init" and "deinit" IOCTL (DeviceIOControl) calls, respectively.
Thanks!Hi Paul,
Thank you so much for the reply. Yes, the real goal is to eliminate the leak. Leaks are on the order of 150k to 200k, but only occur when the threads are exited - we do a mem snaps shot from test to test and do a diff between the 2 physical mem
sizes. I have concluded the leak is coming from the stack by allocating a large char array (within a function so it's not static) in our library that is called into from the running thread - we see it grow the larger I make the array.
Here is my create thread.
nStackSize = 1024 * 1024;
m_hMyThread = CreateThread(NULL,nStackSize,(LPTHREAD_START_ROUTINE)MyThreadShell,(LPVOID)this,CREATE_SUSPENDED | STACK_SIZE_PARAM_IS_A_RESERVATION,NULL);
After this, we get the "reset context" and commit it all to RAM so we don't run into demand paging issues. What's strange is the context is at 64k (not 1MB as I would have expected). My suspicion is if we use more than that 64k, we
lose whatever goes beyond that. Our threading design typically runs in Application space for CE5/WinMobile - but relies on LoadDriver. Since this is now a kernel only call in CE6, we made a kernel driver.
We are tracking our own Heap and cleaning it up on exit, so I don't suspect this is leaking. Our library uses a lot of stack space and is why we allocate so much.
Some other points: This same design ("driver" model) works fine in CE5/Windows Mobile.
Thanks!
BTW: Here is some data... We are creating 2 threads, first size is 1MB and second is default (linker settings - which is 64k).
Windows Mobile:
AllocationBase=0x2a1a0000, m_pMyContext->Sp=0x2a29fee0
AllocationBase=0x2a2a0000, m_pMyContext->Sp=0x2a33fee0
Thread1 “my context” is 1MB out from AllocationBase.
Thread2 “my context” is 64KB out from AllocationBase.
WinCE6:
AllocationBase=0xd6d00000, m_pMyContext->Sp=0xd6d0fe90
AllocationBase=0xd60b0000, m_pMyContext->Sp=0xd60bfe90
Thread1 “my context” is 64KB out from AllocationBase. <- BAD
Thread2 “my context” is 64KB out from AllocationBase. -
Stack Naming Issue- please help!
I have a constant problem where I have groups of images where I have made adjustments to get the image I want then I have given it a different version name i.e original file is 'IMG_0123' and the adjusted file is 'stationery set' I then promote this version so that it's on top of my stack.
Alls fine, then every now and again all these images get demoted back in to the stack by themselves (or something I'm doing unaware).
That wouldn't be such a big problem if I could still search for them but for some reason in my version of Aperture (1.5.6) the search doesn't find them if they are not on top the stack!!
I have to go to each file and re promote EACH one, I have over 10,000 images!! - It's ridiculous.
Also I have images with different adjustments on them ie. One Hi- key, one B&W, One Sepia - within the them same stack as the master and If I want to pull out all the sepia versions to view I can't as it only sees the top one.
Any ideas?Koshington wrote:
So I've got to convert all my albums in all my projects to 'smart albums'!!!
?!? Where did I say that?
When searching you need to search via a Smart Album and not with the normal search, that's all.
I have no answer to Picks getting lost, except that you might be setting Album Picks by mistake, which won't alter the 'main' Pick of that Stack.
Ian -
Hi Gurus,
In D2k , How can I de-select the stacked canvas from content canvas ?
I have tried to deselect same using Navigation path : D2k Form > Menu > View > Stacked View --- but not succeed.
Any one can guide me in this regards
Thanks in advance.
SanjayAnyone's expert comment ?
We are using Oracle EBs 11i (11.5.10.2) .
We are using EBS Form (not standalone) version 6i based on TEMPLATE.FMB .
Also, we are not getting any error.
sanjay
Edited by: Sanjay Desai on Oct 30, 2012 2:03 PM -
Stacked canvas Issues when on the web
I have a stacked canvas whose Viewport_X_Pos is set to some values other than 0. When the canvas is run on the web, however, the canvas is pushed to the right by same amount to the left cutting the canvas. Is This a bug and if yes, is there any better work around than pushing the items in the canvas to the left to compensate? Note that the canvas behaves nice when on a client/server.
We also encountered this problem!
Sometimes we managed to fix it taking care that the stacked canvas not to interfere/overlap with any other object on the content(other stacked canvas, an item, a graphical object etc.) that hosts it.
Sometimes we could not fix it.
Hope this helps,
A.
Maybe you are looking for
-
External monitor shifted to the right
i just got an external monitor (acer v223W) which support max resolution of 1680x1050. but when i try and use xrandr like: xrandr --output LVDS1 --mode 1440x900 --output VGA1 --mode 1680x1050 --right-of LVDS1 what i see is shifted by about 100px or s
-
Hi , when i am displaying F4 help for my custom field on screen , F4 pop up is coming but when i am selecting the values no value is being displayed in the field. code is like this :: PROCESS ON VALUE-REQUEST. cmir_value MODULE d8010_Cmir_f4. (cmir_v
-
Fonts problem with reports 10 : arialMT
Hi, we have a lot of reports made in 6i and know translated in 10g (9.0.4). We used the Arial and Arial bold fonts and in client /server 6i mode they are Ok but now, with 10g and using the desformat=PDF the result is not good and tere are any differe
-
Post Author: abarone CA Forum: Other Hi everybody,I would like to know if it's possible to use Crystal Reports with PHP.If it's possible, can you please provide me a sample code that shows how to pass parameters from the PHP page to my report.Thanks
-
SOAP RECEIVER: Possible to change the soap header request
Hi Is it possible to change what is included in the soap header like namespaces (.. xmlns:ns="http://what.com" Specifically I need to have the "http://Strange.org/thisis.xsd" (see below) included in the header and the <ns:pi-create> included in SOAP-