Adding Threshold line in column chart
Hi All,
Is there any way to show the threshold line in column chart? This is a high priority requirement in my project. Any kind of help is appreciated.
You can use the DataCanvas, this should help.
http://livedocs.adobe.com/flex/3/html/help.html?content=charts_eventsandeffects_14.html
Similar Messages
-
Horizontal line in column chart?
I have a columnchart w/ a column series. I need to add a horizontal line that's y-value corresponds to a specific y-value on the columnchart. Can anyone help me out with this? An example would be greatly appreciated. Thanks...
Flex includes the ability to add graphical elements to your chart controls such as lines, boxes, and elipses. Graphical children of chart controls can also include any control that is a subclass of UIComponent, including list boxes, combo boxes, labels, and even other chart controls.
See this example:
http://cookbooks.adobe.com/post_Drawing_a_horizontal_line_across_a_columnChart___-2041.htm l -
Adding a Goal Line to a chart in Webi
Post Author: geozuh
CA Forum: WebIntelligence Reporting
Does anyone know how to add a goal line to a chart created in WEbi? It seems like this would be a standard option.Post Author: jsanzone
CA Forum: WebIntelligence Reporting
geozuh,
You would think that adding a goal line to a WebI report would be an available option within the software package, but it is not (but this sure sounds like a viable enhancement, so hopefully some of the Business Objects Enhancement Gurus are listening in).
It should be possible with a bit of fiddling with data in your database to create a "reference-type" table that could mimic all of the data values present but you would "plug" a metric-type column with the goal. For instance, on your bar graph you have x and y coordinates. The x could be the total sales by year, the y is the items (I know, I should be using an example from E-Fashion, but I'm not up-to-speed on it). In your "reference-type" table you would replicate all of the year and item data and create a new column (perhaps called "goal") which you plug with the goal value. In your universe you can link the two tables and when the report runs, voila you have all of your data. Now you can use the "vertical bar and line" graph to plot your old x and y and use z for the goal. Just a thought, and I know, "it's the long road to China", but hopefully you've got some ideas to tool with now. -
Different sort order with line chart and stacked column chart
Hi,
I have a problem with sorting within flash charts.
The chart should be ordered by a date column.
If I'm using a line chart everything is fine. The columns in the chart are in the same order as returned by the query.
If I change the chart type to stacked column chart, I get a wrong order.
It is orderd like 5, 6, 7, 8, 9, 10, 1, 2, 3, 4.
What's wrong?
Here the query i use:
SELECT NULL AS link,
TO_CHAR (zeitpunkt, 'dd.mm.yyyy'),
MAX (DECODE (db_sid, 'TI06E', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI06E",
MAX (DECODE (db_sid, 'TI06T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI06T",
MAX (DECODE (db_sid, 'TI14S', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI14S",
MAX (DECODE (db_sid, 'TI14T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI14T",
MAX (DECODE (db_sid, 'TI16T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI16T",
MAX (DECODE (db_sid, 'TI24K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI24K",
MAX (DECODE (db_sid, 'TI33T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI33T",
MAX (DECODE (db_sid, 'WF03E', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF03E",
MAX (DECODE (db_sid, 'WF03K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF03K",
MAX (DECODE (db_sid, 'WF03T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF03T",
MAX (DECODE (db_sid, 'WF05K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF05K",
MAX (DECODE (db_sid, 'WF05T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF05T",
MAX (DECODE (db_sid, 'WF06T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF06T",
MAX (DECODE (db_sid, 'WF07K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF07K",
MAX (DECODE (db_sid, 'WF07T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF07T",
MAX (DECODE (db_sid, 'WF08K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF08K",
MAX (DECODE (db_sid, 'WF08T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF08T",
MAX (DECODE (db_sid, 'WF09K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF09K",
MAX (DECODE (db_sid, 'WF09T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF09T",
MAX (DECODE (db_sid, 'WF10K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF10K",
MAX (DECODE (db_sid, 'WF10T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF10T",
MAX (DECODE (db_sid, 'WG04T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WG04T",
MAX (DECODE (db_sid, 'WT05T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WT05T"
FROM db_performance_temp
ORDER BY zeitpunkt ASC
SQL> desc db_performance_temp
Name Null? Typ
ZEITPUNKT DATE
DB_SID VARCHAR2(30)
VALUE NUMBERI found the solution.
Anychart seems to have a problem with null values!
The corrupted sorting only occured for a specific set of search criteria and a specific day. At this day some values have been null.
I added a "nvl( [...], 0) for every value.
No I get a correct sort order. -
Introduction
In SQL Server Reporting Service (SSRS), you may need an average value on column chart.
For the above chart, add an average score line to the chart, you can get which student’s score is larger than average score, and which student’s score is less than average score clearly. This document demonstrates how to add an average line to series groups
on SSRS column chart.
Solution
To achieve this requirement, you can add another values to the chart, change the chart type to line chart. Set the value to average value of the series group and set the line to show only once by using expression. Please refer to the link below to see the
detail steps.
Click the chart to display the Chart Data pane.
Add Score field to the Values area.
Right-click the new inserted Score1 and select Change Chart Type. And then change chart type to line chart in the Select Chart Type window.
Change the Category Group name to Subject. Here are the screenshot for you reference.
Right-click the new inserted Score1 and select Series Properties.
Click the expression button on the right of Value field textbox, type the expression below:
=Avg(Fields!Score.Value,"Subject"))
Click Visibility in the left pane, select “Show or hide based on an expression”, and type in the expression below:
=IIF(Fields!Name.Value="Rancy",FALSE,TRUE)
Name in the expression is one of the Students. Then only one line chart is be displayed by using this expression.
Click Legend in the left pane, type Average_Score to the Custom legend text box.
The report looks like below:
Applies to
Microsoft SQL Server 2005
Microsoft SQL Server 2008
Microsoft SQL Server 2008 R2
Microsoft SQL Server 2012
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.Thanks,
Is this a supported scenario, or does it use unsupported features?
For example, can we call exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='b64ce7ec-d598-45cd-bbc2-ea202e0c129d'
in a supported way?
Thanks! Josh -
Stacked Column Chart with Lines
Requirement:
User stacked Column chart to display data for defects for 4 departments.
1 or 2 lines to show baseline for defects(constant).
Is there anyway that I can do that just like we can create one in Excel?
(stack a Stacked column chart with a line chart is not a solution.)
Any advises?
Thanks,
WenHi Wen,
I realise that you are not going to get this to work with a standard component on its own. I think it might be possible to acheive it with overlaying barcharts and combination charts.
My assumption is that you are looking for something that has a stack with 3 separate items in it. Two target lines crossing over the stacked chart.
I will have a look at this to see if I can come up with something. Let me know if this is not your requirement.
No, I don't work for SAP. I think those that do have the SAP logo beside them.
Regards
Alan -
Business Graphics: Time Scatter, Line Chart, Column Chart
Hi all,
I have a requirement of intermixing of Bar/Column-Chart and Line-Chart. How to do this? I also need to color the columns.. Any Documents or Ideas will be appreciated.
Thanks,
Vinod VHi, Rohit & Neha
I think, my question is not clear..
My requirements are on Business Graphics (Not in IWDTable), where i need to represent my data in different columns (Levels). Each level will be Represented in different colors.
Eg: Top level of my Graph will have RED,
Middle by YELLOW and
Bottom part would be with GREEN.
My Second Question is on using Multiple Graph types in same graph...
Where data will be represented in Column/Bar Chart and in the same graph i need a curve to display the max value pointed by Column Chart..
How can i achieve this?
Regards
Vinod V -
Stacked Column Chart with Line
Hi
I need to Create a Stacked Column Chart representing 1 set of measures with a Line representing a target.
I want to create a chart where the Sales Amount in different Sectors is represented as a stacked column and the targets are represenetd as a line.
Currently BO supports Bar charts with line.
Does anyone know if such a feature will be supported in the new release of BO XI. Also is it possible to raise a request for this feature to be included in the new release
TIAWe are also a 30 persons department (Marketing) using in the same BO charts (since 2001) quarters made of :
- first single column ( 2014 billing in a query1)
- second stacked column (2015 billing +2015 firm orders backlog, 2015 frame orders backlog in a query2)
- third single column (2016 backlog in a query3)
and a superposed budget line
the first and the third column are offset respectively to the left and right of the second column by blank and dummy single columns of data called ghost1 and ghost2. 2016 is still empty here but the principle is clear.
This principle is used liberally in 200 + different reports. Also with transparent columns and other complicated, but graphically intuitive reports.
How can we continue to use this very natural representation of our several hundred million $ business. I have not found the mixed single column, stack column and line option in BO XI 3.1 . Please re-develop one asap if necessary. SAP should please please report asap on the recovery timeline of this lost feature. The switch from Visual Basic development to Java development should not lead to regression of any feature.
Regards.
Jean-Marc Imbert
Marketing manager -
Lines and shading on stacked column chart
I have created a waterfall chart using a stacked column chart. I have made Series 1 white so that the bars appear to "float" . So far so good. the issue is that the white bars in the default setting have light shading and lines around the outsides. There seems ot be no way to turn that off. The only solution I found was to change the Theme to ITheme. Then the shading and lines go away and I can change the colours how I want them...but of course that theme is now applied to my whole dashboard and I lose all the nice shading effects on the other elements.
Surely all the themes do is apply formatting that must be possible to do manually...I just cant see any option on a stacked column chart to change the shading or lines round the boxes. I have an example chart I can share if required
Any suggestions gratefully received!
Thanks
TomCreating a custom chart is not a simple thing (think days, not minutes), and not done within Xcelsius. The group of technologies to do this are referred to as the Xcelsius SDK, there is a dedicated forum on this site here: Flex SDK Development
Have fun! -
Multiple Line Charts with Column Chart
I want to show two line charts with a column chart. Everything goes on the screen fine, except the two line charts origination point always starts at the same point despite the numbers being different. For example, the ls1 might read 280, 190, 180 and the ls2 is 175, 188, 177 but both origination points start at 280. The other two datapoints should also be close together but they have a substantial gap of about 50 between them. Obviosuly I want to have two separate lines. I have also tried moving the line series below the first lines series with no success.
<mx:ColumnChart dataTipFunction="formatDataTip"id="
myChart" dataProvider="
{FCVData}" showDataTips="
true"selectionMode="
single"change="event.stopImmediatePropagation()"
width="
100%" height="95%" y="50">
<!-- vertical axis -->
<mx:verticalAxis>
<mx:LinearAxis title="mytitle" labelFunction="defineVerticalLabel"id="
v1"baseAtZero="
true" />
</mx:verticalAxis>
<mx:horizontalAxis>
<mx:CategoryAxis dataProvider="
{MYData}" categoryField="
YEAR"
/>
</mx:horizontalAxis>
<mx:series>
<mx:ColumnSeries id="
pb"color="
#FFFFFF"xField="
YEAR" yField="B
UDGET" displayName="
Budget"hideDataEffect="
zoomOut" showDataEffect="
zoomIn">
<mx:fill>
<mx:SolidColor color="{colColor1}"/>
</mx:fill>
</mx:ColumnSeries>
<mx:LineSeries id="ls2" dataProvider="
{MYData}" yField="
ACTUAL"displayName="
Actual"
>
<mx:itemRenderer>
<mx:Component>
<mx:DiamondItemRenderer/>
</mx:Component>
</mx:itemRenderer>
<mx:lineStroke>
<mx:Stroke color="
{lineColor2}" weight="
5" alpha="
.5"
/>
</mx:lineStroke>
<mx:verticalAxis>
<mx:LinearAxis id="v3" baseAtZero="true"/>
</mx:verticalAxis>
</mx:LineSeries>
<mx:ColumnSeries
id="
asytd"color="
#FFFFFF"xField="
YEAR" yField="
SPEND" displayName="
Spend "hideDataEffect="
zoomOut" showDataEffect="
zoomIn">
<mx:fill>
<mx:SolidColor color="{colColor2}"/>
</mx:fill>
</mx:ColumnSeries>
<mx:LineSeries id="ls1" dataProvider="
{MYData}" yField="
PLAN"displayName="
Plan"
>
<mx:itemRenderer>
<mx:Component>
<mx:CrossItemRenderer/>
</mx:Component>
</mx:itemRenderer>
<mx:lineStroke>
<mx:Stroke color="
{lineColor1}" weight="
5" alpha="
.5"
/>
</mx:lineStroke>
<mx:verticalAxis>
<mx:LinearAxis title="title" id="v2" baseAtZero="true"/>
</mx:verticalAxis>
</mx:LineSeries>
</mx:series>
<mx:verticalAxisRenderers>
<mx:AxisRenderer placement="left" axis="{v1}"/>
<mx:AxisRenderer placement="right" axis="{v2}"/>
<mx:AxisRenderer visible="false" placement="right" axis="{v3}"/>
</mx:verticalAxisRenderers>
</mx:ColumnChart>Hi,
Still Trying:
I've now got this code to function:
var i:int = 0;
for each (var cat:* in event.result.chart.categories.category){
//mx.controls.Alert.show(cat.label);
var z:int = 0;
for each (var valuee:* in event.result.chart.dataset){
//mx.controls.Alert.show(event.result.chart.dataset[z].seriesName);
//mx.controls.Alert.show(valuee.sete[i].value);
z++;
i++
which works fine, how can I get in into Array to make a dataset for the flex charts?
Thanks,
Elad -
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. -
Offset in Category axis when in Column chart : Numbers
Hi,
Is there a way we can offset x-axis in a column chart? To give an example, I want to plot x=1,2,3 vs y=-1,0,1.
However, Instead of x-axis starting at '0', I want to have it start at -2. In this way, I can have an increasing order graph rather than inverting one.
I know it can be done in excel, but any idea if it can be done in Numbers?
Thx,
Swapnil.Not something that Numbers will do without a little coercion and subterfuge).
Modification to the Table:
Column C added to contain the 'shifted' values for Y. =B+2
Column C selected as values to be charted. Category labels are picked up from Column A (a Header column).
Modifications to the chart:
Value labels on Y axis NOT displayed.
Y axis Max set to 3.5, Steps set to 7.
Text box added to contain labels to match bar heights to original (unshifted) values.
Line shape added to mark Y value of 0.
Regards,
Barry -
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. -
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. -
Get a quarter out of data for a column chart
Who can help me with this challenge?
I want to create a column chart with four quarters in the current year and one column with the rest later in time.
One project can have multiple output data. They are separated by an ;
The notation of the outputdata can be a date (d-m-yyyy), a month (mm-yyyy) or a quarter (Q1-yyyy).
This is by example the available data.
Project outputdata
Project 1 1-4-2014
Project 2 03-2014;Q4-2014;Q2-2015
Project 3 25-09-2014;Q1-2015
The data I want to get for the column chart is:
Project outputdata columnchart
Project 1 1-4-2014 Q2-2014
Project 2 03-2014 Q1-2014
Project 2 Q4-2014 Q4-2014
Project 2 Q2-2015 2015 and later
Project 3 25-09-2014 Q3-2014
Project 3 Q1-2015 2015 and later
I hope that someone can help me in the right direction.
Thanks in advance,
ElsAdding to what Frank has already suggested, try something on these lines:
Something like this?
SQL> ed
Wrote file afiedt.buf
1 with x2 as(
2 select 'proj1' proj, '1-4-2014' op, NULL chart from dual UNION ALL
3 select 'proj2' proj, '03-2014' op, NULL chart from dual UNION ALL
4 select 'proj2' proj, 'Q4-2014' op, NULL chart from dual UNION ALL
5 select 'proj2' proj, 'Q2-2015' op, NULL chart from dual UNION ALL
6 select 'proj3' proj, '25-09-2014' op, NULL chart from dual UNION ALL
7 select 'proj3' proj, 'Q1-2015' op, NULL chart from dual
8 )
9 select
10 proj,
11 op,
12 case
13 when regexp_like(op,'((\d{1}|\d{2})-(\d{1}|\d{2})-(\d{4}))')
14 then
15 'Q'||TO_CHAR(TO_DATE(op,'dd-mm-yyyy'),'Q')||'-'||TO_CHAR(TO_DATE(op,'dd-mm-yyyy'),'yyyy')
16 when regexp_like(op, 'Q\d{1}-\d{4}')
17 then
18 CASE
19 when SUBSTR(op,-4,4) > 2014
20 then
21 SUBSTR(op,-4,4)||' and later'
22 else
23 op
24 end
25 when regexp_like(op, '\d{2}-\d{4}')
26 then
27 'Q'||TO_CHAR(TO_DATE(op,'mm-yyyy'),'Q')||'-'||TO_CHAR(TO_DATE(op,'mm-yyyy'),'yyyy')
28 end
29* from x2
SQL> /
PROJ OP CASEWHENREGEXP
proj1 1-4-2014 Q2-2014
proj2 03-2014 Q1-2014
proj2 Q4-2014 Q4-2014
proj2 Q2-2015 2015 and later
proj3 25-09-2014 Q3-2014
proj3 Q1-2015 2015 and later
6 rows selected.
Maybe you are looking for
-
Pictures folder does not have all events in it.
I import my photos using iPhoto 11 as I use Aperture 3 and/or LR4 to edit events and/or photos. However I am unable to import newer events from the Pictures folder option that Aperture and LR4 gives one to import as all my newer events of the past 12
-
Hi, pls guide me to find the requirement type of particular sales order created?
-
ELM 1:N Can we Map Multiple Contact Persons for an Org
I want to upload Multiple contact persons for an organization. Using ELM Mapping tool can we map multiple contact persons for an organization? orgID name persID Name CP_FUNCTIONKEY CP_FUNCTIONNAME 9 abc 9 Pers1
-
hi all, first i am sorry to post here but i am confuse i have application server 10g on unix 5.10 and my database is 10g.2 my application server is only tier without infra ,now all user who access the database take more time to call the forms i serac
-
Okay, I am really struggling here. I have recieved some zipped files and having trouble opening them. It is frequently going to Adobe and then I get a screen saying that Adobe doesn't support the file. What can I do, or is there any program that woul