Column chart problem
Hi there.
I have problem with column chart that is every time I added a
line seriese,
preexistent columns getting smaller.
How do I fix it?
Adobe Newsbot hopes that the following resources helps you.
NewsBot is experimental and any feedback (reply to this post) on
its utility will be appreciated:
Flex 3 - Defining axis labels:
In that function, Flex appends '07 to the axis labels, and
displays the labels .... <mx:LineSeries yField='5' form='curve'
displayName='5%'/> <mx:LineSeries
Link:
http://livedocs.adobe.com/flex/3/html/charts_displayingdata_06.html
Flex Charting: help on showing line series based on list box:
Jan 26, 2007 ... 1002 & 1003, basically, in 3 different
line series, its not coming, hence would appreciate any help in
this. im posting the code & xml
Link:
http://www.actionscript.org/forums/showthread.php3?t=126863
Alternating background column colors in a Flex LineSeries
chart at:
In this example, you also see examples of setting custom
label functions for a LinearAxis ... xmlns:mx='
http://www.adobe.com/2006/mxml'
layout='vertical'
Link:
http://blog.flexexamples.com/2007/11/19/alternating-background-column-colors-in-a-flex-lin eseries-chart/
Flex Monkey Patches Blog Archive Flex Charting Interactive
Legend:
Sep 6, 2007 ... <mx:Application xmlns:mx='
http://www.adobe.com/2006/mxml'>
... var lineSer:LineSeries = findSeries(event.item.label);
Link:
http://blog.flexmonkeypatches.com/2007/09/06/flex-charting-interactive-legend/
Removing the default drop shadow from a LineChart chart in
Flex at:
Hi, how can the shadow be removed programmatically from a
lineseries? ... xmlns:mx=http://www.adobe.com/2006/mxml
layout=vertical verticalAlign=middle
Link:
http://blog.flexexamples.com/2007/11/13/removing-the-default-drop-shadow-from-a-linechart- chart-in-flex/
mx.charts.series.LineSeries (Flex 2.0.1 Language Reference):
Specifies whether this component is included in the layout of
the parent container. ...... If null , the LineSeries assumes the
data provider is an Array of
Link:
http://livedocs.adobe.com/flex/201/langref/mx/charts/series/LineSeries.html
Disclaimer: This response is generated automatically by the
Adobe NewsBot based on Adobe
Community
Engine.
Similar Messages
-
Spreadsheet table to column chart problem
Trying to copy a spreadsheet from Excel to a spreadsheet table to pick rows to graph in a column chart.
This isn't the spreadsheet, but it's set up like this. The underlines are there to space things out like table cells.
Neighbors_______________Jones___Smith_____Tomlinson
Number of Pets
Cat_________________________1______0____________1
Dog_________________________1______2__________10
Fish_________________________0_____30___________4
Number of Plants
Trees_______________________ 2______3____________1
Potted_______________________1______2____________1
In the spreadsheet table:
display data: everything
source data: the numbers and the blank line on the "Number of Plants" row
destination :a blank row extending from column 2 to column 4
In column chart;
make a series
make pick by row
source data: the blank row from col 2 to col 4
make rows 1,2, 5 not pickable
When I preview, some of the pickable rows show nothing on the bar graph and others show graph for other row.
What am I doing wrong ?Trying easier ones. For the spreadsheet table, the display data is all the rows, the source data are the numbers, and the destinations are blank rows that are 2 cells wide.
A spreadsheet table with the 2 rows
1 2
3 4
goes to a column chart fine.
A spreadsheet table with the 2 rows
a 1 2
b 3 1
goes to a column chart ok except tick marks aren't labelled with numbers on the b row.
A spreadsheet with the 3 rows
a
b 1 2
c 3 1
has only row b in the column chart and row c is picked in the
What am I missing ? -
Problem with mouse-over value on a column chart (by Series)
Hi.
First of all thanks for any offered tip.
I am having a problem with a column chart.
When I move the mouse over a column it should show a small pop-up (or tip) with the column name (series name) and the value (series value). The problem is that it displays an extra '1' just like the following:
SeriesName
1
X.XXX
How can I remove the extra '1' and only show the name and the value ?
The data is populated by series (manually added).
Mihai.Hi,
Thanks for the tip Shanthakumar KA.
Yes. It looks like the '1' is coming from the X Axis labels. The chart that I have built does not require any labels on the X Axis, so this was not set (X-Axis labels: Empty). I tried setting this to an empty cell, but the '1' still appears in the mouse-over tip.
It is very weird. If I leave the X-Axis labels empty, I still get the '1' displayed which is very annoing.
Are there any solutions for this except the re-building the tip with a label a.k.a. '[customize the mouse over values|http://xcelsiusandme.blogspot.com/2009/07/xm-sample-7-customizing-mouse-over.html].'
Regards,
Mihai. -
Problem with loading column chart in flex2
Hi All,
I am facing a strange problem in designing a column chart. I have a page where i have two column charts. The data providr for both the charts is same. I have an xml with three categories of values, and each chart uses two of these with one of them being common and they are actually sorted based on one of those values. The problem here is that one chart shows proper values while the other (though shows proper values) it doesnt render it properly in the sense that the height of the columns and the value of that particular column are not consistent. What could be the issue????It's necessary to discard the white spaces.
Set the ignoreWhite property to true.
document.ignoreWhite = true;
Regards,
Erick Souza | ericksouza.com -
I am working on a chart in pages with 7 columns.
Problem has occurred with amount of rows. I have completed 999 rows and it won't allow me to continue. As I need to do approx 3000+ rows, can anyone explain to me how to add extra rows. Thanks JaneTry posting in the Pages forum
https://discussions.apple.com/community/iwork/pages -
Having problem while using Stacked Column Chart.
Hi,
my result set is as below
STAGE OPERATION
TOTAL PCS
1 SIDE SEAM
6714
2 BIND BOTTOM
4522
2 SLEEVE ATTACH
6105
3 BIND TOP(E/N)
3781
5 SLEEVE HEM
3277
6 BIND TACK-2
1173
6 TACK-2
1277
6 TACK-4
268
I need to display it on the screen by using stacked column chart. I mean XAxis as "STAGE" YAxis as "TOTAL PCS" and "OPERATION" as series. I used DataBIndCrossTable as
chProd.DataBindCrossTable(dtView, "OPERATION", "STAGE", "TOTAL PCS", "Label=TOTAL PCS");
But, the results in the chart is displaying it in the first STAGE it self. I mean xaxis value 1 has all the yaxis value.
Can anyone please help me to get the results as first image?
I'm anable to attach the related images here.
Thanks in advance.
Regrds,
Rajesh.Got the answer.
Just added
chProd.AlignDataPointsByAxisLabel();
Regards,
Rajesh -
SSRS Column Chart Design Returning values in a format different from SSRS -SSAS Query Designer
Hi All,
I have an SSAS cube Measure Group with Multiple Measures that I am attempting to return on one SSRS report and reflect the
values using a ssrs column chart.
My Measure Group (Patients).
Measures:
PatientsOnMeds
PatientOnRelapse
PatientsCounseld
TotalNumberOfPatientsRegisterd
NewlyRegisteredPatients
HealthPersonelTrainef
Demension:
Time (Year) :filtered to 2012 & 2013
In my SSRS query designer I have filtered the above Measures with Time Dimesion year 2012 & 2013
and the data is returned as :
Year |PatientsOnMeds|PatientOnRelapse|TotalNumberOfPatientsRegisterd|NewlyRegisteredPatients|
2012 | 700 | 526 | 25 | 456
2013 | 245 | 245 | 15 | 70
Now the problem is when I return this data on the column Chart it's in messed up mesh
On the chart Data:
-Values :Measures
-Series Group: Dimension
The report values are returned in multiple columns for each value segmented by year i.e year 2012,Year 2013.
I want a single column for each Measure (value) for each single year and The chart axis to reflect the measures(values)
instead of grouping values according to series group.
instead the legend returns:
-Year A -PatientsOnMeds
-Year A -PatientOnRelapse
-Year B -PatientsOnMeds
-Year B -PatientOnRelapse
I would like the legend to reflect on -Year A,Year B in color code that will be highlighted in the column values.
Please point me in the right course if you can.Your insights are highly appreciated.Thank you in advance.Hi Charlie,
Thank you for your kind response.
In actual I want the legend to show:
-2012
-2013
And the bottom axis to show:
PatientsOnMeds
PatientOnRelapse
PatientsCounseld
TotalNumberOfPatientsRegisterd
NewlyRegisteredPatients
HealthPersonelTrained
Indicating in color code for Year 2012 and Year 2013.
This the challenge that I am struggling with.I hope you understand my scenario.
It aint easy. -
How to reset drill-down column-chart based on map-chart?
Hi guys,
I'm facing pritty common issue while designing one of my dashboards. Let me describe a little bit more:
1. I have some data extracted from BW using Query as WebService into my Xcelsius spreadsheet.
2. I have map-chart - regions for some country.
3. I have a drill-down column-chart, which displays data for a selected region.
At the beginning column-chart displays results for entire country (which, in fact, is not exactly drill-down). The issue I'm fasing is, that in case I select any region and the data is drilled-down into my column-chart, I have no option to show data for the entire county in the column-chart anymore (the only one way is to restart the report).
Are there any possible way to do this, or am I doing a design error while displaying data, which is not drilled-down, into a chart which is intended to display drill-down data only?
Any help would be highly appreciated.
Thanks in advance.
Ivaylo Mutafchiev
Varna Business Services
Project Manager BOBJIvaylo Mutafchiev,
I understand your problem now. So your column chart data which is coming from the QAAWS query should be having a prompt which is bound to some cell in excel. and your map might be passing the values for prompt isn't it? in your case the map might be passing a region.
All you need to do is put the prompt in the web service for region as a optional prompt. Now pull in a check box or a Push button(name it as reset or something.). while binding the data to the check box or push button (source data) bind it to a blank cell. when user clicks on it , it passes a blank vlaue to the region(this is ur input for region) which will inturn makes the prompt optional for the region web service. which should pull all the data for all the region.
The whole idea lies in somehow passing a blank cell to your web service whose region prompt is optional.
Thanks,
Karthik -
Column chart with null data items
I have a Column Chart with an ArrayCollection data provider.
The data will sometimes have missing items in some "rows'. For
example, it might look like this where the second object has no
"Male" property:
public var myData:ArrayCollection = new ArrayCollection([
{School: "Priorford", All: 95, Male: 92, Female: 98},
{School: "Giffnock", All: 87, Female: 89},
{School: "Hastings", All: 80, Male: 78, Female: 82}
Sometimes I get the following error:
TypeError: Error #1009: Cannot access a property or method of
a null object
reference.
at mx.charts.chartClasses::NumericAxis/mapCache()
I'm assuming the error is because of missing data items, but
I'm not 100% sure. Some data sets with missing items will display
with no error. I can't see a pattern to those that don't.
-- I can't produce the error when using a "static" data
source set in the Flex app itself (such as the example above).
These always display correctly, even with missing items.
-- In the problem case, the source data comes from a MySQL
database through a PHP script that is called with a Flex
httpService. The returned data is parsed in Flex, and put into the
ArrayCollection. I was suspecting that the returned data was flawed
in some way, but the same ArrayCollection displays correctly in a
DataGrid. The problem is only with the Chart.
-- I can work round the problem by adding the missing
properties and setting them to an empty value. But I don't think I
should have to do this.
Has anyone seen this problem, or know of any obvious thing I
might be doing wrong.Thanks Arthur.
Your first suggestion is effectively what I'm doing as a
workaround. But it is a bit of a pain to have to account for this
each time when displaying a chart. It's a particular problem when
you don't know in advance what "categories" might be returned by
the data and that have to be charted.
My biggest concern is that this looks like a bug, and the
fact that it seems to occur intermittently is a bit worrying. (I
also know that eight out of ten reported "bugs" are user error,
which is why I was wondering if anyone else had experienced this.)
About your second suggestion, I think the interpolateValues
property only applies to lineSeries. -
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?
-
Null object reference error in Axis Renderer in Case of Stacked Column Chart
We are trying to display a Flex Column chart (when stacked ) with single value in DataProvider but we used to get following 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\projects\datav isualisation\src\mx\charts\AxisRenderer.as:2195]
at mx.charts::AxisRenderer/calcRotationAndSpacing()[C:\Work\flex\dmv_automation\projects\dat avisualisation\src\mx\charts\AxisRenderer.as:1586]
at mx.charts::AxisRenderer/adjustGutters()[C:\Work\flex\dmv_automation\projects\datavisualis ation\src\mx\charts\AxisRenderer.as:1326]
at mx.charts::AxisRenderer/set gutters()[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\AxisRender er.as:798]
at mx.charts.chartClasses::CartesianChart/updateAxisLayout()[C:\Work\flex\dmv_automation\pro jects\datavisualisation\src\mx\charts\chartClasses\CartesianChart.as:2028]
at mx.charts.chartClasses::CartesianChart/updateDisplayList()[C:\Work\flex\dmv_automation\pr ojects\datavisualisation\src\mx\charts\chartClasses\CartesianChart.as:1355]
at mx.core::UIComponent/validateDisplayList()[C:\autobuild\galaga\frameworks\projects\framew ork\src\mx\core\UIComponent.as:6351]
at mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\galaga\frameworks\projects\ framework\src\mx\managers\LayoutManager.as:622]
at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\galaga\frameworks\project s\framework\src\mx\managers\LayoutManager.as:695]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\galaga\frameworks\projects\frame work\src\mx\core\UIComponent.as:8733]
at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\galaga\frameworks\projects\framew ork\src\mx\core\UIComponent.as:8673]
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
We have invested so much effort and done lots of googling and also followed the work around given on https://bugs.adobe.com/jira/browse/FLEXDMV-2275 but till now, we didn't get any solution.I solved the issue by getting rid of the creationCompleteHandler event handlers for the KPI charts. But, since I am just days into flex development, I would be indebted if someone could explain to me why that was creating problems.
-
Missing column in the column chart - is it the selector's fault?
Hi folks, thanks for bearing with me here:
I'm working on fixing some issues on a dashboard that someone else has set up (and there's no way for me to reach that person). One of those issues is that one of the columns in a column chart does not display on the dashboard when exported. The column chart is pulling the data from the correct cells, so the problem doesn't seem to stem from there.
I thought I got to the bottom of it when going over the scorecard. The range used for its source data cuts off before it reaches the data for the column in the chart that doesn't show up in the exported dashboard. However, when I adjust the range for the source data the resulting exported dashboard turns out an entirely blank column chart (even weirder, changing the source data back doesn't seem to fix this; I had to simply start back from my prior save state to reverse the blank chart).
So am I even on the right track here? And if not, any ideas on what's keeping that column from showing up?Thanks Ameet, I tried out the table as you said and the data for the column and the vertical progress bar were missing from there as well.
It turns out I was correct about the scorecard's source data being to blame, and that adjusting it to include the fields in the spreadsheet that correspond to the missing graphics was the right course of action, the problem was something with my computer; I sent the file to another computer and adjusted the source data there, and it worked fine.
It puzzles me why the edits wouldn't take on my computer (after being exported). The only thing is maybe I need a newer version of Flash, but I have 9.0 r45 which should be enough.
Edited by: xcelsiusnoob on Jun 23, 2011 2:16 AM -
How to remove or change default background for column chart
I've spent waaaayyy too much time trying to figure this out: when I make a column chart, the background is gray. How do I change that. What If I want white?
Thanks,
PaulThanks to both Jerrold and Ashka. Both answers solved my problem. Surprisingly, I never looked at the format bar, ever! I kept looking in the menus and the chart inspector; should have looked at the graphic inspector.
Thanks again, Paul -
Help - How do I Add a Trendline to a Stacked Column Chart??
I have a stacked column chart (NOT a 100% stacked column chart) and need to add a line to show the year goal. I can do this in Excel, but for some reason can't figure out how to do this in SSRS. I read various tutorials, blogs and MSDN pages
but nothing works. The weird thing is that they all say that I should right-click on the chart and there should be a DATA tab...on the chart properties. THERE IS NO DATA TAB, i'm here to tell you. I'm using SQL 2012 so not sure if that might make
a difference.
So how do I do this?
Again, this can be done in Excel, don't understand why this isn't easier to do in SSRS.
BTW, completely separate rant here, but it takes me 20 minutes every single time I want to log into MSDN forums. It never seems to remember my password and I have to reset it, then jump through a bunch of security nonsense. Anyone else have this
problem?
Thanks!!Hello,
If I understand correctly, you want to add a line chart to display the Goal values in the stacked column chart. You can try to add the secondary field to the Values area and change the chart type to "Line". Both data field in the Values area
shares the Category group and series group. Please refer to the following screen shot:
If I have any misunderstanding, please post your report dataset with sample data for further analysis.
Regards,
Fanny Liu
If you have any feedback on our support, please click here.
Fanny Liu
TechNet Community Support -
Hello,
I am Plotting column chart based on the data present in datagridview;Column 1(having string Data Type) as my X axis value and Column Y as my Y axis value.On Column chart click event i am fetching x axis and y axis co-ordinates of my column chart and displaying
in Label on my form.But when i click it shows "0" as my x axis cordinate for the clicked column.
As my x axis is having labels as 06:00:00-07:00:00,07:00:00-08:00:00,..........
Below is image of my application
f Chart1.Series(0).Name = "Daily Data" Then
'Chart1.Series(0).XValueType = ChartValueType.Time
Chart1.Series(0).Points(result.PointIndex).XValue.ToString()
'xval = xval.AddHours(Chart1.Series(0).Points(result.PointIndex).XValue)
Label4.Text = "Selected Coordinates are: " & Chart1.Series(0).Points(result.PointIndex).XValue.ToString & ", " & Chart1.Series(0).Points(result.PointIndex).YValues(0).ToString("f2")
End If
Else
If result.ChartElementType <> ChartElementType.Nothing Then
Dim elementType As String = result.ChartElementType.ToString()
Label4.Text = "Selected Element is: " & elementType
End If
End IfYou need to get this example from Microsoft. It is a c# project code you just run it in Visual Studio. It shows most everything you can do with a chart. It shows the vb code when you run it and click the vb tab. Near the bottom of the left tree is Appearance
- Labels etc. Also under data types there are date and time examples. This link is also in the forum faqs at the top of the chart forum posts.
Chart examples.
I think you need to tell the chart to use datetime for the labels but I am not sure how and I am not too good with them but that is why I do this to learn things. I would just look in the chart examples from the link I show. That is how I answer most of
the questions here.
Can you reproduce your problem using the simple example from the other question? Otherwise I cant really do much.
Also, most times when you make a simple example you will find the problem or at least understand it better.
So take a look and come back if you cant get it I then I will try too.
Maybe you are looking for
-
How to run the form that is only installed on a PC and not using a server?
Hi I am new to Oracle and have taken the forms class. But I do not understand how to run the form from my PC using XP windows. (Do not have access to a server). I have started the OC4J, made sure the listener was started, compiled the form and then w
-
Error message @ Win 7 Pro start up "There was a problem starting C:\programdata\ofpviaowu.dat - The specified module could not be found." This error message appears every time I start (boot) my computer and windows starts (Firefox is not running at s
-
Safari 5.0.2 no window and keeps crashing
Can someone help me please? Process: Safari [167] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: com.apple.Safari Version: 5.0.2 (5533.18.5) Build Info: WebBrowser-75331805~2 Code Type: X86 (Native) Parent Process: launchd [77] Inte
-
Continued problems with Adobe Reader 9.3.1
Adobe Reader stops at the half-way mark in the progress block when loading a form to print. Cannot get this fixed. Does anyone out there have a fix for this. Is Adobe even recognizing that there is a problem with this. Error message keeps telling
-
Cisco Prime NCS 1.2 Harware Appliance Problem
Hi, we are trying to install Prime NCS hardware Appliance for fist time, but during starting ncs service it gives an error writen below. isco-Prime-NCS/admin# ncs start Purging PurgeSAMPollerRecods {Fri Jun 21 08:28:03 UTC 2013} ===================