Flex :: Date Time Axis Not Showing Correct Values?

May 28, 2010

<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>

[code].....

View 1 Replies


Similar Posts:


Flex :: Stacked Bar Chart With Date As X-axis And Names As Y-axis?

Apr 13, 2012

I'm making a chart where the x-axis needs to have dates and y-axis names. The lenght of the bar is longer when the date is later. But I want to stack multiple bars on eachother. for example This is the code I have so far

<fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;

[code].....

View 1 Replies

Flex :: Get Correct Y-axis When There Is A Vertical Scroll?

Aug 17, 2010

In flex, I am getting the y-coordinate in the following way:

nextHBox = HBox(ingBox.getChildByName("ing" + nextId));
nextYAxis = ingBox.localToGlobal(new Point(nextHBox.x,nextHBox.y)).y;
newCanvas.x = nextYAxis;

nextYAxis gives me the y-axis and I use it to position new component. It works absolutely fine. But, when there is vertical scroll, and I scroll it a little bit, and then the above mentioned code places the component at wrong place. I believe, it has something to do with the scroll.

View 1 Replies

Date :: Comparing Two Date Values In ActionScript - Compare Whole Day Values?

Sep 4, 2011

I need to be able to compare the number of whole days between two dates in ActionScript, is this possible? I'd like to test if one date is 7 days or less after today, and if so is it one day or less (if it's before today this also counts).The workaround I have in place is using the .time part of the date field:

// Get the diffence between the current date and the due date
var dateDiff:Date = new Date();
dateDiff.setTime (dueDate.time - currentDate.time);[code].....

As I say - this is only a workaround, I'd like a permanent solution to allow me to check the number of whole days between 2 dates. Is this possible?

View 1 Replies

Flex :: Chart Not Displaying Right Values Along X Axis?

May 25, 2010

If the below code is run (i know the cData sections are not visible in the preview, something causes it to be ignored).

The result does not represent the data correctly.

1. Flex ignores missing date 24 aug for DECKER.

2. It wrongly associates 42.77 to 23-Aug instead of 24-AUG.

Is there a way in flex, where the x-axis is a union of all available points ?

[Code]....

View 2 Replies

Flex :: DropdownList Does Not Show The Correct Values

Sep 7, 2010

I have a Flex Spark dropdownList in which I need to show the Provider FirstName,LastName:

<s:DropDownList id="providerList"
dataProvider="{model.practiceProviderList.practiceProviders}"
labelField="provider.providerName.firstName"/>

But the output shows only [object Object] & [object Object] as there are 2 providers in the DB and does not show the actual values.

The PracticeProviderList.as:

