Flex :: Charts - DateTimeAxis Not Showing Labels

Sep 23, 2011

I have a chart that uses a DateTimeAxis for the x-axis and a renderer defined for it. I also have a function defined for the label on the axis but I am not able to get the labels to show.

Trying to print out a static time to test working.

private function timeAxisLabelFunction(obj1:Object, obj2:Object, axis:IAxis):String
{
return "9:30AM";
}

[Code]....

Apparently, the font family I was using doesnt support a font style that is used in the renderer. Not sure what style attribute it is yet.

View 1 Replies


Similar Posts:


Flex :: Specifying Granularity Of Labels With Datetimeaxis?

May 3, 2011

I've been trying for a while to set the number of labels being shown with a datetimeaxis being used for the y-axis. Unfortunately, I'm not able to get the desired behaviour.I'd like to have the y-axis separated into days (i.e. a tick on the axis for each day). However, it is spacing them out one week at a time. I have tried setting labelUnits and minorTickUnits to "days" but no joy.

<mx:DateTimeAxis id="vStepAxis" labelUnits="days" minorTickUnits="days" parseFunction="ParseDateForAxis" title="Date/Time"/>

View 1 Replies

Flex :: Charts - LineChart, LineSeries, DateTimeAxis Do Not Connect Points On Specific Time Distance?

Jun 21, 2011

I have a LineChar, with one LineSeries, on which i am drawing values ( Y axis ), on specific time ( X axis ).The problem is that i don't wanna the points which is distanced on a specific distance in time ( let say 6 hours ) to be connected.Is there a way to make LineSeries with DateTimeAxis not connecting points distanted in specific time ?

View 1 Replies

Flex :: Making DateTimeAxis With Weekly Labels Set Ticks On An Arbitrary Day Of The Week?

Jul 26, 2010

I'm using a CartesianChart with a DateTimeAxis to display weekly data in a Flex application.When I set dataUnits="weeks" and labelUnits="weeks" on the DateTimeAxis, it automatically places each major tick on a Sunday. However, I would like to provide users with the option of beginning the week on a Sunday or a Monday. How can I ask the DateTimeAxis to instead place the major ticks on a Monday (or some other day of week)?For example, if the user is looking at total sum of something over the week, and requests that weeks start on a Sunday, the Series data would look like:

x: Date(July 11, 2010) y: 25
x: Date(July 18, 2010) y: 30
x: Date(July 25, 2010) y: 32

[code]......

View 2 Replies

Flex :: Rotate Data Labels For Charts?

Oct 19, 2011

I want to rotate the data label to 90 degrees in column chart. I used the code written below but its not working.

