Crosshair in Flex mx Charts for mobile applications - actionscript-3

I am trying to implement Stock Charts in my Mobile application created in flex.
what i need to implement is the cross hair as seen in http://www.rb.com/Media-investors/Share-price-information/Share-price-graph
kindly advice how this can be achieved.

Check this.
Customization -> Custom Annotation. To view source - mouse right click -> "View Source".

Related

Create Custom Window in Geocortex HTML Viewer

I am trying to migrate my Asp.Net application to Geocortex Web viewer. I am going through all the documentation but no luck in finding a documentation regarding custom html window for a button in the toolbar. Could anyone please help me on this issue.
I can help you, you need to create a workflow module. and then add it to your menu icons (toolbar) using the admin GUI application of Geocortex.

How to make use of Markups Core 'Callout' EditMode

I am attempting to replicate the BIM 360's Design Review Editor's callout tool (the most useful tool of them all) within my Forge app, but I can't seem to get the callouts edit mode from the Markups Core extension to work properly. When I change the editMode to 'callout', it seems to only create the text box at the end of the callout. So far, I've only been able to get this to work via a clumsy chain of eventListeners latched to the svg element that:
1. listen for the 'mouseup' event while drawing cloud,
2. switch editMode to arrow,
3. fire off a 'mousedown' event to begin new arrow,
4. listen for 'mouseup' event while drawing arrow,
5. switch editMode to callout,
6. switch editMode back to cloud when test has been entered.
Not only is it very clumsy, but it also ends up looking absolutely horrible!
Does anyone know how to activate this tool properly, or if it's meant to work exactly as it does?
It really is a shame that we have to reinvent the wheel on so many of these tool that are implemented in BIM360... and used to be part of the Markups extension, but are now gone.
I'm really not a graphical interface developer, and if I have to become one, it will be years before I finish this app and my company can make use of it.
You're using the callout tool from MarkupsCore properly. Unfortunately, the tool only generates the text box as you've observed. It does not generate the "cloud" rectangle and connecting line as in BIM360.

Hiding a ribbon button when specific Dynamics CRM Web Resource is in context

Like most of dynamics crm programmers know, we can add "web resources that are not associated with any entity" to the sitemap. If such a customization is made, when user clicks that link, web resource will be opened and the buttons in the application ribbon will be added to the ribbon section of the dynamics crm.
What I am wondering is if there is any way I can hide this global buttons that are in the application ribbon based on the web resource on the page.
Let's say I added more than one web resources to my sitemap, namely a.htm and b.htm. Let's say I have a custom button named x in the application ribbon. Right now x is displayed both for a.htm and b.htm, but in reality I would like to hide the button when user clicks on b.htm from the sitemap.
Is there a way to accomplish that?
You could use the following (unsupported) code to hide the Ribbon button (the 'Run Workflow' button in this example):
var btnRunWorklfow=top.document.getElementById("account|NoRelationship|Form|Mscrm.Form.account.RunWorkflow-Large");
btnRunWorklfow.style.display='none';
You can also use ribbon editor available in codeplex to disable your button based on your javascript.
Refer to: http://crmvisualribbonedit.codeplex.com/
I figured there is no supported way of doing this.

Remove widgets from p:dashboard via dragging out

I'd like to add support to removing the widgets from p:dashboard via dragging the panel out of dashboard, such as in WordPress admin panel.
I've found out the examples of dragging the widgets between 2 dashboards, but in my case I need to have callback when the element is dragged out of dashboard, no matter where. The widget would be than removed. However, I couldn't find any example for such behaviour.
What components/tools to use to implement such functionality? I'm using PrimeFaces 3.4.
Use draggable component with dashboard keyword;
<p:draggable for="widget" dashboard=":dbForm:dashboard"/>
And check this solutions on forum page of primefaces: Dashboard Drag and Drop
Hope it'll help you.
Good Luck!

How to Make Flash Builder Package Explorer emulate Flex Builder's Navigator window?

Does anyone know if there is a way to make the new Package Explorer window in Flash Builder emulate Flex Builders 'Flex navigator' window?
Bottom line is I don't always need to peer into SWC's, and I don't like having a 'default package' automatically created for me. Not sure why the interface wasn't made simpler, allowing access to more power and complexity only if necessary. I want to focus on the code, not on how to navigate and use the bells and whistles in the coding environment.
The original "Navigator" view is still available. From the FB menu choose "Window" -> "Other views..." Open up the the "General" tree and select "Navigator" This might put the Navigator window as a tab in the bottom panel (that's where it showed up for me). You can then drag and drop the tab to place it right next to the Package Explorer. Then you can easily switch back and forth between both views.