[Bindable]
[RemoteClass(alias="model.PracticeProviderList")]
public class PracticeProviderList extends PracticeProviderListBase {

[Code]....

The Provider has providerName:PersonName as one of it's fields & PersonName has firstName:String & lastName:String

View 1 Replies

Flex DateTimeAxis Duplicate Axis Label Values?

Dec 2, 2010

This simple code results in November 7th in 2 places on the horizontal dateTimeAxis:

[Code]...

View 4 Replies

Convert UTC Time To Date Time Format In Flex?

Jul 1, 2011

How to convert UTC time into date time format in flex. I am using sdk 3.5. for example I have current date time in UTC format as 1309522586000 (milliseconds) and I want to convert it to friday jul 1 2011. How can I do this??

View 1 Replies

ActionScript 3.0 :: Construct Coordinates With Distance In Meters On The X-axis And Time In Seconds On The Y-axis

Nov 27, 2011

I am trying to construct coordinates with distance in meters on the x-axis and time in seconds on the y-axis, without using the timeline. How can I draw the divisions on the x-axis and y-axis ? Or I better draw the whole thing.

var my_shape:Shape = new Shape();addChild(my_shape);
my_shape.graphics.lineStyle(3, 0xFF0000, 1);my_shape.graphics.moveTo(50,50);my_shape.graphics.lineTo(50, 300);my_shape.graphics.lineTo(500, 300);

View 9 Replies

Flex :: Why Do Charts Axis Values / Labels Not Show Up When Using Runtime Share Libraries

Nov 10, 2009

I have developed a flex application using the data visualization components. I am now trying to optimize the application and one of approaches I am trying is to use Runtime Shared Libraries.I have configured Flex Builder to deploy with Runtime Shared Libraries and have added the .swz file for the framework, datavisualization and rpc share libraries. After deploying, my application loads, however my axis values within each of my charts are missing. The axes themselves are shown, however they do not have their label units displayed. The series themselves are displayed too.I have tried this using the 3.4 SDK and also the 3.2 SDK within Flex Builder. I also tried compiling flex using the mxmlc ANT tasks and got the same results.I made sure that the framework RSL is getting loaded first and I also made sure that the global flash cache has been cleared before I tested.I can see from my access logs that the .swz files are getting loaded the first time I make a request for my application, so I am confident that I properly cleared the flash player global cache.

Does anyone know why my axis values would be missing only when I deploy with RSL??? Switching back to Merged mode, my application works fine and it is only when I deploy with RSLs that I get the issue.I have also tried to compile using only the framework RSL and not the datavisualization or rpc RSLs (keeping them in merged mode) and I get the same results, no axis values.

View 1 Replies

ActionScript 1/2 :: Instantiating A New Date Object Using The Values - Date Is Wrong ?

Dec 1, 2011

I am instantiating a new Date object using the below values.

var thisDate:Date = new Date(2011, 12, 2, 9, 30); But when I did a trace, I got

Mon Jan 2 09:30:00 GMT+0800 2012.Why is the date wrong?

View 2 Replies

Flex :: Utc Date Time Format?

Jun 18, 2011

here are my functions they work fine when timeoffset is round number(1,2,3,4...),but when is 3.5(3:30), 4.5(4:30) it doesnt work.

private function init_vars():void
{
timeZoneOffset = FlexGlobals.topLevelApplication.parameters.clock_time_zone; // I load this

[code].....

View 3 Replies

Flex :: Date / Time Chooser Component?

Sep 16, 2009

I need a time chooser for a flex app, and as far as I can tell there is no UI component to manipulate Date objects at a resolution finer than per-day (the DateChooser component).What's a good time chooser for Flex? I strongly prefer a Free as in Libre and/or Free as in Beer component.

View 5 Replies

Flex :: DateTimeAxis - Set Label To Display Date + Time?

Sep 22, 2009

Is there a way in flex 3 chart component to display both the date and time using horizontal DateTimeAxis?

Currently the DateTimeAxis element has an attribute dataunits which allows to set the value to any of "milliseconds|seconds|minutes|hours|days|weeks|months|years" but I want to display the label as "2009/09/15 06:00:00" which includes the day and the time too.

[Code]...

View 1 Replies

Flex :: Servlets - Dynamically Update Date And Time From The Server?

Jan 31, 2010

I have a GUI in flex. I am getting the value of the server date from the servlet to the .mxml file. I want to show the date and time dynamically changing. How can I do that in flex?

View 1 Replies

Actionscript :: Flex Date And Time Stock Chart (HOLC)

Aug 28, 2010

I am trying to show BOTH the date and the time in Flex 3.5 Stock HOLC (high, open, low, close) Chart. This data shows up but not in the correct format... Problems:

1. The time are out of whack.. they do not line up with proper time.. (is it because they are not military time)?

2. The dates (days) do not show up on the bottom labels are all, is there a way to make this happen?

3. The times show up with large gaps... in the 24 hour period... Is this always the case when the data is not there for the time? Or, can I disable specific time periods like is possible with "disable days"

[Code]...

View 1 Replies

Php :: Free Charting Control With Date Axis?

Aug 9, 2011

Is there a free web control (serverside php or clientside flash or javascript) that can take a set of datapoints with timestamps (possibly with gaps or at irregular intervals) and draw a chart that would automatically scale the date axis? If there are a few datapoints hours apart then the chart would draw each datapoint. If there are thousands that span a year, it would draw month grid. If there are gaps - it would interpolate.

View 1 Replies

Actionscript 3 :: Date Time Format Change In Flex Custom Component?

Apr 11, 2012

im using a custom component for date time, it is 12 hours and am/pm format,Now i wat to show 24 hour format in numeric stepper and am/pm should be disabled.heres my code

<mx:Script>
<![CDATA[
[Bindable] private var _selectedDate:Date = new Date();

[code].....

View 2 Replies

Flex :: Clock Animation Showing International Time

Jul 29, 2009

In my application I want to show 5 clock. In the clock shows international time depend on country based But Normal clock time I will get sytem time (getmintues and gethours) and show. How can show all country time? I tried below code for animation.

public function createChildren() : Void {
border_mc = createClassChildAtDepthWithStyles(
_global.styles.rectBorderClass,
DepthManager.kBottom, { styleName : this });
// create the empty movie clips in the order
[Code] .....

View 1 Replies

ActionScript 3.0 :: Images Not Showing Up In Correct Order

Mar 25, 2010

I'm having a problem with my images not showing up in the correct order.
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.net.*;
[Code] .....

View 1 Replies

Flex :: Change Values Of Custom Skin At Run Time?

Mar 5, 2011

I have built a basic theme for my Flex app. I would like to add support for additional predefined themes. By default, app has a theme and I would like it to change when user selects a theme from dropdown list. This can be done by loading a swf file using styleManager. However, all the skins have colors hard-coded in them. So, in order to achieve this I would have to duplicate skins and change value of the colors.

Is there a better way of doing this? Can I just have a skin that will change color values dynamically based on user selection?

View 2 Replies

ActionScript 3.0 :: Update Time And Date With Server Time..?

Jul 13, 2010

every login ,flash get server time from php. how can i update  time and date in flash..?

View 3 Replies

Convert Date And Time To CDT Time Zone In Flex4

Apr 15, 2011

How to convert date and time to CDT time Zone in flex4.

View 1 Replies

ActionScript 2.0 :: Correct Syntax For Passing 2 Values?

Apr 3, 2006

is this correct:

getURL("webform1.aspx?id=0&status=I",0,"Get");

I need to pass 2 values

value 1 is id
value 2 is status

View 2 Replies

Real Time Date And Time Tween?

Aug 16, 2011

I'm working on creating a new look for my portfolio and had a concept.I would like have one movie clip tween in real time 365 frame increments, while another moves in real time minute or second increments.Along with this, I would like to be able to override the passage of time by scrolling an associated scrollbar.The two tweens would be independent of one another.

View 1 Replies

ActionScript 2.0 :: Button Is Not Being Placing In The Correct Position When Set The X And Y Values?

Jan 15, 2011

My buttons are not being placed in the same position as my other buttons are on another page? I copied the same x and y cordinates as the other page..but they are still not being placed in the same position..why is this?

View 2 Replies

Flash :: Handle A Time Object From Php In Flex (parse It To A Date Object)

Aug 19, 2010

I've got a php backend which delivers a time (e.g. '07:00:00'). This time is recognized as a string but I need it as a Date. So what I need is: Convert a string '07:00:00' to a Flex Date object. Is there a way to do this (without using regular expressions)?

View 2 Replies

ActionScript 2.0 :: Showing Time By GMT Time Zone?

Mar 31, 2010

I am willing to do something like this in flash. Just 2-3 clocks showing times of different countries will also do.

I figured out that it has to be done by GMT, Time Zone but don't know how. I don't know php or jawa or any other language. Just basic flash scripting.

View 0 Replies

Php :: Split Date Form Date Of String Formate Using Flex?

Nov 30, 2009

my date of string like (2009-12-03 21:05:00) date with time . so i used to store var newdate:Date=new Date(Date.parse(startdate)); but shows some errors.and also i tried to split string(date) used date function likevar datenumber:Number= (new Date(Date.parse(startdate))).getDate();

View 1 Replies

Actionscript 3 :: Flex - Date Serialization - Render A Null Date Value

Aug 24, 2010

Does anyone know how to get actionscript to render a null date value '000:00:00T00:00:00'? I am calling a web service that expects date fields in the SOAP xml. I need some of these dates to serialize as null and I can't see how to produce null. The closest value I can get is '1899-11-30T00:00:00Z'. Below is the code I am using:

[Code]...

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved