Single Chart Series with multiple color data points
I am developing an application using the flex chart component
and I am binding data to 3 different chart series which is pretty
intense processing. I was wondering can I use only one chart series
and when I bind the data points just to change the color per data
point which meet certain criteria?
Here one method from my application where I am dynamically
binding data to my series.
private function loadSeries(data:XMLList, yAxis:String):void
seriesAdd.yField = yAxis;
seriesAdd.xField = "Date";
//seriesDelete.yField = yAxis;
//seriesDelete.xField = "Date";
//seriesChange.yField = yAxis;
//seriesChange.xField = "Date";
seriesAdd.dataProvider = data.Trade.(A == 'Add');
seriesAdd.//Can I change the color per each data point if I
have multiple data sets?
//seriesDelete.dataProvider = data.Trade.(A == 'Delete');
//seriesChange.dataProvider = data.Trade.(A == 'Change');
Thank you
I think I found something to get me started:
http://livedocs.adobe.com/flex/3/html/help.html?content=charts_displayingdata_09.html
My next question is if I have the following function to fill
my data points:\
private function myFillFunction(element:ChartItem,
index:Number):IFill {
var c:SolidColor = new SolidColor(0x00CC00);
var item:ColumnSeriesItem = ColumnSeriesItem(element);
var sales:Number = Number(item.yValue);
if (sales >= 50000) {
return c;
} else {
// They have not met their goal.
c.color = 0xFF0000;
return c;
How can I access values that pertain to the specific chart
item, but are not plotted on the x and y axis. Something similar to
the checking on the above function, but check if value that is not
plotted but still exists on the data provider.
Thanks in advance.
Similar Messages
-
Screen came up with multiple colored lines
When I plugged my phone into the wall to charge it came up with multiple colored lines. It has never done this. I immediately unplugged it and plugged it into my computer. When it started to sync it made a noise like when you scrunch up a piece of paper. The screen looked fine at this point. I checked a few minutes later and a message came up saying that no calls could be sent or received. Contact an apple dealer. I have not downloaded any thing that would be a no, no. Oh and now it won't charge. But it gets really hot to the touch when plugged into charge. It just gives a low battery warning. What did I do wrong???????
Sounds like your logic board went bad. Contact Apple and get it serviced.
1-800-MY-IPHONE
Dave M.
MacOSG Founder/Ambassador An Apple User Group iTunes: MacOSG Podcast
Creator of 'Mac611 - Mobile Mac Support' (designed exclusively for an iPhone/iPod touch) -
Single proforma invoice with multiple deliveries
Hi
I would like to know how to create a single proforma invoice with multiple delivery numbers. Please let me know how?
ThanksApart from the above option, you can also use T-code VF04 i.e. Billing due list
Regards,
Sagar -
Using single SMB share with multiple Hyper-V clusters
Hello,
I'm trying to find out if I can use a single SMB share with multiple Hyper-V Clusters. Looking at:
How to Assign SMB 3.0 File Shares to Hyper-V Hosts and Clusters in VMM
I think it's possible. Since the File Server is going to handle the file locking it shouldn't be a problem.
Has anyone tried that?
Thank you in advance!Hello,
I'm not sure that's possible, I get this from this statement:"Assign the share—Assign
the share to a virtual machine host or cluster."
Even if it worked I wouldn't do that. Why don't you just create multiple shares? -
Single step workflow with multiple approvers (without using a group)
Hi,
is it possible to have a single step workflow with multiple approvers without using a group? This is for a contract document.
i want to add a number of users based on particular logic. The approvers are random and do not belong to any particular group.
DO let me know if it is possible or if any of you have done that.
thanks in advance.
regards,
rubioHi Rubio,
I believe the behavior would be, if individual users are added as approvers then the system would require each approver to approve the document. However, if you use the user group, you could set the role so that it would be either ALL or ANY.
Regards,
Vikram -
How do I create a single PDF file with multiple pages?
Hi, I occasionally need merge several jpg images into a single pdf file with multiple pages (one Jpg per page). I have tried doing this on Preview, and by selecting all the pages I want to include in my document and trying to save to Pdf through the "Print" function, but every time it only saves the first page.
Can anyone tell me if there is a way to save multple-page pdf files without having to purchase a specific program (i to this too infrequently to justify the cost)?
Thanks very much,This works for me...
Open first image in Preview View > Sidebar. Drag the other images into Sidebar, then select all.
From File menu > print selected images. Choose PDF > Save as PDF
-mj -
Can I communicate single PXI chassis with multiple computer using MXI
Can I communicate single PXI chassis with multiple computer using multiple MXI cards
we are using cvi with MXI we want to share channels for other computers Can we do with mxiYes this is possible when you use a PXI controller. Attached is a screenshot showing a possible configuration.
Jacob K || Applications Engineer || National Instruments
Attachments:
PXIMaster.png 20 KB -
Pre select datagrid with multiple colors
how to pre select rows in a datagrid with multiple colors based on a condition?
for eg: I have a status column.Based on the value of the status,the rows should be highlighted.
if(status=='arrived'){
highlight in green;
}else
if(status=='delayed'){
highlight in red;try this, override drawRowBackground function
public CustomDataGrid extends DataGrid
override protected function drawRowBackground(s:Sprite,rowIndex:int,y:Number, height:Number, color:uint, dataIndex:int):void
var item:Object = this.dataProvider.getItemAt(dataIndex);
if (item.status == 'arrived')
color = 0x00FF00;
else if (item.status == "delayed")
color = 0xFF0000;
super.drawRowBackground(s, rowIndex, y, height, color, dataIndex); -
How do I update a waveform chart with multiple plots one point at a time?
Hi,
I am updating multiple plots one point at a time. That is, every time I update the chart I have a value for one of the plots. If I put in a cluster with NaN for each of the charts except the one with the data I can only get individual points on the chart. I would rather have them connected.
Any clues? The only thing I can think of is to delay the update and do interpolation between samples - too complicated for me.
ThanksAre the points within a given plot equally spaced in time? If so, perhaps you need to maintain your own history of the data and used a waveform graph rewriting the history data to the graph each time. If the points are unequally spaced, then you will need to do it as an XY graph.
-
Candlestick chart problem with multiple series
Hello,
I added one mx:CandlestickSeries object and couple additional
mx:LineSeries objects to the chart. All series are represented but
still I have one problem. More series I add - less candles are
becoming of CandlestickSeries data. It seems that there should be
any scaling option for all series in the chart or something like
this, but I cannot find it. I'm still new in Flex Can anyone halp
me with this?
Thanx in advance
marukasI've added screenshots to get better view of the problem.
Here is chart with addtional series:
Chart
with multiple series
And here nothing is changed except that additional line
series were removed:
Chart
with only one CandlestickSeries
Is it possible to get the same candles as in 2nd view with
addiotnal series added? -
Flash line chart: manipulating the line and data point
In Apex 3.1 Flash line chart
Is there a way to change the line thickness and suppress the circular data point? We think it looks cartoonish and ugly especially when there are many data points.
Thanks,
FredHello,
Use Custom XML in the Chart attributes and replace the line_chart section with:
<line_chart left_space="5" right_space="5">
<block_names enabled="no" />
<dots type='circle' radius='2' />
<lines size='1' auto_color='yes' tone='0xFFC700' color='0xC1C1C1' />
</line_chart>I've put the example here also: http://examples.apex-evangelists.com/pls/apex/f?p=286:34:0
If you come to ODTUG, OOW or our "European Apex Training Days" I'll go into more depth about all this.
Regards,
Dimitri
-- http://dgielis.blogspot.com/
-- http://eurotraining.apex-evangelists.com/
-- http://apexblogs.info/ -
Can we bind a single external table with multiple files in OWB 11g?
Hi,
I wanted to ask if it is possible to bind an external table with multiple source files at same or different locations? Or an external table has to be bound to a single source file and a single location.
Thanks in advance,
Ann.
Edited by: Ann on Oct 8, 2010 9:38 AMHi Ann,
Can you please help me out by telling me the steps to accomplish this. Right click on the external table in project tree, from the menu choose Configure,
then in opened Configuration Properties dialog window right clock on Data Files node and choose from menu Create -
you will get new record for file - specify Data File Name property
Also link from OWB user guide
http://download.oracle.com/docs/cd/B28359_01/owb.111/b31278/ref_def_flatfiles.htm#i1126304
Regards,
Oleg -
MyFitnessPal creating multiple identical data points in Health app. Why?
I am using MyFitnessPal to sync with the Health app. I logged my breakfast this morning using myfitnesspal.com which syncs with the MyFitnessPal app. In many instances (carbohydrates, fat, protein, etc.) multiple data points were created with the exact same value (i.e. there were 6 data points saying 13g fat, adding up to 78g of fat so far today, which is wrong).
Has anyone else experienced this and what did you do to fix it?
I have an iPhone 5, using myfitnesspal.com and the MyFitnessPal app, which syncs to the Health app.Same problem with the Garmin Connect app... In the Health app, there are 5 identical entries for number of steps every hour, so Health shows me with 5x the number of steps I've actually taken (according to the vivosmart and hence the Garmin Connect app). There are also multiple entries for active calories (although all showing being shared at 12:00am), also using Garmin Connect as the source... apparently, today I've exerted over 12,000 calories!
I've also got MyFitnessPal, and from what I can tell, it appears to be tracking correctly. -
Single VPP purchase with multiple configurators
Can a single VPP purchase be used with multiple configurators(each with different apple ids).
This works for me...
Open first image in Preview View > Sidebar. Drag the other images into Sidebar, then select all.
From File menu > print selected images. Choose PDF > Save as PDF
-mj -
GR Printing For Single Line Item With Multiple Account Assignment.
Hi All,
There is PO for projects (Account Assignment -P - Network) in which in a single item consist of multiple account assignment.
Noe while entering the GR I select "Collective Slip" option but when the GR is posted system automatically select option "Individual slip" and seprate line item are printed for each account assignment.
The printing program is standard SAPM07DR. The SAP version is 4.7. Can anyone tell what is ther any setting in configuration or is it problem in program or smart form
Thanks & Regards,
Omkarhi
please check your form and routine used to print.
Maybe you are looking for
-
i added playlists to my ipod nano but when i renamed them and tried to update an error message came up and said "the playlists selected for updating no longer exist". the playlists are in itunes but were deleted from my ipod. what happened??
-
OS X Server DNS Best practice?
Hello, I am having a little trouble with my OS X Server DNS. I have set up server.example.com and that works fine but now from my internal network I cannot get to: example.com or www.example.com example.com is a website I have set up on a remote webs
-
FRM-99999 error : download location Oracle patches?
I'm trying to deploy forms to the Web using: Developer 6 Server Jinitiator 1.1.7.11 Oracle Application Server 4.0.7 Windows NT 4.0 sp3 A "FRM-99999"-error occurs. Does anyone happen to know if the above-mentioned configuration should work for deployi
-
OSX Adobe Acrobat Pro 11.0.03 -- persistently hiding all toolbars (always)
Is there any way to force hiding all toolbars as the default when opening documents? I found the option to restore settings for documents previously saved with Adobe, however, I want to open all documents (including ones not previously saved with Ado
-
I'm on Mac OS 10.6.7 on a new macbook pro. Trying to update to Firefox 4.0 but when I attempt to drag the update into my Apps folder, it says I do not have permission to update - even though it's my computer and I'm the admin. I've restarted the comp