Customizing distance between data Points on x-Axis

Hi,
I want to draw a LineChart.
I have these Timestamps [84, 1000, 34000, 34699, 439999] who
are represanting the x-Value of DataPoints along the X-Axis.
Unfortunately the distance between 2 datapoints along the
x-Axis is always the same, that means that between the points with
x-values 84 and 1000 is the same distance along the axis as between
the points with x-values 34699 and 439999.
But the distance between points with x-values of 34699 and
439999 should be much greater than between 84 and 1000.
How can I customize the distance between data Points on a
LineChart to solve my Problem?
I really dont know right now!
Greeting,
Z.

"zidaninho" <[email protected]> wrote in
message
news:gls479$nkt$[email protected]..
> Hi,
>
> I want to draw a LineChart.
> I have these Timestamps [84, 1000, 34000, 34699, 439999]
who are
> represanting
> the x-Value of DataPoints along the X-Axis.
>
> Unfortunately the distance between 2 datapoints along
the x-Axis is always
> the
> same, that means that between the points with x-values
84 and 1000 is the
> same
> distance along the axis as between the points with
x-values 34699 and
> 439999.
> But the distance between points with x-values of 34699
and 439999 should
> be
> much greater than between 84 and 1000.
>
> How can I customize the distance between data Points on
a LineChart to
> solve
> my Problem?
>
> I really dont know right now!
What happens if you convert the time stamps to Dates and use
a DateAxis?

Similar Messages

  • Distance between all points

    Hi all, I am trying to find the distance between all points in an array. I was able to get the all possible combinations but i am not getting the expected ouput.
    For eg, if i have four points, total number combinations are going to be 6 and i want to find distance in all six combinations.
    Please help me where i did mistake. Please find the attached vi.
    Thanks
    uday,
    Please Mark the solution as accepted if your problem is solved and help author by clicking on kudoes
    Certified LabVIEW Associate Developer (CLAD) Using LV13
    Solved!
    Go to Solution.
    Attachments:
    Find distance between all points.vi ‏17 KB

    Try something like this.
    Since I don't have the IMAQ function, I am using complex data for each point, but it would be trivial to adapt it to your data structures instead.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    Find distance between all points.png ‏33 KB
    Find distance between all pointsMODCA.vi ‏10 KB
    Find distance between all pointsFP.png ‏21 KB

  • How to measure distance between two points uisng uiaccelerometer

    Hello all,
    I am trying to measure distance between two points.So for that i am used uiaccelerometer but its give only rotation changes. I am moving my whole device from one point to another point so for that all x,y & z changes remain same. So how can get the device movement for that?
    Thank you..

    UIAccelerometer does not give rotation changes, it senses acceleration in each of the 3 axis in g-force units. Moving in a plane from one point to another and stopping will result in a net g-force in that axis of zero. To get distance one has to measure the initial acceleration and then the time before a deceleration is detected. It gets really complicated in real life since the start and stop are not instantaneous.

  • Excel formula to calculate the distance between multiple points using lat/lon coordinates

    I'm currently drawing up a mock database schema with two tables: Booking and Waypoint.
    Booking stores the taxi booking information.
    Waypoint stores the pickup and drop off points during the journey, along with the lat lon position. Each sequence is a stop in the journey.
    How would I calculate the distance between the different stops in each journey (using the lat/lon data) in Excel?
    Is there a way to programmatically define this in Excel, i.e. so that a formula can be placed into the mileagecolumn
    (Booking table),
    lookup the matching sequence (via bookingId)
    for that journey in the Waypointtable
    and return a result?
    Example 1:
    A journey with 2 stops:
    1 1 1 MK4 4FL, 2, Levens Hall Drive, Westcroft, Milton Keynes 52.002529 -0.797623
    2 1 2 MK2 2RD, 55, Westfield Road, Bletchley, Milton Keynes 51.992571 -0.72753
    4.1 miles according to Google, entry made in mileage column
    in Booking table
    where id
    = 1
    Example 2:
    A journey with 3 stops:
    6 3 1 MK7 7DT, 2, Spearmint Close, Walnut Tree, Milton Keynes 52.017486 -0.690113
    7 3 2 MK18 1JL, H S B C, Market Hill, Buckingham 52.000674 -0.987062
    8 3 1 MK17 0FE, 1, Maids Close, Mursley, Milton Keynes 52.040622 -0.759417
    27.7 miles according to Google, entry made in mileage column
    in Booking table
    where id
    = 3
    I understand that 100% accuracy is not possible, so it will not be an issue.

    http://www.cpearson.com/excel/LatLong.aspx
    and
    http://www.contextures.com/excellatitudelongitude.html

  • Find driving distance between two points without using API by use of Lat & Long?

    Using Google geocode API : http://maps.googleapis.com/maps/api/geocode/xml?address=thane&sensor=true
    We performed get distance between search criteria entered by user and all related clubs by lat & long  stored at db.
    2. Two different points such as  
    (origin: Lat1 & Long1) and (destination: Lat2 & Long2)
    We tried for to get distance between these two points,
     (Lat2 & Long2) to (Lat1 & Long1)
    But distance which we get by calculation is simple straight line distance 
    Origin Destination
    (Lat1 & Long1) (Lat2 & Long2)
    3. This is not driving distance as google shows in exact Km
    4. For that Google provide another API (distancematrix API)
    http://maps.googleapis.com/maps/api/distancematrix/xml?origins=Thane&sensor=true&destinations=khopat&mode=driving&language=en%20-%20EN
    5. But there is limit for DistanceMatrix-Service without ClientID and client key
    100 elements per query.
    100 elements per 10 seconds.
    2 500 elements per 24 hour period.
    But as element request exceeds it shows : OVER_QUERY_LIMIT error  
    6. In case of Client ID and Client key
    In Distance Matrix 100 000 elements per 24 hour period,a maximum of 625 elements per query and a maximum of 1 000 elements per 10 seconds.
    As per this one there is option to get purchase these API but basic question is remain same for us if we are requesting single origin and multiple destination then how element calculation done by google?
    But in document google says :
    Elements
    The information about each origin-destination pairing is returned in an element entry. An element contains the following fields:
    Status: See Status Codes for a list of possible status codes.
    Duration: The duration of this route, expressed in seconds (the value field) and as text. The textual representation is localized according to
    the query's language parameter.
    Distance: The total distance of this route, expressed in meters (value) and as text. The textual value uses the unit system specified with the
    unit parameter of the original request, or the origin's region.

    Any information that you see in a google map webpage can be retrieved using the API.  The best way of finding the tags on the webpage is to manually perform the query using an IE webpage.   Then capture the source and save to a file so you
    can use a text editor to look at results.  I often on a webpage use the menu : View -  Source and then copy the source to a text file.
    jdweng

  • Distance between two points with degrees and minutes

    I would like to store several points in the database given degrees and minutes as position. In this example I have point 1 that is E 150, 0/S 30, 0 and points 2 that is E 150, 0/S 30.1. For example if I enter 2 km as distance from position of point 1 I would like the search to return all points witin 2 km.(should return points 2 that is very near)
    If I run the query
    SELECT c.name
    FROM cola_markets_cs c
    WHERE
    SDO_WITHIN_DISTANCE(c.shape,
    SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(150.0, 30.1, NULL), NULL, NULL),
    'distance=10000 unit=KM')
    = 'TRUE';
    I get result both position 1 and 2, but if I decrease to distance=1000 no rows is returned.
    Can you see what I am doing wrong here?
    Can I also combine SDO_WITHIN_DISTANCE with SDO_NN_DISTANCE so I can ask for all points 10 km in distance from the reference point and I can also see the actual distance for each point?
    Thank you
    I have tested with the following code. Do I save the position wrong..?
    CREATE TABLE cola_markets_cs (
    mkt_id NUMBER PRIMARY KEY,
    name VARCHAR2(32),
    shape MDSYS.SDO_GEOMETRY);
    INSERT INTO cola_markets_cs VALUES (
    1,
    'Point 1',
    MDSYS.SDO_GEOMETRY(
    2001,
    8307,
    MDSYS.SDO_POINT_TYPE(150.0, 30.0, NULL),
    NULL,
    NULL
    INSERT INTO cola_markets_cs VALUES (
    2,
    'Point 2',
    MDSYS.SDO_GEOMETRY(
    2001,
    8307,
    MDSYS.SDO_POINT_TYPE(150.0, 30.1, NULL),
    NULL,
    NULL
    -- UPDATE METADATA VIEW --
    -- Update the USER_SDO_GEOM_METADATA view. This is required
    -- before the Spatial index can be created. Do this only once for each
    -- layer (i.e., table-column combination; here: cola_markets_cs and shape).
    INSERT INTO USER_SDO_GEOM_METADATA
    VALUES (
    'cola_markets_cs',
    'shape',
    MDSYS.SDO_DIM_ARRAY(
    MDSYS.SDO_DIM_ELEMENT('Longitude', -180, 180, 10), -- 10 meters tolerance
    MDSYS.SDO_DIM_ELEMENT('Latitude', -90, 90, 10) -- 10 meters tolerance
    8307 -- SRID for 'Longitude / Latitude (WGS 84)' coordinate system
    -- CREATE THE SPATIAL INDEX --
    -- Must be R-tree; quadtree not supported for geodetic data.
    CREATE INDEX cola_spatial_idx_cs
    ON cola_markets_cs(shape)
    INDEXTYPE IS MDSYS.SPATIAL_INDEX;
    --This search only return if distance is 10 000 km...
    SELECT c.name
    FROM cola_markets_cs c
    WHERE
    SDO_WITHIN_DISTANCE(c.shape,
    SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(150.0, 30.1, NULL), NULL, NULL),
    'distance=10000 unit=KM')
    = 'TRUE';
    --According to this search the distance to point 1 is 3331198,72256398,
    --this  should be zero..
    SELECT
    c.mkt_id, c.name, SDO_NN_DISTANCE(1) dist
    FROM cola_markets_cs c
    WHERE SDO_NN(c.shape,
    sdo_geometry(2001, 8307,sdo_point_type(150.0, 30.1, NULL), NULL, NULL),
    'sdo_num_res=2', 1) = 'TRUE' ORDER BY dist

    Hi,
    What version of Oracle are you using? I got this using your example:
    SELECT
    c.mkt_id, c.name, SDO_NN_DISTANCE(1) dist
    FROM cola_markets_cs c
    WHERE SDO_NN(c.shape,
    sdo_geometry(2001, 8307,sdo_point_type(150.0, 30.1, NULL), NULL, NULL), 'sdo_num_res=2', 1) = 'TRUE'
    ORDER BY dist ;
    MKT_ID NAME DIST
    2 Point 2 0
    1 Point 1 11085.3285
    This is 10.1.0.4
    Also:
    Can I also combine SDO_WITHIN_DISTANCE with SDO_NN_DISTANCE so I can ask for all points 10 km in distance from the reference point and I can also see the actual distance for each point?
    No, but you can add a distance calculation:
    SELECT
    c.mkt_id, c.name, SDO_GEOM.SDO_DISTANCE(c.shape,sdo_geometry(2001, 8307,sdo_point_type(150.0, 30.1, NULL), NULL, NULL),1) dist
    FROM cola_markets_cs c
    WHERE SDO_WITHIN_DISTANCE(c.shape,
    sdo_geometry(2001, 8307,sdo_point_type(150.0, 30.1, NULL), NULL, NULL), 'distance=10 unit=km') = 'TRUE'
    ORDER BY dist ;

  • ImplementationOpt Design[Opt 31-67] Problem for AXI bus between data mover ip and axi interconnect

    I'm using vivado 2014.4 and win7 64bit for my zynq design.  Previously, the design is good. I made some revisions. Then I came across the problem.
    If the synthesis strategies option is flow_runtime_optimatized(Vivadio synthesis 2014), everything works
    If the synthesis  strategies option is default options (the synthesis settings are shown in the picture), Synthesis is still fine, but the implementation failed. Some of the errror msg is shown below.
    The error message shows there are unconnected pins on axi_interconnect_1. The connections between AXI master from my own IP(it is the axi port from a DataMover IP) and axi_interconnected is shown in the attached picture.
    The synthesis schematic is also checked. The connections of the axi_interconnect have some pins unconnected as shown in the picture (interconnect_schematic_synth.PNG). The connections of my IP are good, but it misses some pins (like _arready, _rvalid, _ruser, _bid...).  The master AXI port in my port is from the data mover IP. By default, the data mover IP doesn't have these missed pins. The AXI port on my IP declares these missed pins, but actually they are not connected to any inside my IP. 
    Btw, previously, the project works well in my design. But now it doesn't.
     I also check the connections of the axi_interconnect when synthesis strategies option is flow_runtime_optimatized, the schematic show all pins are connected. 
    Please help. Thx.
    Sam
    ImplementationOpt Design[Opt 31-67] Problem: A LUT1 cell in the design is missing a connection on input pin I0, which is used by the LUT equation. This pin has either been left unconnected in the design or the connection was removed due to the trimming of unused logic. The LUT cell name is: design_top_level_i/Zynq_Processing_System/axi_interconnect_1/s00_couplers/auto_pc/inst/gen_axi4_axi3.axi3_conv_inst/USE_READ.USE_SPLIT_R.read_addr_inst/size_mask_q[3]_i_1__0.
    [Opt 31-67] Problem: A LUT2 cell in the design is missing a connection on input pin I0, which is used by the LUT equation. This pin has either been left unconnected in the design or the connection was removed due to the trimming of unused logic. The LUT cell name is: design_top_level_i/Zynq_Processing_System/axi_interconnect_1/s00_couplers/auto_pc/inst/gen_axi4_axi3.axi3_conv_inst/USE_READ.USE_SPLIT_R.read_addr_inst/access_is_incr_q_i_1__0.
    [Opt 31-67] Problem: A LUT2 cell in the design is missing a connection on input pin I1, which is used by the LUT equation. This pin has either been left unconnected in the design or the connection was removed due to the trimming of unused logic. The LUT cell name is: design_top_level_i/Zynq_Processing_System/axi_interconnect_1/s00_couplers/auto_pc/inst/gen_axi4_axi3.axi3_conv_inst/USE_READ.USE_SPLIT_R.read_addr_inst/access_is_incr_q_i_1__0.
    [Opt 31-67] Problem: A LUT2 cell in the design is missing a connection on input pin I0, which is used by the LUT equation. This pin has either been left unconnected in the design or the connection was removed due to the trimming of unused logic. The LUT cell name is: design_top_level_i/Zynq_Processing_System/axi_interconnect_1/s00_couplers/auto_pc/inst/gen_axi4_axi3.axi3_conv_inst/USE_READ.USE_SPLIT_R.read_addr_inst/command_ongoing_i_2__0.
    [Opt 31-67] Problem: A LUT2 cell in the design is missing a connection on input pin I0, which is used by the LUT equation. This pin has either been left unconnected in the design or the connection was removed due to the trimming of unused logic. The LUT cell name is: design_top_level_i/Zynq_Processing_System/axi_interconnect_1/s00_couplers/auto_pc/inst/gen_axi4_axi3.axi3_conv_inst/USE_READ.USE_SPLIT_R.read_addr_inst/size_mask_q[1]_i_1__0.
    [Opt 31-67] Problem:

     
    Hi Muzaffer
    THx for your reply. 
    I tried implementation with opt_design option -directive Explore, it didn't work.
    Aslo I disabled the opt_design and enabled phys_opt_design, it still has the same error in the implementation.
    I would try to delete the pins related  _AR_(like _arready, etc. ) and _R_ (like _rdata, _rid, etc.) pins in the AXI4 port in my IP. The data mover ip doesn't contains thes pins. I want  to see whether it works this way.
    Hopefully, the new vivado version will help. 

  • Calculating a distance between random points.

    Hi everyone,
    so my situation is like this :
    1) I have created a graph containing random points (3 different series). And the graph have three buttons .The first button will plot 30 random points on the chart. the second and third button will plot random point with different colour.
    What I am trying to do now is I need to choose one random point from the 30 points, and calculate the distance from the chosen point to the qrand or qinit..
    How can I do that? I really have no idea. Help!
    public void ForBtn1()
    Random qrand = new Random();
    int[,] points = new int[100, 2];
    int qinitx, qinity;
    for (int i = 0; i < 30; i++)
    int pointx = qrand.Next(0, 100);
    int pointy = qrand.Next(0, 100);
    points[i, 0] = pointx;
    points[i, 1] = pointy;
    qinitx = points[0,0];
    qinity = points[0, 1];
    chart1.Series["Initial Point"].Points.AddXY(pointx, pointy);
    chart1.Series["Initial Location"].Points.AddXY(qinitx,qinity);
    //To initialize random points and initial point
    private void button1_Click(object sender, EventArgs e)
    ForBtn1();
    private void chart1_Click(object sender, EventArgs e)
    //To initialize rand_config
    private void button2_Click(object sender, EventArgs e)
    Random qrand = new Random();
    int[,] points = new int[100, 2];
    int qrandx, qrandy;
    qrandx = qrand.Next(0,100);
    qrandy = qrand.Next(0,100);
    chart1.Series["Random Configuration"].Points.AddXY(qrandx, qrandy);
    private void button3_Click(object sender, EventArgs e)

    i cannot attach the photo here .. i dont know why. but here's the photo . check this link.. i uploaded it to fb.. 
    https://fbcdn-sphotos-e-a.akamaihd.net/hphotos-ak-xpa1/v/t1.0-9/11054299_811876005567689_3794441462666954824_n.jpg?oh=7c9576e4f1f9b2a7e2ac9cf744383051&oe=55AC5BD5&__gda__=1438193773_becbb041c6c51cfc4db4b38c2d18e7a2

  • Distance between GPS points

    I have an application where I am collecting GPS data and all is well, had no problem writing the drivers for gps communication but now I need to calculate displacement between my long and lat readings.  Is there a labview function developed to do this or do I need to figure out the calculations and code it myself.  I am trying to not reinvent the wheel.
    Paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

    There is a vi for the Garmin GPS, here. 
    Here is an application in the Developper's Zone
    You may want to check out this thread
    Message Edited by JoeLabView on 06-13-2007 08:48 AM

  • Minimum distance between access points

    Is it possible to locate 2 ap's (1200s) so close that they desense each other? I'm having some performance issues in an area where the 1200s are pretty close to each other.
    Thanks for any help on this.
    Mark

    Hi Mark,
    It is possible to locate AP's so close that they cause each other problems. Here is a link to a good document for the 1200 AP.
    http://www.cisco.com/en/US/products/hw/wireless/ps430/products_tech_note09186a00805190f1.shtml#topic4
    Here is an excerpt from the actual doc:
    Position the APs Optimally
    "The placement of the APs at the correct places is an important factor that accounts in the extension of the coverage area of the AP. Too many APs in the same vicinity can create radio congestion and interference, and reduce the throughput.
    A careful site survey can determine the best placement of APs for maximum radio coverage and throughput."
    Hope this helps!
    Rob
    Please remember to rate helpful posts...........

  • NaN as Output Data points

    Dear friends,
    i have written a resistivty program using ke224 current source, ke2182a nano voltmeter and lakeshore325 temperature controller,
    the program is running fine, data points are being written to spreadsheet,
    but the data point on x-axis is 0000 and on y axis is NaN,
    also i am getting an error6 at LSC325,
    can you friends please figure out wher i am stucked?
    thnaks in adavance 

    My first suggestion would to break down the task into chunks  and turn these chunks into subVIs.  Try to make these tasks reusable if possible (ei used in multiple places).  As it stands, I can't figure out what is happening in your VI.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Getting the length between two points

    Hi All,
    I am trying to get the distance between two points and came across the SDO_LENGTH function in the manual - however there is no example on how to use it.
    I was expecting the following statement to return me the value 9 but instead I am getting errors along the lines of SDO_GEOM.SDO_LENGTH must be declared etc.
    =============================================
    SDO_GEOM.SD0_LENGTH(
    MDSYS.SDO_GEOMETRY(2
    ,NULL
    ,NULL
    ,MDSYS.SDO_ELEM_INFO_ARRAY(1,2,1)
    ,MDSYS.SDO_ORDINATE_ARRAY(1,1,10,10))
    ,MDSYS.SDO_DIM_ARRAY(MDSYS.SDO_DIM_ELEMENT('X',-180,180,0.0001)
    ,MDSYS.SDO_DIM_ELEMENT('Y',-90,90,0.0001))
    ============================================
    what am I missing
    any help appreciated
    Brent Glover

    I think I have found my answer
    ============================================
    DECLARE
    v_length NUMBER;
    BEGIN
    v_length := SDO_GEOM.SDO_LENGTH(
    MDSYS.SDO_GEOMETRY(2
    ,NULL
    ,NULL
    ,MDSYS.SDO_ELEM_INFO_ARRAY(1,2,1)
    ,MDSYS.SDO_ORDINATE_ARRAY(1,1,10,10))
    ,MDSYS.SDO_DIM_ARRAY(MDSYS.SDO_DIM_ELEMENT('X',-180,180,0.0001)
    ,MDSYS.SDO_DIM_ELEMENT('Y',-90,90,0.0001))
    DBMS_OUTPUT.put_line(v_length);
    END;
    =============================================

  • Flex chart how to put distance between x-axis data

    hello
    i am using flex chart line series and column series. i want
    to display 100 data points, with different dates along the x-axis,
    but i don't want all 100 points to be displayed at the same time as
    the x-axis dates will not be readable. i want to have a fixed space
    between each x-axis point and the user then scrolls along the
    chart.
    i read the API but do not see any way to add the x-axis
    spacing?
    thank you for any assistance.
    Tony

    I don't know what you mean then.
    If you set the min and max to be a certain number of days
    apart then you know the dates within those days will be displayed.
    That combined with the width of the chart will define how much
    space there is between x-axis points.

  • Flex chart x-axis spacing between data

    hello
    i am using flex chart line series and column series. i want
    to display 100 data points, with different dates along the x-axis,
    but i don't want all 100 points to be displayed at the same time as
    the x-axis dates will not be readable. i want to have a fixed space
    between each x-axis point and the user then scrolls along the
    chart.
    i read the API but do not see any way to add the x-axis
    spacing?
    also how i do put more data information, with each data point
    if a mouse if placed over it, not just the X & Y data points.
    thank you for any assistance.
    Tony

    thanks so much,
    The tip data solved my 2nd problem.
    Thanks for your suggestions to"
    i am using flex chart line series and column series. i want
    to display 100 data points, with different dates along the x-axis,
    but i don't want all 100 points to be displayed at the same time as
    the x-axis dates will not be readable. i want to have a fixed space
    between each x-axis point and the user then scrolls along the
    chart.
    i read the API but do not see any way to add the x-axis
    spacing?
    you mentioned about using min/max values on the x-axis. That
    is a good solution except i would then need to add buttons to say
    ,show the next 30 days.
    I really want to to show 90days of data data, with say 30
    days appearing at once, and the user just scrolls to see the rest
    of the days data without having to press buttons for more data. Any
    idea how i can do this?
    thanks
    Anthony

  • Need charting help - multiple data points between major ticks

    Hi,
    I am trying to create an AreaChart in which the data shows a
    consumption rate over the course of a week. The major points along
    the x-axis will be Monday, Tuesday, ... , Sunday (the days of the
    week). However, there are multiple data points between each day. I
    only want the days of the week to show on the axis but I want to
    plot all of the data points. How would I go about accomplishing
    this task?
    Thanks in advance,
    Brent Schooley

    Thanks, it is getting closer now. My only problem now is that
    the data points do not line up correctly with the tick marks. I've
    look through the documentation and I can't figure out what to do to
    ensure this happens. Here are the relevant portions of my code:
    [Bindable]
    public var energyDataAC:ArrayCollection = new
    ArrayCollection( [
    {date: "2007, 7, 27, 0", saved: 0},
    {date: "2007, 7, 27, 12", saved: 50},
    {date: "2007, 7, 28, 0", saved: 35},
    {date: "2007, 7, 28, 12", saved: 0},
    {date: "2007, 7, 29, 0", saved: 0},
    {date: "2007, 7, 29, 12", saved: 46},
    {date: "2007, 7, 30, 0", saved: 39},
    {date: "2007, 7, 30, 12", saved: 0},
    {date: "2007, 7, 31, 0", saved: 0},
    {date: "2007, 7, 31, 12", saved: 44},
    {date: "2007, 8, 1, 0", saved: 45},
    {date: "2007, 8, 1, 12", saved: 0} ]);
    public function myParseFunction(s:String):Date {
    // Get an array of Strings from the comma-separated String
    passed in.
    var a:Array = s.split(",");
    // Create the new Date object.
    var newDate:Date = new Date(a[0],a[1],a[2],a[3]);
    return newDate;
    <mx:AreaChart id="Areachart" height="100%" width="100%"
    paddingLeft="5" paddingRight="5"
    showDataTips="true" dataProvider="{energyDataAC}" >
    <mx:horizontalAxisRenderer>
    <mx:AxisRenderer styleName="myAxisStyle"/>
    </mx:horizontalAxisRenderer>
    <mx:horizontalAxis>
    <mx:DateTimeAxis alignLabelsToUnits="true"
    dataUnits="hours" labelUnits="days" dataInterval="12" interval="1"
    parseFunction="myParseFunction"/>
    </mx:horizontalAxis>
    <mx:series>
    <mx:AreaSeries yField="saved" xField="date"
    form="segment" displayName="Energy Saved"/>
    </mx:series>
    </mx:AreaChart>
    <mx:Legend dataProvider="{Areachart}"/>
    Any ideas?
    Thanks,
    Brent

Maybe you are looking for

  • DC Activation Problem in CBS

    Hello, I am facing DC Activation problems in CBS. - We have two DC utils and config. The config DC uses utils DC and everything is working fine locally - Today we are migrating these local projects in NWDI. - I created new DCs in NWDI and copied the

  • Allowing a user to upgrade a specific Application

    We have a specific application that we install on all of our mobile computers. Our newest is the Microsoft 8.1 Professional with an attached keyboard. The issues that we are facing have all been resolved with the exception of one. The application is

  • Slatebook keyboard

    I have a SlateBook X2.  Using the (hardware) keyboard in the UK layout, I have a problem with the apostrophe.  It enters the wrong character - a U+2018 (left single quote) rather than a U+0027 (apostrophe).  This is a real pain - the spell-checker in

  • Problem in placing controls and indicator on imported pictures

    hi. i have a problem in placing controls and indicator on imported pictures on labview front pannel. when i place a control or indicator on imported picture ..the control or indicator don't stay at the top of picture but go behind the picture... kind

  • "Maps" not working properly after 10.3.2.440 update.

    I rec'd my 10.3.2.440 update Sunday night.  Everything seems to be working except Maps.  Maps will open, but I get a message on screen like, "Content Unavailable.  My Places content is currently unavailable."  The map opens, and finds my present posi