<fx:Style>
@font-face{
src: url("/assets/MyriadWebPro.ttf");

[Code]....

View 1 Replies

Flex :: Charts - Mx:axisrenderer - Prevent The Labels From Being Scaled?

Oct 20, 2009

I have a line chart that sometimes contains a number of data points. I have solved how to prevent the horizontal axis from displaying too many labels using custom label functions and data functions. My problem is forcing the AxisRenderer not to scale down my labels.

I'm using the labelRotation property so the canDropLabels and canStagger properties are not an option.

View 2 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

Flex :: Charts - DataVisualization Charting Components Rendering Labels On Build Server

Apr 6, 2010

I'm having a problem with labels disappearing on Flex's datavisualization.swc charts that are built on our build server via ANT and the Flex 3.3 SDK. I've made sure that our license is applied properly on the build server (hence no water marks), and I've made sure the exact same datavisualization.swc was copied from my dev machine into the Flex3.3SDK/frameworks/libs directory.

Could it be a font problem? (Though we're really only using default fonts.) Here's the problem, missing axis labels on the build server Here's how it's supposed to look with labels (taken on my local development machine)

View 1 Replies

Flex :: Actionscript 3 :: Flex AlivePDF Export Charts / Charts Being Clipped

Jan 12, 2010

I am trying to use AlivePDF to save a chart into a .pdf file. However, when I try to save my chart, it ends up clipping half of the chart in the pdf so it isn't even fully visible. It seems that the screencapture that AlivePDF took to generate my pdf was too small.I am trying to get a chart from a sample to work with sample code for using alivepdf that I picked off the web.[code]

View 1 Replies

Flex :: Cover Exactly 24 Hours On DateTimeAxis?

Apr 10, 2011

I want to show a full 24 hours along the datetimeaxis wherever the values fed into it happen to fall. I thought that setting the minimum and maximum of a datetime axis on the chart would have that effect.

so I have private function loadDayComplete():void{ //called when data is reloaded. also includes reassigning the dataprovider of the chart.

[Code]...

When I load up the function though it doesn't plot any points when the min and max are set. If I take out the minimum and maximum they show up fine! I double checked in debug mode that the minChartDate and maxChartDate are what they should be.. but maybe I'm misunderstanding how minimum and maximum are supposed to function... I also tried widening the min/max to include several days and still no luck. I also tried assigning the min/max when the chart data changes like so:

View 1 Replies

Flex :: Flex - LineChart Broken Line With DateTimeAxis?

Apr 12, 2011

I have a LineChart with a DateTimeAxis as horizontalAxis and a maximum set. If a point is beyond the maximum date, the whole segment will not appear. Yet, is there a way to make it appear until it reachs the border of the chart?The code here :

<?xml version="1.0"?>
<!-- Simple example to demonstrate the DateTimeAxis class. -->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"

[code].....

View 1 Replies

Actionscript :: Create Dynamic DateTimeAxis In Flex?

Jan 12, 2012

I have a chart with X-axis showing timeline and Y-axis showing value for an object. The time line values are in 'milliseconds'. I have give the user a way to select timeline, user can select a day/week/month/months. So, in my Chart I want to show all the data points for the selected range but want to limit the date labels displayed on the X-axis. For Ex: if user selects a week, I want to display Mon to Sun on the X-axis. And if user selects a day, want to display a label for every 3 hrs like that...

I guess it is possible if only, I look at the selected time range at run-time and based on the starting (t1) and end (t2) time, I make a decision. Is there any API available in Flex's DateTimeAxis to achieve this ? Or any other ideas on how to get this working ?

View 2 Replies

Flex :: Pass The Array Values (not The Array Collection Values) To The Bar Charts Or Column Charts?

Sep 7, 2010

Is there anyway where I can pass the Array values (not the array collection values) to the Bar charts or column charts using flex 3.5...

here is the thing i want:::

I have array values like this,,

array1 = [23, 49, 40, 239, 20, 80, 39,49,120, 24, 31,41];

and i want to show these values on the Yaxis and months on Xaxis....

I have two Qns,

1) how can I pass this array to Bar chart or column chart.

2) how do I need to show months on Xaxis. beacuse I'm asking this regarding, I have kept a filters that even if we want to see some months or a particular months or perticalar span of months... there on Xaxis it need to change the months dynamically depending on the filters..... (for ex, on Xaxis the values should be (Jan, Apr, Jun,Oct) if i select the 3 months period filter....)

I have written a logic to collect the values of those particular months into an array, but not understading how to pass this array to Bar chart,, beacuse there I don't know what Xfield and Yfield to be given....

View 1 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 :: DateTimeAxis Creates Duplicate Months On Axis

Nov 17, 2009

I am working with a Flex DateTimeAxis. I have a scenario where the DateTimeAxis sometimes creates duplicate months on the Axis. The month label unit is generated based on a min/max value that is supplied to the DateTimeAxis, it is NOT generated by the series data as far as I can tell. In other words, the duplication does not exist within the data supplied to the chart, but is part of automatic label generation process that DateTimeAxis will execute when supplying a min/max value for the axis.[code]...

View 1 Replies

Flex :: DateTimeAxis: Displaying Dates In Another Timezone (neither Local Nor UTC)?

Oct 1, 2010

I'm working with an AreaSeries + DateTimeAxis in Flex 4. The dates for the time axis originate from a server in another time zone. I'd like to see the graph (in my local time zone) displayed using the server's time zone.I know that I can set the DateTimeAxis.displayLocalTime property to true or false, to have dates displayed in the local or UTC time zone. But the time zone I want is neither of those.Is there a simple way to make DateTimeAxis work with another time zone? Or even a complicated way?

View 2 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

Flex :: Horizontal Label On DateTimeAxis Dissappears Sometimes After Changing Data

Jul 31, 2009

I'm working with an Adobe Flex project and I have data I'm plotting against a DateTimeAxis (X-axis) but because there are a lot of points, I have to do some manipulation and remove some objects in the array (I do this by copying data to another array, removing items, then copying the new array into the original array). However, sometimes after I do this, the date labels disappear off of the x-axis! Why does this happen? I look through my array and I cannot find a reason its occurring (no objects with nothing in them, everything appears in chronological order).

View 1 Replies

Actionscript 3 :: Flex Line Chart Zooming With A DateTimeAxis As Horizontal Axis

Jun 28, 2010

I have a problem zooming in on a line chart with a dateTimeAxis as horizontal axis. I want to zoom in and out, by setting the minimum and the maximum attribute of the dateTimeAxis with a slider. The date labels change as should, but the lines disappear as I set the minimum or the maximum. Here's a part of the code I have:

[Code]...

View 2 Replies

ActionScript 3.0 :: Flex Code For Rich Look And Feel Of Flex Line Charts?

Nov 25, 2010

I want to give a good look and feel to the flex line charts. How to show it more attractive. I have done everything, now i want to show it more attractive/rich look and feel. can you guys provide me any samples.

View 3 Replies

Flex :: Changing A Flex Movie To Use Runtime Shared Libraries And Losing Text In Charts?

Dec 3, 2009

I'm creating a small size Flex movies which contains two line charts, at the moment the size of the release build swf is 343KB, which is too large for our needs.

I've tried changing the loading of the SWC file to Runtime Shared Libraries, but I found that this removed the text of the charts (the text for the x and y axis). Why would the text be removed when the Framework linkage is set as a Runtime shared library?

View 1 Replies

Flex :: Displaying Images/icons Besides Y-axis In Flex Bar Charts?

Jul 28, 2011

I am trying to place an image besides the label in y-axis. So I have created a custom label renderer(A HBox containing and ). The source for the image has to be set based on a property present in the data provider. The problem is, I am not able to access the BarSeriesItem in the fnSetSource() method.

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical"
width="1280" height="750">

[code].......

View 2 Replies

Xml :: Set XML As DataProvider For Charts In Flex?

Mar 13, 2011

I want to display XML exported from Oracle Database as a chart......

The xml has the following structure :

<ROWSET>
<ROW>
<ORDER_ITEMS_ID>1</ORDER_ITEMS_ID>

[Code]....

I've seen many chart examples using ArrayCollection as DataProvider . using the same way , i tried to set xml . But no results.

how to set an XML as dataprovider ? ( or XMLList or XMLlistcollection )( i'm developing a small app in AIR )

View 1 Replies

Flex :: Create Dynamic Pie Charts?

Jul 17, 2009

Is it possible to create below type of pie charts and values create dynamically (please go through the link)?

View 3 Replies

Flex 3 Charts Export To Pdf And Msword?

Sep 11, 2009

In Flex 3 application how to export the charts in pdf and word formats?

View 2 Replies

Flex :: Charts - LineSeries InterpolateValues As ZERO?

Jan 22, 2010

In a LineChart in Flex you can set a LineSeries to interpolateValues="true" what this does is connect missing values so you do not have gaps in your line. But what I would like is for it to insert 0's for the missing fields instead of drawing a direct line to fill the gap.

Is there a way to set it to do that?

View 1 Replies

Flex :: Using Mx.charts In A Mobile Project?

Dec 25, 2010

Adobe states that Charts are supported in mobile projects but when I try to change the following working files (created project with File - New - Flex Mobile Project - Google Nexus One):

MyTest.mxml:

<?xml version="1.0" encoding="utf-8"?>
<s:MobileApplication
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[code]....

to Flex Build Path (clicking "Add SWC" button):Then it fails with the error:Could not resolve to a component implementation.

View 2 Replies

Flex :: Timeline Charts With Rich Ui

Feb 10, 2011

I have a requirement to come up with a time line chart and a few more controls on a single page[with rich ui]. I have short listed Flex, JSF[apache trinidad], html5, gwt these technologies. None of them provide timeline charts on their own. I am looking at other options such as using third party libraries. The chart should have drill down capabilities as well. Let me know if there is any specific technology that I should try.

View 3 Replies

Actionscript :: Use Itemrenderer In Bar Charts In Flex?

May 5, 2011

I need to use the item renderer in Barchart. but there is no itemRenderer property in barChart.

View 1 Replies

Flex :: Building Charts With An Ant Task

Jun 1, 2009

Using the Flex ant task to build our application results in the "Flex Data Visualization Trial" watermark being displayed in our charts. We have professional licenses for flex builder but do not know how to tell the ant task about these.

View 1 Replies







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