Regarding colors of bar reports
how to change the colors of the bar reports and other chart reports ie i want to have something customized color. I dont want what is already there ie the usual colors .
Hello,
If you are using the SVG charts you can use a custom css file or some custom inline css to change the chart colors, there is attrbitues for both on the chart edit page.
Take a look at the svg.css in each theme directory for examples.
Carl
Similar Messages
-
Combo chart - different colors for Bar/Line
Hi,
In a combo chart is it possible to have different colors for bar and lines......................In our report- combo charts the intersection of bar/line is NOT visible beacuse of same color.Yes, I create a formula row with a zero in the first column. The row should be hiden. This has to be at the top of the grid and include the row in your data ranges for the chart.
-
Changing Colors of Bar chart in Omini Portlets
Hi,<BR>
Is is possible to change the colors of bar charts in Omini Portltets? If so can any one tell How to change the colors.<BR>
Thanks,<BR>
Vijay.Hi Vinh,
Do you mean that you will have the product on the x-axis of the chart and you want to display a different colour for each product bar on the same chart, or will you have a product selector that displays a single chart only for that product against a specific dimension so that all bars are the same colour determined by the colour attribute of the product?
I am assuming your requirement is the former, in which case rather than jumping through scripting and CSS hoops, I would encourage you to reconsider the business need for this requirement in the context of Stephen Few's Rule #4 in the article Practical Rules for Using Color in Charts, an excerpt of which is shown below:
Regards,
Mustafa. -
How to integrate conditional colors to the Report
<!--Hi all APEX gurus,
I would like to ask if you could help me with the problem how to integrate conditional COLORS to the Report. I need to display Severity field in RED but how to include the multiple "quotation marks" and 'apostrophs' to the query below?
I need to replace i."Severity" field in the query below with the DECODE like this:
DECODE (i."Severity", 1, '<span style="color:red;font-weight:bold">' || i."Severity" || '</span>', i."Severity") "Severity"
Original Query:
DECLARE
q varchar2(4000);
BEGIN
q := ' select ';
q := q || ' i."ID" "ID", ';
q := q || ' i."Task_ID" "Task ID", ';
q := q || ' i."Severity" "Severity", ';
q := q || ' i."Priority" "Priority", ';
q := q || ' i."Task" "Task Name", ';
q := q || ' p."Project_Name" "Project" ';
q := q || ' from ';
q := q || ' "IDEAS" i, ';
q := q || ' "PROJECT_LOOKUP" p ';
q := q || ' where ';
q := q || ' p."Project_ID" = i."Project_ID" ';
if :P1_Show != 'ALL' then
q := q || ' and i."Project_ID" = :P1_Show';
end if;
RETURN q;
END;
I have tried many variants but still have problem with the " " and ' ' included in the DECODE command together with the q-variable.
Thank you for any tips and
Happy New Year!
AB
-->Hi user487406,
What about a select like this:
select i.id,
i.task_id,
case i.severity
when 1 then '<span style="color:red;font-weight:bold">' || i.severity || '</span>'
else
to_char(i.severity)
end severity,
i.priority,
i.task,
p.project_name
from ideas i,
project_lookup p
where p.project_id = i.project_id;
And PL/SQL like this:
q :=
' select i.id, ' ||
' i.task_id, ' ||
' case i.severity ' ||
' when 1 then ''<span style="color:red;font-weight:bold">'' || i.severity || ''</span>'' ' ||
' else ' ||
' to_char(i.severity) ' ||
' end severity, ' ||
' i.priority, ' ||
' i.task, ' ||
' p.project_name ' ||
' from ideas i, ' ||
' project_lookup p ' ||
' where p.project_id = i.project_id; '; Regards Pete -
Help Needed : Changing the Color of Bar Graph Dynamically
Hi..
Is der any body to help me out...?
My Question is :- How to change the color of Bar graph Dynamically..
For example (Assume when one of the Bar Graph crosses certain limit of Y axis value mentioned, the graph must be changed into RED color)
Thanks in Advance
Edited by: user12873839 on Mar 30, 2010 10:03 PMManoj,
You have to create the entire chart manually. follow the below steps. You can refer to the anychart website for more help on different tags and features.
1. Enter the following code in the html header of the page
<script src="#WORKSPACE_IMAGES#AnyChart.js" type="text/javascript" > </script>2. Create an ON Demand Application process by going to the Home>Application Builder>Application #>Shared Components>Application Processes
3. Click On Create
4. Enter the name as DYNAMIC_BAR_GRAPH_CHART
5. Select the processing point as On Demand
6. Click on Nxt
7. Enter the following code in the processing text
DECLARE
BEGIN
OWA_UTIL.mime_header ('text/xml', FALSE);
OWA_UTIL.http_header_close;
HTP.p ('<?xml version = "1.0" encoding="utf-8" standalone = "yes"?>');
HTP.p ('<anychart>');
HTP.p ('<settings>');
HTP.p ('<animation enabled="True"/>');
HTP.p ('</settings>');
HTP.p ('<charts>');
HTP.p ('<chart plot_type="CategorizedVertical">');
HTP.p ('<data_plot_settings default_series_type="Bar">');
HTP.p ('<bar_series>');
HTP.p ('<tooltip_settings enabled="True">');
HTP.p ('<position valign="Top" halign="Right"/>');
HTP.p ('<format> Name: {%Name}');
HTP.p ( 'Value : ${%YValue}{numDecimals:0}');
HTP.p ('</format>');
HTP.p ('<font bold="false"/>');
HTP.p ('<background>');
HTP.p ('<corners type="Rounded" all="3"/>');
HTP.p ('<border type="Solid" color="DarkColor(%Color)" thickness="2"/>');
HTP.p ('</background>');
HTP.p ('</tooltip_settings>');
HTP.p ('</bar_series>');
HTP.p ('</data_plot_settings>');
HTP.p ('<data>');
HTP.p ('<series name="series 1">');
FOR cThis IN (select table2.name, table2.value
from table1,table2,table3
where table1.T1ID = table3.T3ID
and table2.T3ID = table3.T3ID
and table3.C_ID=1
and table3.A_ID=1
ORDER BY table2.name )
LOOP
IF cThis.value > 90 THEN
HTP.p ('<point name="' || cThis.name || '" y="'|| cThis.value || '" color="red"/>');
ELSE
HTP.p ('<point name="' || cThis.name || '" y="'|| cThis.value || '" />');
END IF;
END LOOP;
HTP.p ('</series>');
HTP.p ('</data>');
HTP.p ('<chart_settings>');
HTP.p ('<title>');
HTP.p ('<text>Chart Title</text>');
HTP.p ('</title>');
HTP.p ('<axes>');
HTP.p ('<y_axis>');
HTP.p ('<title>');
HTP.p ('<text>Value</text> ');
HTP.p ('</title>');
HTP.p ('<labels>');
HTP.p ('<format>${%Value}{numDecimals:0}</format>');
HTP.p ('</labels>');
HTP.p ('<axis_markers>');
HTP.p ('</axis_markers>');
HTP.p ('</y_axis>');
HTP.p ('<x_axis position="Normal" align="inside">');
HTP.p ('<labels display_mode="Rotated" rotation="90" align="inside" />');
HTP.p ('<title>');
HTP.p ('<text>Name</text> ');
HTP.p ('</title>');
HTP.p ('</x_axis>');
HTP.p (' </axes>');
HTP.p ('</chart_settings>');
HTP.p ('</chart>');
HTP.p ('</charts>');
HTP.p ('</anychart>');
htmldb_application.g_unrecoverable_error := true;
END;8. Click on Create Process
Now we will create a html region to display the graph.
9. Create a new region of type HTML on the same page and select the region template as no template.
10. Enter the following code in the region source
<div id="DynamicaBarGraph"></div>
<script type="text/javascript" language="javascript">
function DynamicaBarGraph()
var DynamicaBarGraph = new AnyChart('/i/flashchart/swf/AnyChart.swf');
// DynamicaBarGraph.width = "400";
// DynamicaBarGraph.height = "400";
DynamicaBarGraph.addEventListener('pointClick', onDynamicaBarGraphClick);
var DynamicaBarGraphData = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=DYNAMIC_BAR_GRAPH_CHART',0);
gReturn = DynamicaBarGraphData.get();
DynamicaBarGraph.setData(gReturn);
DynamicaBarGraph.write("DynamicaBarGraph");
function onDynamicaBarGraphClick(e)
// Read point name
name=e.data.Name;
// Read point value
value=e.data.YValue;
// You can add onclick even here using the values name and value
DynamicaBarGraph();
</script> Hope it helps. Thanks.
Regards,
Manish -
How to change color of a report/form
Hi,
I am new to APEX. I have created an interactive report and using Theme-9 Simple Gray.
I want to change background color of this report and form. May you please giude me.
Thanks in advance.Hi Srikkanth,
Thank you for the quick response.
Let's assume that I want to change background color of "Navigation Region", as per the link you provided I updated the theme as below:
{body style="background-color: 006633" #ONLOAD#/}#BODY#
still it is not working, may you please help in identifying what am I doing wrong here?
thanks in advance.
Edited by: 864422 on Jun 8, 2011 3:26 AM -
Colors in ALV report - column wise
Hi,
I have a ALV report. I want color in my report like Column Wise.
ex.
Document No........Date.........Amount......Document No......Date........Amount........Document Nov........Date.............Amount....
2008000123...10.07.2009....2000.00......2008000133....10.07.2009....2000.00.....2008000143.......10.07.2009.......2000.00
2008000124...10.07.2009....2000.00......2008000134....10.07.2009....2000.00.....2008000144.......10.07.2009.......2000.00
2008000125...10.07.2009....2000.00......2008000135....10.07.2009....2000.00.....2008000145.......10.07.2009.......2000.00
Please see, there is 3 times Document No, Date and Amount. I want that there should come diff. colors for diff. document numbers.
It is possible or not. If yes, then how...
Thanks...Hi,
go though this link....
i hope this will help u
TABLES:
SPFLI.
TYPE-POOLS:
SLIS.
PARAMETERS:
P_COL TYPE I ,
P_ROW TYPE I,
P_COLOR(4) TYPE C .
DATA:
T_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
FS_FIELDCAT LIKE LINE OF T_FIELDCAT,
FS_LAYOUT TYPE SLIS_LAYOUT_ALV ,
W_COLOR(4) ,
W_ROW TYPE I,
W_FIELDNAME(20),
W_PROG TYPE SY-REPID.
DATA:
BEGIN OF T_SPFLI OCCURS 0,
COLOR(4),
CHECKBOX ,
CELL TYPE SLIS_T_SPECIALCOL_ALV,
CARRID TYPE SPFLI-CARRID,
CONNID TYPE SPFLI-CONNID,
CITYFROM TYPE SPFLI-CITYFROM,
CITYTO TYPE SPFLI-CITYTO,
DISTANCE TYPE SPFLI-DISTANCE,
END OF T_SPFLI.
DATA:
FS_CELL LIKE LINE OF T_SPFLI-CELL.
SELECT *
FROM SPFLI
INTO CORRESPONDING FIELDS OF TABLE T_SPFLI.
W_COLOR = P_COLOR.
T_SPFLI-COLOR = P_COLOR.
IF P_COL IS INITIAL AND P_ROW GT 0.
MODIFY T_SPFLI INDEX P_ROW TRANSPORTING COLOR.
ENDIF.
FS_FIELDCAT-FIELDNAME = 'CARRID'.
FS_FIELDCAT-REF_TABNAME = 'SPFLI'.
FS_FIELDCAT-COL_POS = 1.
FS_FIELDCAT-KEY = 'X'.
FS_FIELDCAT-HOTSPOT = 'X'.
APPEND FS_FIELDCAT TO T_FIELDCAT.
CLEAR FS_FIELDCAT .
FS_FIELDCAT-FIELDNAME = 'CONNID'.
FS_FIELDCAT-REF_TABNAME = 'SPFLI'.
FS_FIELDCAT-COL_POS = 2.
FS_FIELDCAT-KEY = 'X'.
FS_FIELDCAT-HOTSPOT = 'X'.
APPEND FS_FIELDCAT TO T_FIELDCAT.
CLEAR FS_FIELDCAT .
FS_FIELDCAT-FIELDNAME = 'DISTANCE'.
FS_FIELDCAT-REF_TABNAME = 'SPFLI'.
FS_FIELDCAT-COL_POS = 3.
FS_FIELDCAT-KEY = ' '.
FS_FIELDCAT-EDIT = 'X'.
APPEND FS_FIELDCAT TO T_FIELDCAT.
CLEAR FS_FIELDCAT.
FS_FIELDCAT-FIELDNAME = 'CITYFROM'.
FS_FIELDCAT-REF_TABNAME = 'SPFLI'.
FS_FIELDCAT-COL_POS = 4.
FS_FIELDCAT-KEY = ' '.
APPEND FS_FIELDCAT TO T_FIELDCAT.
LOOP AT T_FIELDCAT INTO FS_FIELDCAT.
IF FS_FIELDCAT-COL_POS EQ P_COL.
FS_FIELDCAT-EMPHASIZE = P_COLOR.
W_FIELDNAME = FS_FIELDCAT-FIELDNAME.
IF P_ROW IS INITIAL AND P_COL GT 0.
MODIFY T_FIELDCAT FROM FS_FIELDCAT TRANSPORTING EMPHASIZE.
ENDIF.
ENDIF.
ENDLOOP.
FS_CELL-FIELDNAME = W_FIELDNAME .
FS_CELL-COLOR-COL = 6.
FS_CELL-NOKEYCOL = 'X'.
APPEND FS_CELL TO T_SPFLI-CELL.
IF P_ROW IS NOT INITIAL AND P_COL IS NOT INITIAL.
MODIFY T_SPFLI INDEX P_ROW TRANSPORTING CELL.
ENDIF.
FS_LAYOUT-INFO_FIELDNAME = 'COLOR'.
FS_LAYOUT-BOX_FIELDNAME = 'CHECKBOX'.
FS_LAYOUT-COLTAB_FIELDNAME = 'CELL'.
FS_LAYOUT-F2CODE = '&ETA'.
W_PROG = SY-REPID.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = W_PROG
IS_LAYOUT = FS_LAYOUT
IT_FIELDCAT = T_FIELDCAT
TABLES
T_OUTTAB = T_SPFLI
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
NOTE
Column and Row are colored with a coded color u2018Cxyzu2019.
Where C: Color (coding must begin with C)
X: Color Number
Y: Bold
Z: Inverse.
Thanks
Ashu -
Conditionally Changing Colors of Bars in Chart Using BI Templatet Builder.
How to change color of bars in Bar Chart using BI Publihser Template Builder?
Ex : We have conditions such as When Revenue is between 2000 to 4000 Color of Bar should be red, If Revenue is Higher then 4000 then color of Bars should be Green.
Please reply!!Go to insert menu and choose condetional foram ans set appropreate settings in your template bilder.
Venkat v -
Color calibration bars are printing
I am printing on an Epson Stylus Pro 4800. I am using Photoshop CS2 (version 9.0.2)and have the Color Settings set at North American Prepress2 which was recommended for using ICC settings. I have the printer set to "No Color Adjustments" (i.e. let Photoshop control the color).
Each time I send an image to print, the printer is printing color calibration bars then ejecting the sheet. The image is printing on the second sheet. At $2.50 per sheet (fine art paper), I can't afford to waste the paper. Does anyone know how to turn the color calibration bars off. I have already checked the Output Options in the print dialog box and the calibration box is unchecked.
ThanksThanks for the response. Since I didn't know if this was a Photoshop setting or a printer setting, I also emailed Epson. As it turns out it was a setting on the printer's internal menu. The "Auto Nozzle Check" had been turned on which forces the printer to recalibrate the nozzle spray.
If anyone else runs into this problem, here is the fix:
1.) Press Menu twice, screen will display "Printer setup, Platen Gap"
2.) Press the up arrow four times, screen will display "Auto Nozzle Check"
3.) Press menu once, you should see "Auto Nozzle Check, *On"
4.) Press the down arrow once, you should see off
5.) Press the menu button once an asterisk should appear next to the word off
6.) Press pause to go back to ready, the auto nozzle check is now disabled.
Note: You may also turn off "Auto Cleaning".
Thanks -
How do I shut off the new colored progress bar under the address bar?
In Firefox 7, there is now a small colored "progress bar" under the address url that loads with colored segmentation as a web page loads. While some might consider it helpful, I consider it both distracting and obnoxious. Can someone tell me how to disable this "feature" in about:config? I want to keep the colored granularixation of address sections, but there is no need for that to load as a colored every time a page loads. If I wanted rainbows in my browser, I'd create a Lucky Charms theme. I don't need this, thanks.
I wish this was the case. This is a default action of Firefox 7, not a plugin. While I do want to replace the status bar one day, I have not used StatusBar4Ever to replace the late, lamented status bar as of yet. Unfortunately, this action is tied directly to the new colored segmentated address bar code. In version 5 and 6, he code was "unfinished" (or not fully implemented; take your pick), and as a result this thing never appeared. But in 7, the Firefox term prodly declaimed the feature "functional" and lo and behold, this problem arises! I do appreciate the suggestion, however.
-
Changing row color of a report
Apex version 4.1,
Hi Experts,
I have a simple report and one column holds a flag value (either 1 or 0). all the rows which has the flag value as 1 should be displayed in different color on the report. How can i do this custom row coloring ?
Really appreciate if someone can help me on this,
Thanks guys.
Kurubaran.Apex-Ape wrote:
Really appreciate if someone can help me on this,
You can help yourself on this—and most other questions—by searching the forum before posting to find the numerous previous answers, such as +{thread:id=2292619}+ -
Capacity bar reports phantom storage issue
I have relatively little on my new iPad Air. About 10 video clips of a few minutes each, 208Mb photos, nearly 1Gb Apps, 1Gb Other (?). So I started transferring music, with it set to transfer only selected music. I selected 3 albums that came to about 260Mb.
The capacity bar reports various limits over capacity, but is determined that Audio is 11.43Gb/1058 songs (as compared to the forty or so songs I was trying to transfer).
I restored it. Now the iPad itself appears to believe it has no audio at all (which was the desired option to start afresh without confusing it), but the capacity bar in iTunes still reports 11.43Gb/1058 songs. It has never had 1058 songs on it at all. I never even set it to have all the music I'd had on my iPod Classic.
iTunes refuses to transfer anything to the iPad because of this phantom capacity issue.
I would really like to know what's happening, and more to the point, how to stop it happening.No - I have not tried removing all of them, but I think I am leaning in another direction as the capacity bar DID work correctly at one time, also when I had other devices attached. I mean, it simply could be that I removed iPod too quickly from my PC (or wouldn't that be possible). I am nosing around in the attributes of the folders contained in iPod - should any of them be read only? Like the Contacts folder? Should I change the attributes? Would a reset (not a restore) help?
-
I'm looking for a way to make a multi colored Graduated Bar. Basically like the original Slide I've got a picture of. But basically having three different fill colors. Green at the bottom. Yellow in the middle, and red at the top.
I found one post on the boards that could change the entire fill color depending on the level. But that's not quite what I'm looking for.
http://forums.ni.com/ni/board/message?board.id=170&message.id=24957&query.id=25463#M24957
Is what I want to do possible?
Message Edited by pallen on 03-20-2008 02:05 PM
Patrick Allen
Attachments:
Graduated Bar.jpg 3 KBThanks for the VI. This progress bar is going to come in handy for something I want to do.
I am reposting it with one modification. I found that if you were in green or yellow, the red bar would just appear at the very bottom and flicker a bit. When you moved into red, all looked good.
I reordered the 3 sliders so that green was #3, and red was #1. That way the unused sliders of yellow or red, would appear under the green one and show smooth transition no matter what the level was.
Quick question. Is there a way to control how tall the individual segments of the bar are? I see if you make the total slider taller, you can get more segments, shorter - less. But an individual segment is always about 10 pixels tall. I would like to get a relatively shorter slider with a height of about 60, but have it show up with 15 segments. So a segment might be 3 pixels high with a 1 pixel separator.
I can't find a property node for this, or a way to customize the control to do this.
Message Edited by Ravens Fan on 11-19-2008 09:57 PM
Attachments:
Changing_Progress_Bar4.vi 15 KB -
Hi all,
I want to give color in a particular column of my ALV List report.
Can u help me.. and also the color will change regarding a condition of that field...
Pls reply asap....use below code
DATA: g_color_green TYPE slis_t_specialcol_alv.
create a table of fieldnames to be coloured intensified green -
PERFORM colour_cells TABLES g_color_green
USING 21 31 5.
|
|
set cells of this line to intensified green
IF CONDITION.....
out-color[] = g_color_green[].
ENDIF.
FORM E05_LAYOUT_BUILD *
ALV Layout options *
<-> E05_LS_LAYOUT *
FORM e05_layout_build USING e05_ls_layout TYPE slis_layout_alv.
Setting this flag avoids having to define field sizes.
e05_ls_layout-colwidth_optimize = 'X'.
FIELD COLOR contains table of FIELDNAME and COLOURS.
e05_ls_layout-coltab_fieldname = 'COLOR'.
ENDFORM.
*& Form colour_cells
Set up table to color field groups different from default colour
<--> t_color table of fields and colours
<-- p_index_from - first field of catalogue to be coloured
<-- p_index_to - last field of catalogue to be coloured
<-- p_color - color number
FORM colour_cells TABLES t_color
USING p_index_from TYPE sy-index
p_index_to TYPE sy-index
p_color TYPE i.
DATA: ls_fieldcat TYPE slis_fieldcat_alv,
w_tab TYPE slis_specialcol_alv.
use field catalogue to build new table for consecutive fields
LOOP AT gt_fieldcat INTO ls_fieldcat FROM p_index_from TO p_index_to.
w_tab-fieldname = ls_fieldcat-fieldname.
w_tab-color-col = p_color.
IF p_color = 5. "green
w_tab-color-int = 1. "intensified on
ELSE.
w_tab-color-int = 0. "intensified off
ENDIF.
APPEND w_tab TO t_color.
ENDLOOP.
ENDFORM. " colour_cells
rgds
rajesh -
Hi All,
We are facing an issue in XML Publisher.
We have to do some color changes in the XML report based on some conditions .
We were able to do that successfully and when we do a preview at our local desktop, the colors reflect very well, but when the same RTF is uploaded in an instance, the colors do not come up.
Can anyone please advice us on the same.
Regards,
ShrutiHi,
Can anyone please help us with the above issue.
Regards,
Shruti
Maybe you are looking for
-
My Apple TV can control all the apple devices in my home including my other family members devices why? I have home sharing on so my MacBook pro, iPad, and iPhone can be put on my tv. How do I only contol my devices?
-
I updated my ipad2 and then it went to reset and froze. A hard reset does nothing and connecting it to itunes does not work it wont recognize it. What do i do??
-
Calculate Excise amount as per duty rates check box in J1IEX
Hi, In J1IEX Duty rates tab, there is one check box as Calculate excise duty base on duty rates , but thta check box is Disable i How to make it as enable so that we can click to to recalculate the excise rate, also my problem is that i
-
Create_dynamic_table equivalent in 45B
Hello I need to create a data table based on a field catalogue in 45B. In 46 and above I used cl_alv_table_create-create_dynamic_table but htis doesn't exist in lower releases. Is there a way to do this in 45B? I can create the field catalogue with
-
Dear Experts, During GR of raw material from vendor we want to enter the next inpection date in the batch itself .But the fields for the characteristics appears grey and is not allowing to enter the next inspection date in the batch . Please suggest