Error bars on column charts
I'm having a problem with inserting error bars into a graph. In the Series window I pull down the menu and select "standard error", but all my error bars are the same, no matter how many categories i have, or how variable the data are within each catergory. How do i get error bars to reflect the actual data from my spreadsheet? I've calculated the standard deviations and standard error and they are clearly different from what the graph indicates. I can't select my own standard deviation data and apply it to the chart?
Hi Jim,
I checked out your claim that the Standard Error bars don't change and I can't confirm it here. Everything seems normal. Here's my test with 20 data points, using a scatter plot for easier reading, but the result was the same...
And, here's the same function of randomized data with 53 points...
Same data with Standard Deviation...
All looks ok to me. It does require that you get the scale big enough to see the change in the error bars. I used a fixed scale for all three shots, and the data is =2+1.5*RAND().
Regards,
Jerry
Similar Messages
-
All:
Can anyone tell me if it's possible to add Y Error Bars to a chart in the Web Application Designer v3.5? I'm able to add a trendline to the data series, but do not see an option for error bars.
Thanks in advance...
KBDid you have get this issue resolved or answered?
-
Round Corners in Bars of Column Chart
i m trying to build a column chart with rounded corner
bars....like we can make a text box with rounded corners using
cornerRadius property......
also is there any way to show a mirror image(not a shadow) at
the bottom of the vertical-rounded-corner-bar of column chart.....
pls
find the image of the issue
pls help me on this if anyone has any idea......pls find the solution of the above issue on these below
urls...
http://www.degrafa.org/samples/
http://merhl.com/flex3_samples/nikePlus/
http://www.degrafa.org/blog/category/data-visualization/ -
How to put std dev error bars in a chart
Page 141 of the Keynote User Guide states that error bars can be shown on plotted series data. Can anyone get this to work as expected with standard deviation bars for each plotted mean value? I spoke with an Apple Tech Rep today who supposedly knows Keynote well, but he could not get std dev error bars to display properly on a line chart.
Numbers has the same instructions as Keynote and seems to be designed to work the same way."Properly" means placing the error bars around the mean values for each data point in a series. In my case, the x-axis is time in minutes and the y-axis is concentration of a chemical.
-
Different bars in column chart
Hi All
I want to show a column/bar chart with huge amount of data.
Here each bar should be in different colors. May be five to six
colors dynamically changing regularly. Is there any way to add
custom bars to the chart like renderer for datagrid.
Any suggetios will be appreciated.Are you going to show the bar going past the maximum value?
If not, then you should change the Y value when entered into the array to the maximum value allowed. i.e.
if(itemYValue > maxAllowedValue) {
itemYValue = maxAllowedValue;
Where maxAllowedValue is a variable you set on the application to control the maximum value for the chart.
This is assuming that you are loading the values into an Array before updating the chart dataprovider with that array. -
What is the difference between bar and column charts
To me they are the same. When should I use one of the two,
but another?"glen08" <[email protected]> wrote in
message
news:ghvjov$sgi$[email protected]..
> To me they are the same. When should I use one of the
two, but another?
One faces east-west, the other north-south.
HTH;
Amy -
Confidence interval error bars in charts
Hello, does anyone know how to put the error bars on a chart?
I can make a bar graph from my data but I need to add the error
bars based on the confidence intervals of my data. Is there a way
to do this? Can CFReport Builder do this?
Thank you.You can't get Keynote charts to generate error bars, or to use error bar information from some other source -- that functionality just isn't available in natively-produced Keynote charts.
However, charts that are copied from Excel and pasted into Keynote look quite good. You won't get all the cool textures, or 3D effects that you can with Keynote charts (and not having the latter is a good thing in my book). But, if you set the background of the chart to "None" from within Excel, the chart background will be transparent in Keynote, and you can do things like apply shadows that will conform to the chart elements. Any formatting that you do in Excel should be respected by Keynote. -
Does anybody know of a simple method to add error bars to the charts in Numbers or KeyNote. without error bars, graphs really do not tell us anything. The only way that I can see to add error bars is to draw them on manually, which is rather tedious. I know that this is not a full blown graphing package, but error bars seem to be an easy thing to implement. Is there some hidden feature that I cannot find.. please tell me so. If not, Apple team, please add this in the next release! This is such a useful feature.
DISGot about 500 hits when I searched for Error Bars in the Numbers topic. This was the first one:
http://discussions.apple.com/thread.jspa?messageID=5639404�
Welcome David. Search is your friend -
How can I add error bars in Interactive Chart?
Thank you very much. Sorry for not explaining enough.
I calculated errors and added error bars in Basic Charting as follows.
But I couldn't add error bars in Interactive Chart.
What should I do next? -
This must be simple, but I can't figure out how to make either a standard deviation or a standard error bar to a chart.
I place the numbers 22, 33, 44 in three adjacent cells. I highlight them and see average in the lower left area. I drag this average button to a new cell, and viola the cell says 33. I click the cell and click chart and make a bar chart and get a chart that has a bar at 33. I then click the inspector and under advanced click error bars and positive and negative. For fixed value it works fine. For standard deviation or standard error, the error bar does not exist?!! How do I use the std dev or std error buttons to generate the appropriate error bar?
I can't believe this is a bug with the program, it must be a bug with me.
Please help,
PaulThank-you Yvan for your continued support. I have been working on this as well and spent some time with a VERY receptive and helpful Apple specialist, Chris. Indeed, what I was looking for was a chart like Yvan posted as Graphique 6. A version I created is here (hopefully I've got this image insert working:
image: !http://picasaweb.google.com/lh/photo/HeCHRLWhs3C79ewObd_TdA?feat=directlink!
I made the error bars by using a formula to generate the standard deviation:
image: !http://picasaweb.google.com/lh/photo/FnKGk70HlsKmn38cYPYQFw?feat=directlink!
Then generated custom error bars with that cell:
image: !http://picasaweb.google.com/lh/photo/5IQm4ncUiq-Q9R8H2bb3zQ?feat=directlink!
I just discovered that Excel implements the one-click error bars identically to Numbers. It is counterintuitive (to me and my coworkers who have listened to my ranting today) that the one click standard error or standard deviation buttons would not give the standard deviation or standard error plots on the average bar, rather than on a series of bars, as if they were independent data. Here is one of countless examples of data from peer reviewed scientific literature of how this type of plot is (and IMHO should be) used:
image: !http://picasaweb.google.com/lh/photo/5IQm4ncUiq-Q9R8H2bb3zQ?feat=directlink!
One can see that some of the values are within the standard error of the other values, and some are significantly different.
But I now realize that because the implementation is the same as in Excel, it is unlikely that the feature will be changed to what I see is a more logical use of the one-click button, since we can use the custom buttons if we really want to chart differently...
I want to thank Apple and the responders to this thread for their time and patience.
Paul -
I would like to know if anyone has used std. error bars (as
in statistics) in column or bar charts and how that was
accomplished. I didn't see anything about it in the flex
docs.Frustrating that these aren't included by default, isn't
it...
I'm sure the questioner long since has solved his problem or
given up, but since I've been unable to find any solutions myself
and have had to reinvent the wheel, I'll try and point anyone else
looking in the right direction.
One way to do it is to create your own IDataRenderer (or
extend or facade an existing one). You'll want to make sure you're
passing a standard deviation as part of your series data and then
in the updateDisplayList method draw it yourself, grabbing the
deviation from the data.item. You'll need to scale it
appropriately... for instance, extend CircleItemRenderer and add an
updateDisplayList along the lines of:
override protected function
updateDisplayList(unscaledWidth:Number,
unscaledHeight:Number):void
super.updateDisplayList(unscaledWidth, unscaledHeight);
if (data.hasOwnProperty('item') &&
data.item.hasOwnProperty('deviation')) {
// figure out the scale (I'm certain there must be a more
appropriate way to do this)
var scale:Number = data.y / data.item.value;
var deviation:Number = data.item.deviation as Number;
var g:Graphics = graphics;
var stroke:IStroke= new
Stroke(0,1,1,false,'normal','square');
stroke.apply(g);
// figure out the center
var trueX:Number = unscaledWidth / 2 - .5; // otherwise
seems to be off to the side, for me
var trueY:Number = unscaledHeight / 2;
// draw the error bar
g.moveTo(trueX,-(deviation * scale) + trueY);
g.lineTo(trueX,(deviation * scale) + trueY);
g.moveTo(trueX, trueY);
// draw little T's on the end of the error bar
g.moveTo(trueX -2, -(deviation * scale) + trueY);
g.lineTo(trueX +2, -(deviation * scale) + trueY);
g.moveTo(trueX -2, (deviation * scale) + trueY);
g.lineTo(trueX +2, (deviation * scale) + trueY);
From there you should be able to futz with it to make it look
pretty.
Hope someone finds this helpful. -
Is Stacked Bar/Column chart Supports Multiseries..?
Hi All
Is Stacked Bar/Column chart Supports Multiseries..?
I was trying to build a Stacked Bar chart .And add a line
series to it But when i run this I'm getting an error
like this
"ReferenceError: Error #1056: Cannot create property offset
on mx.charts.series.LineSeries."
Here is My Code
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute">
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
[Bindable]
public var netPrByQtrData:ArrayCollection=new
ArrayCollection
{quarter:"Q4 05", bottom:88.89, middle:11.11, top:0.00,
netPromoter:-88.89},
{quarter:"Q1 06", bottom:80.00, middle:10.00, top:10.00,
netPromoter:-70.00},
{quarter:"Q2 06", bottom:16.67, middle:50.00, top:33.33,
netPromoter:16.67},
{quarter:"Q3 06", bottom:28.57, middle:28.57, top:42.86,
netPromoter:14.29},
{quarter:"Q4 06", bottom:80.00, middle:20.00, top:0.00,
netPromoter:-80.00},
{quarter:"Q1 07", bottom:80.00, middle:0.00, top:20.00,
netPromoter:-60.00},
{quarter:"Q2 07", bottom:60.00, middle:20.00, top:20.00,
netPromoter:-40.00},
{quarter:"Q3 07", bottom:80.00, middle:0.00, top:20.00,
netPromoter:-60.00}
]]>
</mx:Script>
<mx:Panel title="Net Promoter By Quarters" width="500"
height="350" x="31" y="34">
<mx:ColumnChart id="mychart"
dataProvider="{netPrByQtrData}"
showDataTips="true"
height="250"
width="450" type="stacked">
<mx:horizontalAxis>
<mx:CategoryAxis categoryField="quarter"/>
</mx:horizontalAxis>
<mx:series>
<mx:ColumnSeries
yField="bottom"
xField="quarter"
displayName="Bottom" >
</mx:ColumnSeries>
<mx:ColumnSeries
yField="middle"
xField="quarter"
displayName="Middle" >
</mx:ColumnSeries>
<mx:ColumnSeries
yField="top"
xField="quarter"
displayName="Top" >
</mx:ColumnSeries>
<mx:LineSeries
yField="netPromoter"
xField="quarter"
displayName="Net Promoter" >
</mx:LineSeries>
</mx:series>
</mx:ColumnChart>
<mx:Legend dataProvider="{mychart}"
direction="horizontal"/>
</mx:Panel>
</mx:Application>
If I omit type="stacked" from
<mx:ColumnChart id="mychart"
dataProvider="{netPrByQtrData}"
showDataTips="true"
height="250"
width="450" type="stacked">
The code will work perfectly..But unfortunately its not a
Stacked Chart...
Is there any solution for this....Please reply your valuable
suggestions ASAP.....
Thanks in Advance..
SubinHello,
In Flex Builder 4 and Above.
For composite charts with Multiple column series and line series,
Remove type = “stacked” property from Column Chart.
and Add columnset like.
<mx:series>
<mx:ColumnSet type="stacked">
<mx:ColumnSeries yField="aSales" displayName="A Sales" />
<mx:ColumnSeries yField="bSales" displayName="B Sales" />
</mx:ColumnSet>
<mx:LineSeries yField="total" displayName="Total Sales"/>
</mx:series>
Cheers,
SaM. -
I have a simple column chart grouping on 1 value on the category axis. For simplicity's sake, we are plotting $ amounts grouping by Month on the category axis. I right click on the data series and choose "Add calculated series...". I choose moving average. I want to move the average over at least 2 periods.
When I run the report, I get the error "Formula error - there are not enough data points for the period". The way the report is, I never have a guaranteed number of categories (there could be one or there could be 5). When there is 2 or more, the chart renders fine, however, when there is only 1 value, instead of suppressing the moving average line, I get that error and the chart shows nothing.
I don't think this is entirely acceptable for our end users. At a minimum, I would think the moving average line would be suppressed instead of hiding the entire chart. Does anyone know of any workarounds or do I have to enter another ms. connect bug/design consideration.
Thank you,
DanI was having the same error while trying to plot a moving average across 7 days. The work around I found was rather simple.
If you right click your report in the solution explorer and select "View Code" it will give you the underlying XML of the report. Find the entry for the value of your calculated series and enter a formula to dynamically create your periods.
<ChartFormulaParameter Name="Period">
<Value>=IIf(Count(Fields!Calls.Value) >= 7 ,7, (Count(Fields!Calls.Value)))</Value>
</ChartFormulaParameter>
What I'm doing here is getting the row count of records returned in the chart. If the returned rows are greater than or equal to 7 (The amount of days I want the average) it will set the points to 7. If not, it will set the number to the amount of returned rows. So far this has worked great. I'm probably going to add more code to handle no records returned although in my case that shouldn't happen but, you never know.
A side note:
If you open the calculated series properties in the designer, you will notice the number of periods is set to "0". If you change this it will overwrite your custom formula in the XML. -
I'm new to using iWork for my lab reports and today, while I was plotting a scatter chart, I had to put some error bars on the points in percentage form. The value for the x-axis was 0.5% and the value for they y-axis was 1.5%, and when I tried to input these, the only thing I got was the error sound and the error bars returning to 3% and 1% respectively. Anyone know why this is happening and how i might resolve this issue? Thank you in advance.
Angelos,
I'm sure that your eyes are sharper than mine. Still, if your error bar is shorter than the radius of your symbol, you aren't going to see it. The standard symbols are roughly 4mm in diameter, based on the Numbers Rulers. Let's say you have a 100 mm tall chart, an average graphic size. A 0.5% error bar would be a maximum of 0.5 mm in length, unless you suppress the axis zero, and would be hidden behind the 4 mm dia. data symbol. Yes, you could see a 3% or 4% error bar, but I'm not sure everyone would recognize that it was an error bar and not part of the data symbol.
Regards,
Jerry -
Hi All
In my column chart I am having following error due to my axisRenderer but I
am unable to find out the root cause of error.
Error
TypeError: Error #1009: Cannot access a property or method of a null object
reference.
at
mx.charts::AxisRenderer/calcStaggeredSpacing()[C:\Work\flex\dmv_automation\p
rojects\datavisualisation\src\mx\charts\AxisRenderer.as:2195]
at
mx.charts::AxisRenderer/calcRotationAndSpacing()[C:\Work\flex\dmv_automation
\projects\datavisualisation\src\mx\charts\AxisRenderer.as:1586]
at
mx.charts::AxisRenderer/adjustGutters()[C:\Work\flex\dmv_automation\projects
\datavisualisation\src\mx\charts\AxisRenderer.as:1326]
at mx.charts::AxisRenderer/set
gutters()[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\char
ts\AxisRenderer.as:798]
at
mx.charts.chartClasses::CartesianChart/updateAxisLayout()[C:\Work\flex\dmv_a
utomation\projects\datavisualisation\src\mx\charts\chartClasses\CartesianCha
rt.as
:2028]
at
mx.charts.chartClasses::CartesianChart/updateDisplayList()[C:\Work\flex\dmv_
automation\projects\datavisualisation\src\mx\charts\chartClasses\CartesianCh
art.a
s:1355]
at mx.core::UIComponent/validateDisplayList()
at mx.managers::LayoutManager/validateDisplayList()
at mx.managers::LayoutManager/doPhasedInstantiation()
at mx.managers::LayoutManager/validateNow()
at mx.effects.effectClasses::TweenEffectInstance/onTweenEnd()
at mx.effects.effectClasses::ResizeInstance/onTweenEnd()
at mx.effects::Tween/endTween()
at
mx.effects::Tween/http://www.adobe.com/2006/flex/mx/internal::doInterval()
at mx.effects::Tween$/timerHandler()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
my Axis renderer
<mx:horizontalAxis>
<mx:CategoryAxis id="myAxis"
categoryField="X" />
</mx:horizontalAxis>
<mx:horizontalAxisRenderers>
<mx:AxisRenderer
labelRotation="{Application.application.xAxisLabelRotator.value}"
axis=""/>
</mx:horizontalAxisRenderers>
Any help is highly appreciable.
With thanks and warm regards,
Varun BajajThis looks like the same problem I just encountered. Did you ever figure anything out?
Maybe you are looking for
-
Adobe Acrobat Pro 9 pdf optimizer failure..
We have a problem optimizing files in Acrobat Pro 9. When we try to optimize (Advance > PDF Optimize) the file(s) Acrobat either chrashes, or just say "an error was encountered while processing images". It is rather large files we have, from 50Mb to
-
Oracle: 11.2.0.3 non-RAC (Oracle Restart grid home) OS: RHEL Server 5.8 Can timeout parameters be set for an ASM instance or for any downstream database instances dependent on an ASM instance? Our storage and sysadmins ran a test (failing over a cont
-
I've got a Nokia 6300 and wanted to use one of my photos as a theme. I've tried using Zedge and saving a photo as .nth, but when I want to set it as the theme on my phone, it doesn't work - it says that '1 or more of the elements are invalid' - any i
-
How to write a time triggered portal service/ schedule a portal service
Hi, Can some one please provide me with some info/url about how to a create a time triggered portal service i.e., scheduling portal service. Any help will be greatly appreciated. Thanks & Regards, Sudhir
-
Complete ZFD3.2 uninstall
I would like to start all over with a fresh install of ZFD3.2 on my NW6SBS server. It is not in production (yet) and I am not able to get thingsworking as far as the inventory service goes. I assume I need to remove Service Location Policy, Server Pa