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
Similar Posts:
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
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
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
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
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
Dec 16, 2009
I'm trying to set the axisStroke style on AxisRenderer via CSS. It's of type IStroke. How do I create a Stroke in CSS?
View 5 Replies
Sep 7, 2009
Is there a way to display the Vertical Axis outside the graph? I need the limits of the graph to be displayed between the vertical axis, without overlapping the series over the graph.
See that screenshot of what I have:
I need to get something like:
Or I should create a custom axis renderer component that get data from this graph and display it outside?
View 1 Replies
Mar 19, 2011
I'm trying to hide both the vertical and horizontal axis renderers in flex so I can take a picture of the chart without them.I've set both renders to visible = false and includeInLayout = false. They don't show up but they still take space. I've tried setting widths/heights to 0 and that doesn't help either.
<mx:horizontalAxisRenderers>
<mx:AxisRenderer
id="horizontalAxisRenderer"
axis="{dtAxis}"
[code]...
View 3 Replies
Feb 1, 2012
Despite setting the labelRotation property to 90 in this column chart, the axis labels are horizontal. Is there something additional I need to do?
<mx:ColumnChart id="myChart" height="100%" width="100%"
dataProvider="{myData}"
showDataTips="true">
[Code].....
View 2 Replies
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
Jul 15, 2010
I'm trying to create in Flex a Tile view that shows some images that a user has. The images don't have the same size, some are small and some are big.
What I'm trying to do is to use a List and create an ItemRenderer that has an Image property which displays the user images (the images are passed to the source property of the Image Object), I want the big images to scale down to the size of the tile so I set the 'scaleContnet' property of the Image Object to true, but this causes the small images to scale up to the size of the tile, this is not the behavior I want.
all the images are Embeded into Class objects and are passed as arguments to the ItemRenderer, how can I know in the ItemRenderer if I need to set the 'scaleContnet' property of the Image Object to true (for big images) or false (for small images)?
View 2 Replies
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
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
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
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
Apr 28, 2010
I have a flex app I am scaling using systemManager.stage.scaleMode=StageScaleMode.NO_BORDER; for the most part it works well except for my bitmap data (mostly png's from the designers).
I can set the mx:image tags to smoothBitmapContent=true and that works great for everything except my mouseover objects. When I do a mouseover, the source is being changed from one embedded image to another embedded image. I have tried several (many) online "smoothimage" classes, and tried to write my own, I have tried to reset smoothBitmapContent every chance I get but still no dice. It seems to mee that because I am scaling at the app level, that the flopped out bitmap is not getting smoothed when it renders.
View 1 Replies
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
Sep 11, 2009
In Flex 3 application how to export the charts in pdf and word formats?
View 2 Replies
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
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
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
May 5, 2011
I need to use the item renderer in Barchart. but there is no itemRenderer property in barChart.
View 1 Replies
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
Jun 2, 2009
Does anyone know of a good Scatter Plot/Chart component that I can use with Flex Builder 3?
View 2 Replies
Dec 29, 2009
I have Flex Builder Professional Ver 3 (Built with Eclipse) version.
I need to build an application with charts. The problem is that there are no charting components to be seen. There is no datavisualization.swc file in the libs folder.
View 3 Replies
Apr 17, 2010
I am developing a tool to create dynamic hierarchical charts. I am able to create object i.e circles and link it dynamically. I want to set properties for those objects.
View 1 Replies
Aug 31, 2010
I want to create Yield curves using adobe flex. pls, any one have an Idea how to create yield curves in a chart using flex...
View 1 Replies
Nov 18, 2010
If you see google finance or other such charts, they usually have a small pentagon on the chart that indicates when the dividend was paid. Note the D markers in the screenshot [URL]. In this link you will see A,B,C,D .... along the charts X-Axis. If you choose a larger data range say 2005- 2010 , then you will see blue dividend markers along the x-Axis. Is there any thing in Flex that will allow us to do that?
View 1 Replies
Mar 3, 2011
I have a Flex LineChart which contains three series:
two LineSeries
one ColumnSet
Has anyone seen or heard of a way to set the dataTipRenderer on a per-series basis? You can only override it for the entire chart and I would prefer to not have to overlay multiple charts just to achieve this effect.
View 1 Replies