Chart Series Transparency
Hi
Has anyone found a work around for getting the series of a graph to be transparent?
I have a stacked graph that I need the 1st series to be transparent (all of the other series to be solid color). I have only been able to change the series to white but then you still see the border and its spoils the effect of the graph.
Does anyone know if it is possible to change the background to transparent for just 1 of the series of a graph?
Any advice would be gratefully appreciated.
Kind Regards
Wes
I found a walk around to make a series to be transparent. In Xcelsius, if the series values are blank, the series will show like transparency. Then we can use IF function and a check box to implement this walk around:
1) Use check box to insert value(0 or1) to a trigger cell, say A1;
2) If a series range is B1:B3;
3) Set B1=IF(A1=1,"",val1), B2=IF(A1=1,"",val2), B3=IF(A1=1,"",val3);
Then at runtime, select check box will make series value to blank and the series will show like transparency.
But this walk around has two shortcut:
1) It's not proper if the series data is dynamically inserted.
2) Blank series show as transparency, but legend still remains on canvas. If needed, you can disabled the legeng in propertysheet.
Hope this can help!
Similar Messages
-
Change color in chart series (Chart Controls)?
Does anyone know if it's possible to change the color within a series in Microsoft Chart Controls? My data is X = test time and Y = response time using a column graph. Currently when the test to collect response time fails it does not
record a numerical value and when graphed it appears as though the response time was minimal. I want to make it stand out when a failure occurs, for example to draw a large column and change the color to red (other values are in blue).
I don't have much experience using Chart Controls yet. I know you can use an alternate color with a different series of data but it doesn't appear you can change it from within.
This is my chart series (when a test fails, the response matches "" and not $NULL):
[void]$chart1.Series.Add("ResponseTime")
$chart1.Series["ResponseTime"].ChartType = "Line"
$chart1.Series["ResponseTime"].BorderWidth = 1
$chart1.Series["ResponseTime"].IsVisibleInLegend = $true
$chart1.Series["ResponseTime"].chartarea = "ChartArea1"
$chart1.Series["ResponseTime"].color = "#0404B4"
$DATA | ForEach-Object {
If ($_.RESPONSE_MS -eq "") {
$chart1.Series["ResponseTime"].Points.addxy("FAIL",9999)
Else {
$chart1.Series["ResponseTime"].Points.addxy( $_.TIME.Remove(5) , ($_.RESPONSE_MS)) }
I tried changing the color within the if/else but the first .color value it picks up will be used throughout.Hi Tickermcse76,
To create a new line chart, please refer to this script:
function New-Chart
param ([int]$width,[int]$height,[int]$left,[int]$top,$chartTitle)
# create chart object
$global:Chart = New-object System.Windows.Forms.DataVisualization.Charting.Chart
$global:Chart.Width = $width
$global:Chart.Height = $height
$global:Chart.Left = $left
$global:Chart.Top = $top
# create a chartarea to draw on and add to chart
$chartArea = New-Object System.Windows.Forms.DataVisualization.Charting.ChartArea
$global:chart.ChartAreas.Add($chartArea)
[void]$global:Chart.Titles.Add($chartTitle)
# change chart area colour
$global:Chart.BackColor = [System.Drawing.Color]::Transparent
} #New-Chart
New-Chart -width $width -height $height -left $left -top $top -chartTile $chartTitle
[void]$global:Chart.Series.Add("Data")
# $global:Chart.Series["Data"].Points.AddXY($(get-date), $($ht.Values))
$global:Chart.Series["Data"].Points.DataBindXY($ht.Keys,$ht.Values)
#$global:Chart.Series["Data"].XValueType = [System.Windows.Forms.DataVisualization.Charting.ChartValueType]::Time
#$global:Chart.chartAreas[0].AxisX.LabelStyle.Format = "hh:mm:ss"
#$global:Chart.chartAreas[0].AxisX.LabelStyle.Interval = 1
#$global:Chart.chartAreas[0].AxisX.LabelStyle.IntervalType = [System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType]::Seconds
$global:Chart.Series["Data"].ChartType = [System.Windows.Forms.DataVisualization.Charting.SeriesChartType]::Line
#$global:chart.Series["Data"].IsValueShownAsLabel = $false
Reference from:
http://poshcode.org/1205
To change the chart color, please refer to this script:
Charting with PowerShell
I hope this helps. -
Need EXPERT's suggestion for APEX CHART SERIES
Hello Everyone,
I have been trying to solve an issue with my apex line chart. The scenario is as follows:
I have a table called revenue. revenues per year are saved in it. and revenues are generated from three sources which are also saved in the same table.
I have made a line chart on it. works well.
Now I have to show that if the value of one of the sources had fallen, how must have it affected the total. I made a number field that takes an estimated change value, and build my sql query with it. it works but the problem is that it changes the non-affected source too. it must change the value of the affected source only and hence the total value.
I hope I make sense and anybody can suggest something.
bold or I will put it this way, how can I write a select statement for a chart series so that one of the rows value does not change and the other two change. ... ?
Edited by: Samooray92 on May 30, 2013 2:41 PMSamooray,
Let's work with this question since there is more detail here than in the other one. {thread:id=2543702}
First it's always help to know:
Full APEX version
Full DB/version/edition/host OS
Web server architecture (EPG, OHS or APEX listener/host OS)
Browser(s) and version(s) used
And sometimes this information as well.
Theme
Template(s)
Region/item type(s)
When a question goes unanswered for a while, there is no need to reply to it or to start a new question. You can edit the original question and just add "Bump" at the bottom and save the changes. This will bump it back to the top of the question list. And by that time, you might think of additional information you can add to the question.
Say, why would a question go unanswered? Well, easy questions and frequently asked questions with well-known answers can be answered right away. Your question seems more complicated and I don't think we have all the information we need to understand exactly what the question is.
You are doing a "series" chart. What kind of series chart: bar, column, line? What is each series? For example, components of revenue might be 1) sales, 2) licensing revenue and 3) other. Then you might have one series for sales, a second for licensing revenue and a third for other.
Could you mock up a trivial example on apex.oracle.com http://apex.oracle.com/pls/apex/f?p=4700:1:0::::: ?
Regards,
Howard -
Single Chart Series with multiple color data points
I am developing an application using the flex chart component
and I am binding data to 3 different chart series which is pretty
intense processing. I was wondering can I use only one chart series
and when I bind the data points just to change the color per data
point which meet certain criteria?
Here one method from my application where I am dynamically
binding data to my series.
private function loadSeries(data:XMLList, yAxis:String):void
seriesAdd.yField = yAxis;
seriesAdd.xField = "Date";
//seriesDelete.yField = yAxis;
//seriesDelete.xField = "Date";
//seriesChange.yField = yAxis;
//seriesChange.xField = "Date";
seriesAdd.dataProvider = data.Trade.(A == 'Add');
seriesAdd.//Can I change the color per each data point if I
have multiple data sets?
//seriesDelete.dataProvider = data.Trade.(A == 'Delete');
//seriesChange.dataProvider = data.Trade.(A == 'Change');
Thank youI think I found something to get me started:
http://livedocs.adobe.com/flex/3/html/help.html?content=charts_displayingdata_09.html
My next question is if I have the following function to fill
my data points:\
private function myFillFunction(element:ChartItem,
index:Number):IFill {
var c:SolidColor = new SolidColor(0x00CC00);
var item:ColumnSeriesItem = ColumnSeriesItem(element);
var sales:Number = Number(item.yValue);
if (sales >= 50000) {
return c;
} else {
// They have not met their goal.
c.color = 0xFF0000;
return c;
How can I access values that pertain to the specific chart
item, but are not plotted on the x and y axis. Something similar to
the checking on the above function, but check if value that is not
plotted but still exists on the data provider.
Thanks in advance. -
No longer able to access the "Advanced" options via the Inspector Chart Series Advanced sequence
In iWorks9 Numbers in attempting to add trendline to a line chart I am suddenly no longer able to access the options under "Advanced" via the Click On Chart Line>Inspector>Chart>Series>Advanced sequence because the triangle button adjacent to Advanced is not highlighted and does not open up when clicked upon. Ideas?
well ... I spent some time this afternoon repairing disk permissions, checking application preferences, etc. and don't think I found anything directly related to this problem but after a few hours I returned to Numbers and lo and behold something changed and everything is working fine ... and I have no idea what was the cause and what was the fix but I'll take it. Heisenberg was right.
-
How do I set default colors for XY chart series (lines and legend)
I am implementing a line chart and need to override the default (caspian style) colors for the line colors and the legend symbols. I'm not displaying the chart symbols themselves as that would make the chart look bad. I've been able to successfully set the default colors for the lines via the CSS below, but cannot find a way to do the same for the series symbols that appear in the chart legend. How do I do this? Thanks.
.default-color0.chart-series-line {
-fx-stroke: rgb(0, 102, 255);
.default-color1.chart-series-line {
-fx-stroke: rgb(0, 255, 102);
...Update:
Figured it out. Need to do the following:
.default-color0.chart-line-symbol {
-fx-background-color: rgb(R, G, B);
}Edited by: 998038 on May 16, 2013 4:09 PMHere is some css to customize the line and legend colors in a line chart.
/** file: chart.css
place in same directory as LineChartWithCustomColors.java */
.default-color0.chart-series-line {
-fx-stroke: rgb(0, 102, 255);
.default-color1.chart-series-line {
-fx-stroke: rgb(0, 255, 102);
.default-color0.chart-line-symbol {
-fx-background-color: rgb(0, 102, 255), white;
.default-color1.chart-line-symbol {
-fx-background-color: rgb(0, 255, 102), white;
}And a test harness to try it:
import javafx.application.Application;
import javafx.event.*;
import javafx.scene.Scene;
import javafx.scene.chart.*;
import javafx.scene.control.*;
import javafx.scene.input.*;
import javafx.stage.Stage;
public class LineChartWithCustomColors extends Application {
@Override public void start(final Stage stage) {
stage.setTitle("Line Chart Sample");
//defining the axes
final NumberAxis xAxis = new NumberAxis();
xAxis.setLabel("Number of Month");
final NumberAxis yAxis = new NumberAxis();
//creating the chart
final LineChart<Number,Number> lineChart =
new LineChart<>(xAxis,yAxis);
lineChart.setTitle("Stock Monitoring, 2010");
lineChart.setCreateSymbols(false);
//defining a series
XYChart.Series series = new XYChart.Series();
series.setName("My portfolio");
//populating the series with data
series.getData().setAll(
new XYChart.Data(1, 23),
new XYChart.Data(2, 14),
new XYChart.Data(3, 15),
new XYChart.Data(4, 24),
new XYChart.Data(5, 34),
new XYChart.Data(6, 36),
new XYChart.Data(7, 22),
new XYChart.Data(8, 45),
new XYChart.Data(9, 43),
new XYChart.Data(10, 17),
new XYChart.Data(11, 29),
new XYChart.Data(12, 25)
lineChart.getData().add(series);
//adding a context menu item to the chart
final MenuItem resizeItem = new MenuItem("Resize");
resizeItem.setOnAction(new EventHandler<ActionEvent>() {
@Override public void handle(ActionEvent event) {
System.out.println("Resize requested");
final ContextMenu menu = new ContextMenu(
resizeItem
lineChart.setOnMouseClicked(new EventHandler<MouseEvent>() {
@Override public void handle(MouseEvent event) {
if (MouseButton.SECONDARY.equals(event.getButton())) {
menu.show(stage, event.getScreenX(), event.getScreenY());
Scene scene =
new Scene(
lineChart,800,600
stage.setScene(
scene
stage.show();
scene.getStylesheets().add(
getClass().getResource("chart.css").toExternalForm()
public static void main(String[] args) {
launch(args);
} -
Can anybody explain why a Line chart comprising of more than one Chart Series does not work when building the SQL constructed in PL/SQL ?
The second series is identical apart from the snapshot_ids.
I need to construct like this due to another problem with database links.
I''ve tried to trace this but nothing much is produced, maybe because of the SVG plug-in?
DECLARE q varchar2(1000);
BEGIN
q:='SELECT Snap_Time, Snap_TimeXX, Value
FROM (
SELECT TO_CHAR(S2.SNAP_TIME,''D'') Snap_Time,
TO_CHAR(S2.SNAP_TIME,''D'') Snap_TimeXX,
SUM(S.value) Value
FROM STATS$SYSSTAT S,
STATS$SNAPSHOT S2
WHERE S.SNAP_ID=S2.SNAP_ID
AND S.SNAP_ID between 832 and 859
AND S.INSTANCE_NUMBER=1
AND S.NAME=''execute count''
group by TO_CHAR(S2.SNAP_TIME,''D''))';
RETURN q;
END;Yes it was that problem, but I still have an issue:
How do I set the Flash Chart to use a PL/SQL function in the first place ?
When I try to enter:
"return package.function;" in the Create Region Wizard, I get the following error:
Failed to parse SQL query:
return EXPERT.getFullListSQLByNC
ORA-00900: invalid SQL statement
Certain queries can only be executed when running your application, if your query appears syntactically correct, you can save your query without validation (see options below query source). -
Possible to use formulas in chart series data?
Hello, I need to build chart series from manual values. This is possible but Excel accepts only raw values. When I try to use a calculated value, excel rejects the series format.
=SERIES("Supply";(Sheet1!$A$97;Sheet1!$H$47);(Sheet3!$B$10;Sheet3!$B$10);4)
is accepted. I need to adjust it to something like
=SERIES("Supply";(DATEVALUE("31.12.2014");MAX(Sheet1!A:A;Sheet1!H:H));(Sheet3!$B$10/365;Sheet3!$B$10/365);4)
this however doesn't fit. Does Excel provide a format for inline evaluating without need to use auxiliary cells?It is not possible to evaluate formulas within a Series formula. You can use Names to calculate individual values from formulas, return an array of values or use a dynamic Name to return an array of cells and use Names in Series formulas.
However for your purposes I don't think even use of Names would help; from your first example your formulas return multiple cell areas (albeit only one cell in each area) and your second example aims to return an array with each formulas calculating each
element, you'd need a Name of Names which I don't think would work.
Even if you could do it the way you want I think it would be a bad approach. Why not make use of cells, there's no shortage of them and it would make things much easier for maintenance.
-
Chart series name from SELECT event
Hi all, how can I get the name of the chart series when I click on it (SELECT event)? is this possible?
Thanks in advanceHi
If you place curser on the chart on the required 'Data series' you will get data series name also you will get the values of the field on the category access. Is this what you want? If you want to drilldown the 'data series' through 'select' event then it is not possible, it will pass the value of the field which is on category axis. Even though you want to do this, you have to create 'Radio Button or Dropdown etc for each 'Data series'. Then create separate chart for each series place them one over the other. BAsed on radio button (or Dropdown) create visibility condition to display required data series. by doing this you will get the same effect.
If you are looking for anything else then please elaborate your requirement.
Regards
Sandeep -
Please suggest how can we place chart series label evenly in Pie Chart of SSRS 2008
Could you please suggest how can we place chart series label value evenly so that it doesnot overlap with each other and user can view the data properly.
Please find the attached screenshot for the same.Hi SubhadipRoy,
As Satish posted, the solution can achieve your goal. In addition, you can right click the Chart Series Labels and Series Label Properties, and then select Number in the left pane, finally select Scientific below the Category option. The data label may not
overlay. Or you can enlarge the chart.
Regards,
Heidi Duan
Heidi Duan
TechNet Community Support -
Dynamic Chart Series (or equivalent)
Hi Folks.
I am looking to dynamically create chart series queries at runtime.
The data that I am presenting in my chart is stored in APEX collections populated at runtime. The series I need to generate at runtime will effectively pivot the data stored in the collections using the sequence number as the key.
For example, if my page generates two collections at runtime like this...
collection1
Sequence C001 C002 C003
1 AAA 200 300
2 AAA 300 400
3 AAA 400 500
collection2
Sequence C001 C002 C003
1 BBB 500 600
2 BBB 600 700
3 BBB 700 800I would need three series to be generated.
The first series would pick up the C001, C002 & C003 from both collections for sequence 1
The second series for sequence 2
The third series for sequence 3.
Does anyone have an opinion on how I could achieve this dynamically? Some pages may need 10 series, some only two.
Any suggestions appreciated.
Many thanks
Kind regards
Simon GaddSimon,
I think this can help:
http://apex.oracle.com/pls/otn/f?p=31517:222
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------------------ -
Hi!
I want generate svg chart with 3 series basead in database table DR_HPUX_CPU with 5 columns: id (server id), percent_user, percent_idle, percent_system and info_date.
What I Want is view information about CPU percent user, system and idle in the same chart. series query (i create 3 only different in PERCENT_XXX):
SELECT NULL LINK,
data,
valor
FROM
(SELECT DISTINCT
TO_CHAR(info_date,'YYYY-MM-DD HH24:MI') as data,PERCENT_XXX as valor
FROM DR_HPUX_CPU
WHERE ID=6 ORDER BY data DESC)
WHERE ROWNUM < 21
order by data asc
If I have only one series, chart display very well. when i have 3 series chart return error:
SVG Chart error: ORA-20001: line_chart error: ORA-20001: get_data error: ORA-20001: Parse error: ORA-00933: SQL command not properly ended
What's wrong?
Thanks
Avc"Avc"
I think we're going to have to see the other 2 queries. What happens when you try all combinations of 2 queries? What I'm asking is: can you narrow the problem down to 1 query?
Sergio -
Enhancement Request - Making Chart Series Conditional
Hi,
I would like to display up to ten graphs in a 2D Flash chart region.
I can do this by creating the ten series. However there doesn't appear to be a way to make these conditional. I can include something in the where clause but the resulting XML contains data for all ten series and runs very slowly.
Please could the Chart Series be made conditional?
Thanks,
ChrisHi Chris,
Currently there is no option to set a conditional display on a chart series query, however this feature is already on the list of enhancements that are being considered for our next release....so hopefully that option will be there in a future release.
Regards,
Hilary -
How to customize line chart series and symbols?
Hello Forum,
who can help me to customize line chart series and symbols color?
I need to customize this in dynamic way.
Thanks in advanced.See example 8-10 (Example 8-10 Changing Chart Symbol Color) from http://docs.oracle.com/javafx/2.0/charts/css-styles.htm#CIHGIAGE (reproduced here).
The linked tutorial document contains a picture of how this example renders.
.chart-series-line {
-fx-stroke-width: 2px;
-fx-effect: null;
.default-color0.chart-series-line { -fx-stroke: #e9967a; }
.default-color1.chart-series-line { -fx-stroke: #f0e68c; }
.default-color2.chart-series-line { -fx-stroke: #dda0dd; }
.default-color0.chart-line-symbol { -fx-background-color: #e9967a, white; }
.default-color1.chart-line-symbol { -fx-background-color: #f0e68c, white; }
.default-color2.chart-line-symbol { -fx-background-color: #dda0dd, white; }Note the two comma separated colors listed for each -fx-background-color for the chart-line-symbol.
The first color is the color or the outside of the symbol, the second is the inside of the symbol.
In the sample css you provided you only supply a single background color for the chart-line-symbol, when two colors are required. -
How to set the (specific) color for a Chart Series in a Flash Diagramm
Hello all,
I wonder how I can set the color (of a bar) for a Chart Series in a Flash Diagramm.
So far I found now set-screw for this.
Can someone give me a hint please.
Thanks in advance.
AndreHi,
On the Chart Attributes page for the region, change the "Color Scheme" setting to Custom. Then, in the "Custom Colors" setting, enter the colours you want for all series, separated by a comma. For example:
red,yellow,greenAndy
Maybe you are looking for
-
hi my mac book is so slow, or coming slow. 85 GB is free HD, from 145 HD. can sombody help me? thanks Vijay rom Switzerland
-
Convert Report Writer Report to ABAP Report
Hi, does anyone know if there is an easy way to kind of export a report writer report to a abap programm, that can then be changed or enhanced? ths in advance.
-
Is there a way to influence the physical column order when generating objects for an Oracle 11g database? It looks like the DDL that is generated has the columns in a random order. Even though I order the columns in the way I want on the columns ta
-
Shared - user-23f7aba631??? What is this?
In my Mac HD, under shared, its lists "user-23f7aba631". I click on it an cannot connect, I go to connect s my mac ID and that isn't valid, and it gives me the option to connect as a guest, but that doesn't work either. I brought up the info box, and
-
Problems with focus on a "Dictionary Search Help"
Hello everybody, I think I have a more specific problem depending on accessibility. the problem is, when the dsh comes up it isn't accessable via the tab key at least not with the first 50 "tab-pressings". can i set a focus to the dsh? it's a big iss