Tranparacy of multiple series in Combination Chart
Hi Experts
Is there any way to handle/change transparancy of markers saperately in a combination chart. Like if I have 2 series and I want to make 1st series marker completely transparent and other non transparent - is it possible?
Thanks in advance
Regards,
Waqas
Hi
No, the markers are either on or off for all series. Which I think is a limitatation and can be acheived in Flex 2.
You'll have to overlay a line chart with the series you want to show/hide the data markers for.
Regards
[Charles|http://www.reportex.co.uk]
Similar Messages
-
Hi
I want to create a chart with multiple series, each serie referring to a specific country.
The query below is not accepted:
SELECT null url,s.date_from,s.country,sum(s.unique_players) unique_players
FROM my_table s ...As a workaround I changed the query to:
SELECT null url, s.date_from,
sum(decode(s.country, 'se', s.unique_players, 0)) sweden,
sum(decode(s.country, 'fi', s.unique_players, 0)) finland,
sum(decode(s.country, 'no', s.unique_players, 0)) norway ...
FROM my_table s ...It works well but it is not very flexible, in the case a new country has to be added.
Is there a better way to achieve this in Apex 3?
Thanks
LuisLuis,
You can chart a variable number of series with a query like the second one you listed, except use "Function returning query" instead of "SQL query". Then generate the column list clause dynamically, one for each series.
There's an enhancement request logged to make this easier.
Marco -
Enable Alerts not Active when using have multiple series in chart
Alerts option is not active when, I am having Multiple series in a Chart.....
is this common in Xclesius, is there any alternative for should alerts.
Thanks in AdvanceMultiple series alert functionality is available in SP 4. Use Combination cart for multiple series. You will get that option for sure.
I am using it.
My suggestion is, you download SP4 and then continue your development.
as you said you are using Fix Pack 3.5.
Edited by: Debjit_Singha_86 on Aug 17, 2011 5:37 AM -
Multiple series chart with differing dates
Is there a way to display multiple series on a chart when the
data for the horizontal axis doesn't match up? For example:
if data1 (val, date) is (10, 01/05/2008) (15, 02/08/2008)
(20, 03/01/2008)
and data2 (val, date) is (8, 01/12/2008) (25, 02/10/2008)
(30, 03/14/2008)
how would I get the data to display on a multiple series
chart. Right now, I am using a CategoryAxis for the horizontal
axis. If I do something like this:
hAxis.dataProvider = data1;
hAxis.categoryField = "date";
it will show only the series for data1, but not data2.Thanks for the reply.
That link tells you how to add multiple axis to a chart which
is what I'm doing, but unless you want to have two horizontal axis
on the bottom (which looks terrible) or put one on the top and one
on the bottom (which looks awkward), this solution is not very
good.
The problem is that the data ranges for the horizontal are
the same, but the individual timestamps are slightly different,
sometimes off by only a few hundredths of a second.
To attempt to work around this, I merged the two arrays, but
that seemed to mess up the display of the data.
Is there not a way to just draw the second series on top of
the first without having to lock it to the axis? It seems like the
answer is no when using the standard packages. But is there a way
to override this and get it to draw properly? -
Function returning SQL query for mutiple series in a chart
Hi,
I would like to know if there is a way to specify a single PL/SQL function returning the queries for multiple series in a 2D Line Flash Chart. I have multiple series in my chart that has different values in the where clause. I can write a PL/SQL function that can return all these queries in one shot. Is there anyway that I can specify this function as returning the queries for all the series in the chart?
As an example, assume that I am using the following three queries for the series in my chart:
select deptno, count(*) from emp where deptno = 10 group by deptno
select deptno, count(*) from emp where deptno = 20 group by deptno
select deptno, count(*) from emp where deptno = 30 group by deptno
I can't write a PL/SQL function that returns a query in the multiple series syntax (SELECT link, label, series_1_value [, series_2_value [, ...]]FROM ...) as I am using an aggregate function and my where clause is different for each series.
Thanks,
RupeshHi Roel,
Thanks for your reply. I am already using an analytical function (RATIO_TO_REPORT(COUNT(*)) OVER () ) in my actual report. My problem is that the query for one series differs from the other only in one where clause. I will be able to dynamically able to generate all the queries for all the series in one pl/sql function. But the chart definition screen does not allow us to define a single function that returns queries for the all the series - possibly seperated by some seperator like S1: select.... S2:select and so on.
Regards,
Rupesh -
3D columns graph with multiple series
I need to obtain a graph like below.
I want to insert other series into Y axis. It's possible?
thank you.
Daniele.b75Hi,
Yes, there is no build-in chart template that you want. We can only use the Gradient fill to close your request. But, it can't display the multiple series in cumulates chart.
In my view,
custom a chart via VBA is also a good workaround. I'm not familiar with VBA, if you have further question, I recommend you post the question to the MSDN forum for Excel
http://social.msdn.microsoft.com/Forums/en-US/home?forum=exceldev&filter=alltypes&sort=lastpostdesc
Hope it's helpful.
Regards,
George Zhao
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs.
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
Stacked Bar Chart with Multiple Series Sort Question
Hi,
Apex version 4.1.1
I have a stacked bar chart with three separate series, one showing customer effort, another showing project effort and the third showing other effort, summarized by calendar week. The x-axis of the chart is the calendar "week of" date, and the y-axis has a bar for each of the three series. Not every type of effort occurs every week.
When AnyChart renders the chart, the order of entries on the x-axis seems to be dependent both on which series are present in a given week as well as the "week of" date. Weeks with all three series sort in order by calendar date, followed by weeks where just the 2nd & 3rd series are present, followed by weeks where just the 3rd series is present. See this [url http://tinypic.com/r/b9zdt/6] picture of the chart noting the "week of" dates. Note that the months go Sep-Oct-Nov-Aug-Oct.
Is there a way to force AnyChart to sort the x-axis in chronological order regardless of whether there is data for all three series for a given week? I have looked through the AnyChart XML reference but cannot find a way to do this.
Incidentally, I can solve the sorting problem by combining all three series into a single query:
select
null as link,
week_of as label,
sum(customer_effort) as "Customer Effort",
sum(project_effort) as "Project Effort",
sum(other_effort) as "Training, Admin and Other Effort"
from ...But if I do this, I cannot figure out how to have each bar on a given week link to a different detail page, e.g., if I click on a bar representing customer effort I want to link to one page, but if I click on a bar representing project effort, I want to link to a different page. I have had a look at the [url http://apex.oracle.com/pls/apex/f?p=36648:59:1570983160946101::NO:::] chart examples posted on apex.oracle.com, but cannot figure out how to apply to multiple series in a single query.
Thanks,
MikeThanks, Jeff. I did try this but for whatever reason it doesn't make a difference. I think it is because if there's no data for a given series for a certain week, there is no entry in the data set that is sent to AnyChart.
I was able to get around the issue by "filling in" the missing weeks from each data series. To generate the list of "Week Of" dates for a given date range, I used this code:
select
trunc (each_day) as week_of,
0 as effort
from (
select
(to_date(:p920_start_date,:app_date_format) + 2 - to_char(to_date(:p920_start_date,:app_date_format),'D') - 1) + level each_day
from dual
connect by level <= to_date(:p920_end_date,:app_date_format) - to_date(:p920_start_date,:app_date_format) + 1
where
to_char (each_day, 'D') = '2'This creates an effort entry of 0 for each week within the date range; I use the Monday date of a week as the "Week Of" date. I then union this with my actual data and summarize by week and viola, I get the weeks in order. This also has the benefit of showing a week for which there are no entries in any of the three series.
Thanks for taking a look at this.
Mike -
Apex 4 Combined chart with multiple y axis
Hi
I am trying to create a Combined Line chart & Bar chart using Multiple y-axis
ie Line chart using one y-axis and Bar chart using another y-axis.
In Apex 4 so for i am able to to create Combined chart by adding 2 series.. but i am unable to specify y-axis for each.
Can any one help me how i can do this.
Thanks
PrabaharI managed to do it.
Below I will post a working example of sql code and chart XML:
SQL CODE:
select NULL LINK,
trunc(AUTH.AUTHDATETIME) "AUTHDATETIME",
count(AUTH.AUTHDATETIME) "{n:Computer;t:Spline;y:ex}",
sum(AUTH.amount) "{n:Video;t:Spline}"
FROM schema.AUTH
group by trunc(AUTH.AUTHDATETIME)
order by 2 desc
<?xml version = "1.0" encoding="utf-8" standalone = "yes"?>
<anychart>
<settings>
<animation enabled="false"/>
<no_data show_waiting_animation="False">
<label>
<text></text>
<font family="Verdana" bold="yes" size="10"/>
</label>
</no_data>
</settings>
<margin left="0" top="" right="0" bottom="0" />
<charts>
<chart plot_type="CategorizedVertical" name="chart_1269902745139534">
<chart_settings>
<title enabled="False" />
<chart_background>
<fill type="Solid" color="0xffffff" opacity="0" />
<border enabled="false"/>
<corners type="Square"/>
</chart_background>
<data_plot_background>
</data_plot_background>
<axes>
<y_axis >
<scale type="Logarithmic" minimum="1" log_base="5"/>
<title><text>Video Sales</text></title>
<labels><format>{%Value}{numDecimals:0}</format></labels>
</y_axis>
<x_axis>
<scale mode="Normal" />
<title enabled="false"/>
<labels enabled="true" position="Outside">
<font family="Tahoma" size="10" color="0x000000" />
<format><![CDATA[{%Value}{numDecimals:0,decimalSeparator:.,thousandsSeparator:\,}]]></format>
</labels>
<major_grid enabled="True" interlaced="false">
<line color="Black" />
</major_grid>
<minor_grid enabled="True">
</minor_grid>
</x_axis>
<extra>
<y_axis name="ex">
<title><text>Computer Sales</text></title>
<labels><format>{%Value}{numDecimals:0}</format></labels>
</y_axis>
</extra>
</axes>
</chart_settings>
<data_plot_settings enable_3d_mode="false" >
<line_series>
<tooltip_settings enabled="true">
<format><![CDATA[{%Name}{enabled:False} - {%Value}{numDecimals:0,decimalSeparator:.,thousandsSeparator:\,}]]></format>
<font family="Tahoma" size="10" color="0x000000" />
<position anchor="Float" valign="Top" padding="10" />
</tooltip_settings>
<label_settings enabled="true" mode="Outside" multi_line_align="Center">
<format><![CDATA[{%Value}{numDecimals:0,decimalSeparator:.,thousandsSeparator:\,}]]></format>
<background enabled="false"/>
<font family="Arial" size="10" color="0x000000" />
</label_settings>
<line_style>
<line enabled="true" thickness="1" opacity="1" />
</line_style>
<marker_settings enabled="True" >
<marker type="Circle" />
</marker_settings>
</line_series>
</data_plot_settings>
#DATA#
</chart>
</charts>
</anychart>
Originally I used as an example below resource:
http://anychart.apex-evangelists.com/pls/apex/f?p=755:46:0::NO:46::
Thanks.
Edited by: Jopa on 23.07.2010 1:07
Edited by: Jopa on 23.07.2010 1:08 -
Drill Down for Multiple Series in a Line Chart
Hello,
I seem to have a problem with the drill-down functionality in a line chart that has multiple series.
I have a line chart that displays the readings of a patient over a period of 1 month. For each day, there is the glucose level reading, blood pressure reading, etc... So, each reading is a different series in my line chart graph.
The basic requirement is: With a mouse over event on the chart, I am willing to display all the data that belongs to that day. The data will be displayed at the bottom of the screen in a small panel. It is very simple to do it when the line chart has only 1 series:
i) Enable drill down.
ii) Choose 'Row' as insertion type.
iii) Fill out the destination field.
iv) Make sure your labels (at the bottom of the screen) get the data from the destination cell.
When there is more than one series, it becomes very difficult. XCelsius will not let me use the same destination cells for different series. So, I will have to use other destination cells. In that case, I will not know on which day is the user on. Is there any way to achieve this functionality?
Let me know if you need further information.This is certainly possible, but there's a bit of a trick to it (and really hard to explain without screenshots!). There's two halves to it:
1. Write the date that has been selected to a cell (for each series).
2. Write the name of the series that was clicked to some cell (this is the property 'Series Name Destination').
So let's say your three series are Glucose, Blood Pressure and Temp. Have those series names in B1,C1,D1 (with your dates down in column A). Insert a row below the series names (2:2), and then set up your insertion type for the chart as 'row'. The source data (for all three series) should be your list of dates in column a. The insertion cells for the three series will be, in order, B2,C2,D2. Now, depending on which point is clicked in the chart, the selected day will be inserted into one of those three cells. Completely useless unless you know which series was clicked.
So you need to insert the name of the series that was clicked ('Series Name Destination') into the spreadsheet, let's say in F1. The rest is just Excel formulas. The logic is, you can now tell what series was clicked, and go and look up the date that was inserted for that series, then go and look up the row that corresponds to that date. So to get the date that was just clicked, your formula (in F2) would be =HLOOKUP(F1,B1:D2,2,0).
Then a VLOOKUP will get the results from that row of data. For example, if I inserted another row at row 3 (to show my 'result' values) the formula in B3 would be =VLOOKUP($F$2,$A$4:$D$13,2,0).
I hope that makes sense. -
Chart with multiple series (SQL?)
Hello everyone,
I have an sql question relating to flash charts in APEX 3.
I have a table "TREND" that has data like this :-
WEEK LOCN COST
===== ==== =====
45........A......10
46........A......12
47........A......15
45........B......18
46........B......16
47........B......11
45........C......13
46........C......14
47........C......10
How do I create an sql statement that can compile multiple values for a chart at runtime. In other words I want a chart that can show three LOCN lines (A,B and C) over the WEEKs (x axis) in the table.
Using the standard chart source only gives one value on the chart ..........
SELECT NULL link, LOCN label, COST value FROM TREND
I need something like this ..........
SELECT link, label, value1, value2, value3 FROM TREND
But I don't know how to transpose my data into that format, can anyone help ?
I need my data to look like this I think :-
WEEK A B C
===== == == ==
45....10.18.13
46....12.16.14
47....15.11.10
Thanks,
Jack.Hi Jack,
you have 2 possibilities.
1) You can create 3 distinct series sql statements (with the "Add Series" button) where you restrict the query to LOCN. Disadvantage: The table is scanned 3 times.
2) You can create just one series where the distinct series values are mapped to columns. eg:
SELECT NULL AS LINK
, WEEK AS LABEL
, SUM(DECODE(LOCN, 'A', COST, 0)) AS A
, SUM(DECODE(LOCN, 'B', COST, 0)) AS B
, SUM(DECODE(LOCN, 'C', COST, 0)) AS C
FROM TREND
GROUP BY WEEKAdvantage: Table is just scanned once.
Patrick
My APEX Blog: http://inside-apex.blogspot.com
The ApexLib Framework: http://apexlib.sourceforge.net
The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/ -
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? -
Legend Problem in multiple series chart
Hello,
I am getting problem in displaying legend. I have created a chart with multiple series and custon color. Here is my code. You can copy paste it.
Out of 3 only one legend marker n label coming.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundGradientAlphas="[1.0, 1.0]" backgroundGradientColors="[#FFFFFF, #FFFFFF]">
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
import mx.rpc.events.ResultEvent;
import mx.controls.Alert;
[Bindable]
public var SMITH:ArrayCollection = new ArrayCollection([
{date:"22-Aug-05", close:41.87, close2:45.23},
{date:"23-Aug-05", close:45.74, close2:40.90},
{date:"24-Aug-05", close:42.77, close2:46.99},
{date:"25-Aug-05", close:48.06, close2:40.22},
[Bindable]
public var DECKER:ArrayCollection = new ArrayCollection([
{date:"22-Aug-05", close:157.59},
{date:"23-Aug-05", close:160.3},
{date:"24-Aug-05", close:150.71},
{date:"25-Aug-05", close:156.88},
]]>
</mx:Script>
<mx:Style>
ColumnChart {
paddingLeft:20;
paddingRight:20;
paddingBottom:10;
paddingTop:10;
Legend {
paddingLeft:20;
paddingRight:20;
paddingBottom:20;
paddingTop:10;
</mx:Style>
<mx:Stroke id="axisStroke"
color="#000000"
weight="2"
alpha=".75"
caps="round"
/>
<mx:VBox width="500" height="500" borderColor="#000000" cornerRadius="20" themeColor="#009DFF" borderStyle="solid" borderThickness="1" horizontalAlign="center" x="246.5" y="61">
<mx:ColumnChart id="multipleChart" showDataTips="true" width="100%" height="100%" seriesFilters="[]">
<mx:horizontalAxis>
<mx:CategoryAxis id="h1" categoryField="date"/>
</mx:horizontalAxis>
<mx:horizontalAxisRenderers>
<mx:AxisRenderer placement="bottom" axis="{h1}">
<mx:axisStroke>{axisStroke}</mx:axisStroke>
</mx:AxisRenderer>
</mx:horizontalAxisRenderers>
<mx:verticalAxisRenderers>
<mx:AxisRenderer placement="left" axis="{v1}"><mx:axisStroke>{axisStroke}</mx:axisStroke></mx:AxisRenderer>
<mx:AxisRenderer placement="right" axis="{v2}"><mx:axisStroke>{axisStroke}</mx:axisStroke></mx:AxisRenderer>
</mx:verticalAxisRenderers>
<mx:series>
<mx:ColumnSeries id="cs1" horizontalAxis="{h1}" dataProvider="{SMITH}" xField="date" yField="close" displayName="Smith" fills="#6693B0">
<mx:verticalAxis>
<mx:LinearAxis id="v1" minimum="40" maximum="50"/>
</mx:verticalAxis>
</mx:ColumnSeries>
<mx:ColumnSeries id="cs3" horizontalAxis="{h1}" dataProvider="{SMITH}" xField="date" yField="close2" displayName="Smiths" fills="#86D1E4">
</mx:ColumnSeries>
<mx:LineSeries id="cs2" horizontalAxis="{h1}" dataProvider="{DECKER}" xField="date" yField="close" displayName="Decker">
<mx:verticalAxis>
<mx:LinearAxis id="v2" minimum="150" maximum="170"/>
</mx:verticalAxis>
<mx:lineStroke>
<mx:Stroke color="#CC3300" weight="1"/>
</mx:lineStroke>
</mx:LineSeries>
</mx:series>
</mx:ColumnChart>
<mx:Legend dataProvider="{multipleChart}" horizontalAlign="center" direction="horizontal"/>
</mx:VBox>
</mx:Application>I've run into this, too:
Remove the fills property from each ColumnSeries and it'll work.
If you want to use the fills property, you'll have to add your own custom legend code.
From the Flex API:
"If you specify the fills property and you want to have a Legend control, you must manually create a Legend control and add LegendItems to it." -
OBIEE10g-Multiple Series Chart.
Hi Friends,
I have a requirement in OBIEE10g.
MULTI SERIES CHART with STACKED.
If it is possible, Please tell me the steps.Its urgent.
Help appreciated.
Regards,
Chaitanya.PThanks for the reply.
That link tells you how to add multiple axis to a chart which
is what I'm doing, but unless you want to have two horizontal axis
on the bottom (which looks terrible) or put one on the top and one
on the bottom (which looks awkward), this solution is not very
good.
The problem is that the data ranges for the horizontal are
the same, but the individual timestamps are slightly different,
sometimes off by only a few hundredths of a second.
To attempt to work around this, I merged the two arrays, but
that seemed to mess up the display of the data.
Is there not a way to just draw the second series on top of
the first without having to lock it to the axis? It seems like the
answer is no when using the standard packages. But is there a way
to override this and get it to draw properly? -
Colour by series in combination and column charts
I am trying to create combination charts and column charts where each column or line in the charts can be assigned its own colour. This can be acheived by using the "By Series" option in the properties "General" tab. However, when this approach is taken, all the columns are grouped in the middle of the chart, with large ammounts of unused space on the left and right of the columns. Usual behavior with other charting programs is that the columns start from the left hand margin. Indeed, this is the case if I choose the "By Range" option, but then all the columns are the same coluor, and individual column and line colours can not be changed. Anybody got any ideas on how to resolve this please.
Hi Darrell,
Here's an example using COUNTIF. I've moved the count to a separate table. Table names are shown above each table:
Formula:
Summary::B2, and filled down to B6: =COUNTIF(Main :: $A,"<"&A3)-COUNTIF(Main :: $A,"<"&A2)
Note that A7 must contain a numberlrger than the starting number for the last category you are recording.
B7 should be left empty.
Row 1 on each table is a Header Row.
Regards,
Barry -
Plotting multiple series on an SVG Chart
Hi,
I am trying to plot multiple series on an SVG Chart. The moment I add a second series, I get the following error:
"SVG Chart error: ORA-20001: line_chart error: ORA-20001: get_data error: ORA-20001: Parse error: ORA-0093".
The graph fails to plot multiple series even for the same queries. The query I use is something like the following:
select null "link", substr(name,7) "Label",value "Value"
from <table>
where
<conditions>
and name in (<sub-query>)
order by name desc
I have previously used an SVG chart to plot multiple series and have never had such problems. Any help would be greatly appreciated.
I tried deleting and recreating the chart - doesn't help.
Thanks,
AswathIf you want to order the data do it via an in-line view:
SELECT *
FROM (
select null "link", substr(name,7) "Label",value "Value"
from <table>
where
<conditions>
and name in (<sub-query>)
order by name desc
)
Maybe you are looking for
-
I have 2 Apple ID's (the old one and my newer one - attached to a new email address). I bought all my music on first one. Update/sync doesn't pick up music bc using a new Apple ID.... can I merge them onto my iPhone?
-
How do i use a External hard drive?
I am new to the whole external hard drive thing an i just received one and i do not know how to use it. I tried just dragging files to it and it did not work. Do i have to use time machine to use this or How else could i use this?
-
I'm considering the purchase of a new iPod Touch. The Apple Store website says I need a Mac with a USB 2 port. Does this have to be a factory installed port? Specifically can I connect the iPod Touch to either of these: 1. G4 DP 800 QuickSilver Mac w
-
Calling java from pl/sql in oracle 10g?its very urgent.
Hi Friends, i hve simple java code: class Hell public static String Hello() return"hello world"; & compile this code using javac & loaded Hell.class in to database using this command c:\>loadjava -user chandru/shekar@pulser c:\Hell.class & i wrote pl
-
Persian Language pack for W100 i Spiro
Can anyone help me find it????