How to change line color in line graph
Hi,
I have one 'on change of' field and has three 'show value' fields.
Crystal has assigned default colors for these 3 lines..but i want to assign my own colors..is this possible?
and can we adjust the line thickness?
I am using crystal 2008 complete edition.
And i am using formulae for the 'show value' fields..so the legend is showing '@' sign..how to get rid if this?
Aprreciate any info...
Thanks,
Preethi
If you click on the lines themselves, it should highlight the specific line you clicked on.
Once the line is highlighted, right-click on the line and you should be able to "format the connector line" properties by changing the thickness, colour and type of line.
The same can be done for the titles of the chart, simply click on one of the titles, once it's highlighted you should be able to change the title names, font colour, font type etc.
--Lisinda
Similar Messages
-
BI BEANS - Graph - How to change the color .. please help
Hi Everyone,
Can anyone please tell me how to change the color of the Graph bars or slices. I mean the color which represents the data.
For example in a pie chart I want to set specific color for specific slice. Please help.
Regards
SRTIt seems to be the SET_SERIE_COLOR() method added to the FormsGraph revised version, but this latest version is momentarily not available for download.
I think there is an existant open thread on this. Maybe you could find it using the Forum Search box.
Francois -
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 can i change the color of the graph in agreement of the program's condition
Hi,
I am using labview 5.1 in my graduation's project final. (sorry by my english, but i am ina hurry)
How can i change the color of the graph in agreement of the program's condition?
I am developing a VI to control the temperature of termistors,but i have another sensor too.
In a graph i have the situation of the termistors,but i want to change the color of the graph when the sensor is active.
Thanks a lot
Rafael Wajnsztajn - BrasilTo change the color of the line itself, you can use the attribute Plot>>Plot Color.
To change the color of the points, you can use the attribute Cursor>>Cursor Color.
To select the color, you should have a color box constant inside the Numeric>>Additional Numeric Constants palette.
This is all in LV 7.0. I'm not sure how it similar it is in 5.1.
One important thing is to place the attribute node inside a case structure which will execute only when your condition has been filled.
If this didn't help you, I suggest you post the relevant piece of code, or at least an image of it (no BMPs, please).
Try to take over the world! -
How to change the color of specific row in ALV tree
Hi,
I m using method set_table_for_first_display of a class CL_GUI_ALV_TREE.
The req is to change the color of specific row. Now can anybody tell me how to change the color of ALV tree. As in ALV tree and in this method 'set_table_for_first_display', there is no parameter IS_Layout.
Pls suggest...hi
hope this code will help you.
Reward if help.
REPORT zsharad_test1.
TABLES: ekko.
TYPE-POOLS: slis. "ALV Declarations
*Data Declaration
TYPES: BEGIN OF t_ekko,
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
statu TYPE ekpo-statu,
aedat TYPE ekpo-aedat,
matnr TYPE ekpo-matnr,
menge TYPE ekpo-menge,
meins TYPE ekpo-meins,
netpr TYPE ekpo-netpr,
peinh TYPE ekpo-peinh,
line_color(4) TYPE c, "Used to store row color attributes
END OF t_ekko.
DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
wa_ekko TYPE t_ekko.
*ALV data declarations
DATA: fieldcatalog TYPE slis_t_fieldcat_alv WITH HEADER LINE,
gd_tab_group TYPE slis_t_sp_group_alv,
gd_layout TYPE slis_layout_alv,
gd_repid LIKE sy-repid.
*Start-of-selection.
START-OF-SELECTION.
PERFORM data_retrieval.
PERFORM build_fieldcatalog.
PERFORM build_layout.
PERFORM display_alv_report.
*& Form BUILD_FIELDCATALOG
Build Fieldcatalog for ALV Report
FORM build_fieldcatalog.
There are a number of ways to create a fieldcat.
For the purpose of this example i will build the fieldcatalog manualy
by populating the internal table fields individually and then
appending the rows. This method can be the most time consuming but can
also allow you more control of the final product.
Beware though, you need to ensure that all fields required are
populated. When using some of functionality available via ALV, such as
total. You may need to provide more information than if you were
simply displaying the result
I.e. Field type may be required in-order for
the 'TOTAL' function to work.
fieldcatalog-fieldname = 'EBELN'.
fieldcatalog-seltext_m = 'Purchase Order'.
fieldcatalog-col_pos = 0.
fieldcatalog-outputlen = 10.
fieldcatalog-emphasize = 'X'.
fieldcatalog-key = 'X'.
fieldcatalog-do_sum = 'X'.
fieldcatalog-no_zero = 'X'.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
fieldcatalog-fieldname = 'EBELP'.
fieldcatalog-seltext_m = 'PO Item'.
fieldcatalog-col_pos = 1.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
fieldcatalog-fieldname = 'STATU'.
fieldcatalog-seltext_m = 'Status'.
fieldcatalog-col_pos = 2.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
fieldcatalog-fieldname = 'AEDAT'.
fieldcatalog-seltext_m = 'Item change date'.
fieldcatalog-col_pos = 3.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
fieldcatalog-fieldname = 'MATNR'.
fieldcatalog-seltext_m = 'Material Number'.
fieldcatalog-col_pos = 4.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
fieldcatalog-fieldname = 'MENGE'.
fieldcatalog-seltext_m = 'PO quantity'.
fieldcatalog-col_pos = 5.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
fieldcatalog-fieldname = 'MEINS'.
fieldcatalog-seltext_m = 'Order Unit'.
fieldcatalog-col_pos = 6.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
fieldcatalog-fieldname = 'NETPR'.
fieldcatalog-seltext_m = 'Net Price'.
fieldcatalog-col_pos = 7.
fieldcatalog-outputlen = 15.
fieldcatalog-datatype = 'CURR'.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
fieldcatalog-fieldname = 'PEINH'.
fieldcatalog-seltext_m = 'Price Unit'.
fieldcatalog-col_pos = 8.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
ENDFORM. " BUILD_FIELDCATALOG
*& Form BUILD_LAYOUT
Build layout for ALV grid report
FORM build_layout.
gd_layout-no_input = 'X'.
gd_layout-colwidth_optimize = 'X'.
gd_layout-totals_text = 'Totals'(201).
Set layout field for row attributes(i.e. color)
gd_layout-info_fieldname = 'LINE_COLOR'.
gd_layout-totals_only = 'X'.
gd_layout-f2code = 'DISP'. "Sets fcode for when double
"click(press f2)
gd_layout-zebra = 'X'.
gd_layout-group_change_edit = 'X'.
gd_layout-header_text = 'helllllo'.
ENDFORM. " BUILD_LAYOUT
*& Form DISPLAY_ALV_REPORT
Display report using ALV grid
FORM display_alv_report.
gd_repid = sy-repid.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = gd_repid
i_callback_top_of_page = 'TOP-OF-PAGE' "see FORM
i_callback_user_command = 'USER_COMMAND'
i_grid_title = outtext
is_layout = gd_layout
it_fieldcat = fieldcatalog[]
it_special_groups = gd_tabgroup
IT_EVENTS = GT_XEVENTS
i_save = 'X'
is_variant = z_template
TABLES
t_outtab = it_ekko
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.
ENDFORM. " DISPLAY_ALV_REPORT
*& Form DATA_RETRIEVAL
Retrieve data form EKPO table and populate itab it_ekko
FORM data_retrieval.
DATA: ld_color(1) TYPE c.
SELECT ebeln ebelp statu aedat matnr menge meins netpr peinh
UP TO 10 ROWS
FROM ekpo
INTO TABLE it_ekko.
*Populate field with color attributes
LOOP AT it_ekko INTO wa_ekko.
Populate color variable with colour properties
Char 1 = C (This is a color property)
Char 2 = 3 (Color codes: 1 - 7)
Char 3 = Intensified on/off ( 1 or 0 )
Char 4 = Inverse display on/off ( 1 or 0 )
i.e. wa_ekko-line_color = 'C410'
ld_color = ld_color + 1.
Only 7 colours so need to reset color value
IF ld_color = 8.
ld_color = 1.
ENDIF.
CONCATENATE 'C' ld_color '10' INTO wa_ekko-line_color.
wa_ekko-line_color = 'C410'.
MODIFY it_ekko FROM wa_ekko.
ENDLOOP.
ENDFORM. " DATA_RETRIEVAL -
How to change Text2D color at runtime...
Hi,
In fact I used Text3D and I was able to change color, text, font, style at runtime. I don't know if you guys have the same problem but Text3D doesn't render correctly (some letters are hidden by others) (i'm on a SGI Irix).
So I decided to go back to Text2D but I can't find how to change the color, text, font and style at runtime.
I've a Shape3D instance myShape = new Text2D(someParams);
When I want to change it I tried myShape = new Text2D(otherParams);
But nothing happened...
I've tried detaching the shape, modify it, and re-add it to the graph, but it is still the same after adding it...
If someone could tell me how I can do that it would be a great help.
thank you
Fredhttp://forum.java.sun.com/thread.jsp?forum=21&thread=356750
-
How to change the color of Menu links in obiee
Does anyone knows how to change the colors of Menu links in obiee. With menu I mean the menu links default right top (Search, homepage, Catalogus, Dashboards, new, Open). This should be set in skin and style files, not? I searched a lot. I could not find It. It is now Oracle blue, we want to change this.
obiee 11.1.1.5.
ThanksYou have to customize portal banner and portal content CSS files as needed in OBIEE server.
below links will guide u but will will not tell you exactly but your req can be done by customizing portal content and portal banner CSS files. try to identify the exact code using firebug in mozilla.
http://www.rittmanmead.com/2009/04/customizing-obiee-dashboard-banners/
Customization of login page, banner,logo in obiee11g
Thanks
Jay. -
How to change front color in Visual composer
Dear friend,
i am taking numerical expression box into visual composer table view
and try to change the front color in style tab for that field property
but front color is not changing in output(back ground color is changing ).
how to change front color in visual composer?
and can we change the symbol color too?
thanks and regards,
dushyant.Hi Vani!
1. Unfortunately one of my requirements is that I can only get data from queries and not from Web Services or other sources, so no WS calling would be allowed in my deployed I-View, but thanks anyway for your suggestion.
2. You are right, I was not clear enough in my first post. Let's say I have 3 rows and 12 columns, what I want is the following:
ROW3 = ROW1 / ROW2
obviously for each column. Do you have an idea about how it could be done??
Thanks a lot,
Andrea -
How to change background color to JCheckBox in a JTable?
Dear Friends,
I have an JTable in my application. It has four columns. First, third and fourth column contains JCheckBox (JCheckBox is created using Boolean.class), secod column contains values.
I have to change some of the cell color where JCheckBox is present.
Could anyone please tell me how to change the color of the cell in the JTable?
Thanks in advance,
Sathish kumar DYou would use a custom renderer.
To get better help sooner, post a SSCCE that clearly demonstrates your problem.
Use code tags to post codes -- [code]CODE[/code] will display asCODEOr click the CODE button and paste your code between the {code} tags that appear.
db
Alternative link: SSCCE
Edited by: Darryl.Burke -
How to change background color in online editor
How to change background color in online editor
Jeff,
if you try to change all the plsql keywords to the same background color (that is not either white or black or blue) via the options panel in SQL Developer (Code Editor > PLSQL syntax colors), you will get the new background color in the worksheet only for the areas with plsql text, while the areas without any text will have the same background color as the base color scheme you started with. This means that there is no way to change the "general background" color via the options panel, but you have to use the same background color of one of the predefined color schemes.
This seems to me a bug, but probably it's not considered high priority, so it will not be fixed for the time being.
I would like to stress the fact that being able to change the color scheme of the development environment that you use every day about 8 hours a day can make quite a difference on your eyes at the end of the day.
Thanks,
Paolo -
How to change background color in photoshop cs3
how to change background color in photoshop cs3
Please help me...Background for what? You need to explain better and be more specific.
Mylenium -
How to change background color of multilevel textbox in oracle form 6i
hi
How To Change background Color of the Text.
In One Multilevel Block 10 Record is Display At a Time in a Text Box (Name is AMTt)
This Text Box display , Buffer and Record Length is 10
In Case Of Amount is Less 500 then Text Color Is Red(Or Any) and In Case Amount Is More 500 Then Color is Green (Or Any).
Me Use This Code in PRE_RECORD EVENT
TCMTL is Block name
TCMTL_AMT is Text Box Name
if :TCMTL.TCMTL_AMT >5000 then
g_fun.msgbox('Values is more');
Set_Item_Property('TCMTL_AMT' , BACKGROUND_COLOR, 'r50g100b100');
else
g_fun.msgbox('Values is Less');
Set_Item_Property('TCMTL_AMT' , BACKGROUND_COLOR, 'r50g100b10');
end if;
but This Code Is Refer Only 10th Value and change color depend on value.
so
possible to Different color in One Block Text Box Then how?DECLARE
cur_itm VARCHAR2(80);
cur_block VARCHAR2(80) := Name_in('system.trigger_block') ;
BEGIN
cur_itm := Get_Block_Property( cur_block, FIRST_ITEM );
WHILE ( cur_itm IS NOT NULL ) LOOP
cur_itm := cur_block||'.'||cur_itm;
--:global.VISUAL_ATTRIBUTE:= 'BACKGROUND_COLOR';
--:global.VISUAL_ATTRIBUTE:= get_item_property(cur_block||'.'||cur_itm ,Background_Color);
IF :TCMTL.TCMTL_AMT >= 500 THEN
Set_Item_Instance_Property( cur_itm, CURRENT_RECORD, VISUAL_ATTRIBUTE,'r50g100b100');
ELSE
Set_Item_Instance_Property( cur_itm, CURRENT_RECORD, VISUAL_ATTRIBUTE,'r5g100b10');
END IF;
cur_itm := Get_Item_Property( cur_itm, NEXTITEM );
END LOOP;
next_record;
END;
this is my in that how to set a VISUAL_ATTRIBUTE, and where to set so get a background color of text and change -
How to change a color for a row in ALV grid display
Hi,
how to change a color for a row in ALV grid display based on a condition.Any sample code plzHello Ramya,
Did you check in [SCN|How to color a row of alv grid]
Thanks! -
How to change the color of SAP screen?
Hi Frens,
I know it has nothing to do with SD Community, but still I am asking. Can anyone tell me "How to change the color of SAP screen?" It is needed especially when you are working on System Landscape including PRD, Qua & Dev. There are chances that you end up making a test case in PRD instead of Dev or Qua. To avoid that, different color of SAP screen may be very useful and safe.
Regards
Vikas Chhabra
SD/CIN ConsultantWe had a clone of SAP for testing
Only GUIXT solution was available for users to distinguish between real Prod & Clone as SID was same
Created 2 scripts n C:\guixt\scripts
saplsmtr_navigation.e0100.txt
Esession.txt
BOTH having identical code
if V[_ashost=10.3.3.18]
TitlePrefix "CLONE18"
TitleSuffix "(CLONE8)"
endif
if V[_ashost=10.3.3.25]
TitlePrefix "PROD25"
TitleSuffix "(PROD25)"
endif
After much research - this was only solution.
GUIXT will be around; like SAPSCRIPT & SMARTFORMS
despite the enticement of Adobe Forms!
After some time you may set GUIXT profile start window HIDDEN
This you do by clicking profile button of GUIXT menu
If you want to see GUIXT Window again
CMD.exe Dos prompt
cd C:\Program Files\SAP\FrontEnd\SAPgui
guixt visible
Regards
Jayanta Narayan Choudhuri
Kolkata
URL: http://ojnc.byethost11.com -
How to change the color background in Pages for iPad?
how to change the color background in Pages for iPad?
You can find many themes at https://github.com/hdoria/xcode-themes There's a download zip button on the right side of the page.
Unzip and and copy the .dvtcolortheme files into /Users/YourUsername/Library/Developer/XCode/UserData/FontAndColorThemes Create the directory if it doesn't exist.
If you can't find the Library directory you can get to it by using Finder's "Go to Folder..." option under "Go" or press shift + cmd + G then type the path. -
How to change the color of SOLIDS ?
Hi there,
In the Effects panel, I select the color solids, we only have green and a few colors. I chose the green one as the background.
Then I wanna choose my own color by changing the color of the green but my eyes are blind, I cannot find where the selection are ?
Can anyone be kind enuf to let me know where the switch is ? How to change the color of the solids to be used as background ?
Thanks
ChersLuis Sequeira1 wrote:
Drag your generator to the timeline. Select int. Look at the Inspector, in the top right corner (if the inspector is not open, you can use Cmd-4 to open it). At the top of the inspector, you have three buttons: "Generator", "Video", and "Info". Click on "Generator" and you get a drop down menu allowing you to choose one of six colors.
If none of these six serves you well, you can then click on "Video", and use the Color tools to set it to anything you want.
Thanks Luis for your detailed explanation ... it worked !
Maybe you are looking for
-
Unable to configure webstack - SXDE
Noob here. Firstly, feel free to redirect if this is the wrong forum. I just installed the current release of SXDE on VMware server. I am now trying to configure the webstack, as per the Getting Started guide (as per file:///opt/webstack/doc/html/p3.
-
So I gave up on trying to import 45 min blocks of video into im08. I am now taking a dvd player, running it through a sony dvcam dsr-11. This allows me to import the 10 seconds I need from many random places. But im08 keeps force quiting. Not that it
-
Question about index for some condition
Hello expert, I have following condition in the where subclause, will you please tell if it will use index for transaction_log_fk ? pp.transaction_log_fk < p_transaction_log_fk Many Thanks,
-
What file format is needed to import images files from Lightroom or CC directory?
I have tried accessing psd, tiff and jpeg files to import them into Adobe Shape. All have received an error message saying that the file format isn't supported. What file format should I be using for my images in order to import them? Thank you!
-
WhatsApp not showing in Share Via list in Camera Roll
Hi, In my iphone 5s if i am in Camera Roll and have selected some photos to share via whatsapp after clicking the left bottom arrow to share its showing facebook , mail, twitter etc but whatsApp is not in the list even if i have given permission in s