Flex :: Display My Column Chart In Dashed Manner
Sep 7, 2010I have got a new requirement in which i have to display my Column Chart in dashed manner.
View 1 RepliesI have got a new requirement in which i have to display my Column Chart in dashed manner.
View 1 Replies[code]This code is drawing a colum chart with two columns and drawing a line across the top of both columns. I have two requirements: the line need to be dashed as of now the line starts from top right corner of the first column to the same corner of the second column. How can i shift the line to the left, so that it starts from center of first column to center of second column.
View 3 RepliesI'm trying to prevent a default chart item roll over highlight in a Spark column chart.If you look at any of the chart examples on this page , when you roll over any of the chart series items, they turn a darkened shade of their original colour. This is what I want to prevent.
So far I have had no luck with using the itemRollOverColor property, as this only allows you to set it to one specific colour for the whole chart (my app has several different coloured series on the chart at once). Also, trying to leverage the itemRollOver event (with preventDefault() etc) hasn't worked either.
When I customized the ColumnChart in Flex by overrided updateDisplayList function, colors in legend no longer display. As you will see in the below picture:url...
View 2 RepliesApparently, it is not possible to have a chart with several independant horizontal axis. What I am trying to achieve is :
Display a bar chart, organized by any category
Overlay a line (actually a single horizontal line) on top of it (to display some sort of threshold)
I tried doing the following :
[Bindable] public var columnsDataProvider : ArrayCollection =
new ArrayCollection([{"Category" : "Cat1", "Value" : 10},
{"Category" : "Cat2", "Value" : 20}]);
[Code] .....
This is the closest to what I want, except that the line does not start span all the graphs vertically (it is drawn only between the two columns of my bar chart). Is it possible to define a completely independant horizontal axis? I also tried drawing directly on the canvas, but the canvas.lineTo() method only works in "data" coordinate; I would need something that works in "chart/canvas/absolute/whatever" coordinates.
I am taking data from SAP and displaying in column chart in a dashboard. I am using an ArrayCollection as data provider. This has 27 columns(fields). So i am using 27 columns charts. However, I also have to display the summary of these in two charts.i.e. sum of 14 columns in one chart and 13 columns into other.
View 2 RepliesI have a Flex Column Chart that has a range of 0 - 6 on the y-axis. I have added the following block to change the default colour of the horizontal grid lines to black.
<mx:backgroundElements>
<mx:GridLines>
<mx:horizontalStroke>
[Code]....
This works fine for all but the horizontal grid line at the top of the chart (at y=6). If I change the maximum value for the y-axis to something different then this new max doesn't have the formatting applied (but all the others do).
how do I get the top line to be black like the rest of the grid lines?
Dose this encompass all manner of display,net and event classes
import flash.display.*;
import flash.net.*;
import flash.event.*;
I have a datagrid with three columns.In one column I have to add all the values and display the total value.
View 1 RepliesHow can you display a multi-line column header using the Flex Spark Data Grid for Flex 4.5?
View 5 RepliesI need to display price of item for every date in the month. The chart can be Bar chart or plot chart.
Question: Suppose there is no data available for 01/15/2010 then, Is there a way to display (01/15/2010) on x axis but no (bar or plot point) corresponding y axis point ?
i.e. there will be a empty space between 2 bars or plot points.
Currently i am using 0 , But 0 is a valid value.
Let me know if such a display is possible.
I have designed an application that will load the information from an XML File to a Pie Chart.
First my XML looked like this
[Code]...
Now this works perfectly and I can see the generated Pie Chart.But now let's say that I changed the XML in the following manner.
[Code]...
in the results event how do I access it? bookStock = evt.result.books.stock.bookinfo; doesn't work. I get a "Error: Unknown Property: 'bookinfo'." When I analysed the bookStock object I get this. How do I access the XML element now? Does anything needs to be changed here?
[Code]...
I am creating column chart to show friends score statistics in facebook application. My problem is how to display friend names with images in y-axis and their score in x-axis.I cant able to pass any arguments in the method 'setSource' of tag. see the sample code here.
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical" width="100%" height="100%">
<mx:Script><![CDATA[
[Code]......
I have a column chart that displays several items. When you click the bar of one of the items, the chart changes to display a new chart of details of that item. However, if the mouse is not moved, the datatip from the first chart is now visible on the second chart. Is there a way to hide the datatip when the first bar is clicked and then show the new datatip for the second chart once it's visible?
View 0 RepliesThis is what i am trying to do: -User enters Array Values and Labels, it should sum up the values and will push a record i.e. Total, (Sum of Values) -Example user enters Jan, Feb, Mar in Labels and 10, 20, 30 in Values, so the out put should be
{title:Jan, data: 10}
{title:Feb, data: 20}
{title:Mar, data: 30}
{title:Total, data: 60}
I have some rich text created using the flex (flash builder 4) rich text input control. I want to display at least some of it in a column of an AdvancedDataGrid control.
View 2 RepliesI would like to show a dataTip on a flex chart by setting the selectedIndex property of the AreaSeries. For instance, if selectedIndex = 2, then a dataTip appears over the third item in the series. Is this possible in Flex 3.5? .
View 1 RepliesI am a scientist who knows molecular biology well but is a neophyte to Flex/ActionScript. I created a ColumnChart representing a probability histogram. I want to allow users to select a range of values on the X-axis via 2 sliders separate from the chart itself (one for the minimum value, one for the maximum.) By default the column bars are blue. But when the user selects a range, I would like to highlight that range in the chart a different color (eg. orange). How can this be done using ActionScript?
View 0 RepliesIve a column chart with 50 dynamically created bars and i want to extract the colors of these 50 bars and assign to headers in a datagrid which shows same kind of information . So pls let me know the way to extract the color assigned to bars .
View 0 RepliesI have a Flex 4, mx:DataGrid with the following (pertinent) properties set:
width="100%"horizontalScrollPolicy="off"
I have the minWidth set on all of the DataGridColumns and the width set on one of them. If I simply maximize/minimize the display (in browser or stand-alone flash player) of the application, the columns scale up and down nicely. But if you grab the edge of the application and drag it to make it bigger, only one column grows really big. When you drag the size down again, the one column remains big, but all of the other columns get squished way down.
I want to know column index of header in AdvancedDataGrid when a user clicks on header - either left click or right click.
View 1 RepliesIn Flex, using AdvancedDataGrid, I'm trying to achieve a drag and drop of one row's column data to another row's column or the same row but different column. Is this even possible? I've been googling for hours and all I can find are drag and drop whole columns just to rearrange their view order.
View 1 RepliesI am showing the web service data into flex application using datgrid. I need to show this data scrolling automatically in continuous manner. Anyone knows how to do this stuff?
View 1 RepliesI'm trying to make chart which is combination of bar and line chart using Flex Charting API . Here x axis would be common and y axis would be different. note that y axis got different range of value one is % and other is amount. Any one got idea how to make this chart. Here line chart would be staked on top of bar chart . The line chart and never over laid or drawn on top of bar chart.
View 1 RepliesDraw rectangle with dashed border in flex ?
View 3 RepliesHow can I create a rounded rectangle with a dashed line? I've seen several routines that draw their own straight lines, but nothing for rounded rectangles.
View 2 RepliesI have a flash 8 template and i am using Macromedia Flash Professional 8. I want to create a menu in a scrollable text box, which has two columns exactly aligned like so[code]...
View 5 RepliesIs it possible to develop chart in flash (eg. bar chart, pie chart)?
View 1 RepliesI'm trying to create an XML driven menu for my portfolio site. I'm basing the code concept off Senocular's tutorial on this site, but I'm basing the aesthetic/operational idea off portfolio menus such as those seen on [URL] and basically every other portfolio site that uses small thumbnails as icons to present larger versions of the work.
Functionally, I think I've got it down (it's basically the tutorial code with the submenu functions stripped out), but I'm struggling with trying to figure out how to display my attachMovie'd items in a logical row/column fashion... i.e. if I had 7 items in my XML file and wanted the row to exist in threes, I'd have two rows of three and one row of one.
I'm sure there's a very simple solution to this that I'm simply overlooking. I was just thinking about trying to implement this via some type of counter/multiplier for the _y property.
How can I Create an animated Bar Chart or Line Chart type of component in flash programmatically, which should depends upon an incoming XML data, the chart should have the basic criteria like, Chart Label, Item Tooltips, background grids (without using any image). There also needs an ability to change the data which should reflect the chart as well.
View 1 Replies