Change color of one column in chart
Hi
is there a way to change the color of just one column in a column chart? I want to highlight one column but I can't seem to select just that column.
Thanks
Welcome to Apple Discussions
Click on the table to select it then click on the letter column heading to select the desired column. Now go to the object inspector & select Color Fill from the drop-down menu if it's not already chosen then click on the color box to bring up the color chooser. Select the color you want to fill the column.
Similar Messages
-
Need to change color of one column's value depending on the other column
Hi,
i have a search form which displays two column values
First column value's colour should be based on second column's value
For example, if second column has values 'Active', 'Inactive' and 'Pending'
If 'Active' , the first column value's color sholud be 'red'
If 'inacitve, another color ....
Thanks in advance,Hi!
What we did was we added a column on the VO that returns kind of a css part (for example if a column value is 'Active' the value of this column should be "background-color:rgb(255,0,0);")
Than you use something like this on your column:
inlineStyle="#{row.StatusStyle}"where StatusStyle is the name of the column with "background-color:rgb(255,0,0);" value.
The problem here can be that the background color doesn't cover the whole column but only the text in it (so if it is null, the color is default).
If you want the whole column to be of this color you use something like this:
<af:column ...>
<afh:tableLayout ...>
<afh:rowLayout ...>
<afh:cellFormat inlineStyle="#{row.StatusStyle}" ...>
<af:outputText ...>
</af:outputText>
</afh:cellFormat>
</afh:rowLayout>
</afh:tableLayout>
</af:column>Basically you put another table layout inside a column instead just a outputText (or whatever control you use)
Hope this is understandable and it helps :)
It works for us.
BB -
How to change colors of individual column bar in the same data series
in mac numbers, how to change colors of individual column bar in the same data series. The entire column series gets selected in the column bars and cannot select to change colors of specifc bars.
Hi Kiran,
no its not possible through Theme editor also ,because these colors are coming from Compiler which u are using.
Regards,
Govindu -
how do change color of a column in ALV.
Hi
The below abap program shows how to change the colour of individual ALV cells /fields. Only a small number of changes are required from a basic ALV grid which include adding a new field to ALV data declaration table(it_ekko), populating this field with the field name identifier and colour attributes and finally adding an entry to layout control work area. These changes are highlighted in bold below.
REPORT zdemo_alvgrid .
REPORT ZALV_CELLCOLOR.
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,
CELLCOLOR TYPE LVC_T_SCOL,
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,
gt_events type slis_t_event,
gd_prntparams type slis_print_alv.
*Start-of-selection.
START-OF-SELECTION.
perform data_retrieval.
perform build_fieldcatalog.
perform build_layout.
perform set_cell_colours.
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-do_sum = 'X'.
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).
gd_LAYOUT-coltab_fieldname = 'CELLCOLOR'. "CTAB_FNAME
endform. " BUILD_LAYOUT
*& Form DISPLAY_ALV_REPORT
Display report using ALV grid
form display_alv_report.
gd_repid = sy-repid.
call function 'REUSE_ALV_GRID_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_events
is_print = gd_prntparams
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.
select ebeln ebelp statu aedat matnr menge meins netpr peinh
up to 10 rows
from ekpo
into CORRESPONDING FIELDS OF TABLE it_ekko.
endform. " DATA_RETRIEVAL
Form TOP-OF-PAGE *
ALV Report Header *
Form top-of-page.
*ALV Header declarations
data: t_header type slis_t_listheader,
wa_header type slis_listheader,
t_line like wa_header-info,
ld_lines type i,
ld_linesc(10) type c.
Title
wa_header-typ = 'H'.
wa_header-info = 'EKKO Table Report'.
append wa_header to t_header.
clear wa_header.
Date
wa_header-typ = 'S'.
wa_header-key = 'Date: '.
CONCATENATE sy-datum+6(2) '.'
sy-datum+4(2) '.'
sy-datum(4) INTO wa_header-info. "todays date
append wa_header to t_header.
clear: wa_header.
Total No. of Records Selected
describe table it_ekko lines ld_lines.
ld_linesc = ld_lines.
concatenate 'Total No. of Records Selected: ' ld_linesc
into t_line separated by space.
wa_header-typ = 'A'.
wa_header-info = t_line.
append wa_header to t_header.
clear: wa_header, t_line.
call function 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = t_header.
i_logo = 'Z_LOGO'.
endform. "top-of-page
*& Form SET_CELL_COLOURS
Set colour of individual ALV cell, field
FORM SET_CELL_COLOURS .
DATA: WA_CELLCOLOR TYPE LVC_S_SCOL.
DATA: ld_index TYPE SY-TABIX.
LOOP AT IT_EKKO into wa_ekko.
LD_INDEX = SY-TABIX.
Set colour of EBELN field to various colors based on sy-tabix value
WA_CELLCOLOR-FNAME = 'EBELN'.
WA_CELLCOLOR-COLOR-COL = sy-tabix. "color code 1-7, if outside rage defaults to 7
WA_CELLCOLOR-COLOR-INT = '1'. "1 = Intensified on, 0 = Intensified off
WA_CELLCOLOR-COLOR-INV = '0'. "1 = text colour, 0 = background colour
APPEND WA_CELLCOLOR TO wa_ekko-CELLCOLOR.
MODIFY it_ekko from wa_ekko INDEX ld_index TRANSPORTING CELLCOLOR.
Set colour of NETPR field to color 4 if gt 0
if wa_ekko-netpr gt 0.
WA_CELLCOLOR-FNAME = 'NETPR'.
WA_CELLCOLOR-COLOR-COL = 4. "color code 1-7, if outside rage defaults to 7
WA_CELLCOLOR-COLOR-INT = '0'. "1 = Intensified on, 0 = Intensified off
WA_CELLCOLOR-COLOR-INV = '0'. "1 = text colour, 0 = background colour
APPEND WA_CELLCOLOR TO wa_ekko-CELLCOLOR.
MODIFY it_ekko from wa_ekko INDEX ld_index TRANSPORTING CELLCOLOR.
endif.
Set colour of AEDAT field text to red(6)
WA_CELLCOLOR-FNAME = 'AEDAT'.
WA_CELLCOLOR-COLOR-COL = 6. "color code 1-7, if outside rage defaults to 7
WA_CELLCOLOR-COLOR-INT = '0'. "1 = Intensified on, 0 = Intensified off
WA_CELLCOLOR-COLOR-INV = '1'. "1 = text colour, 0 = background colour
APPEND WA_CELLCOLOR TO wa_ekko-CELLCOLOR.
MODIFY it_ekko from wa_ekko INDEX ld_index TRANSPORTING CELLCOLOR.
ENDLOOP.
ENDFORM. " SET_CELL_COLOURS -
PShop 5.5 - using text tool, can't change color of one word...
Hi All,
I'm using the text tool and want to change the color of one word but when I select that word and click on the Color Picker box then select the color I want, the entire text changes to that color. I can't figure out what I'm doing wrong.
I've got several paragraphs and want all the text except the one word to be black. This page is Layer 2 and has the 'T' next to it in the Layers palette.
Cany ideas?
Thanks,
NancyBless your heart for being patient with XD. I've had a rather frustrating 'technology day' with my husband's laptop (using Vista) and uploading photos but I figured that out. On top of that, my sister had a few changes to make to her website and - unfortunately - most of the pages with loads of text are done with PhotoShop then converted to .jpg's. I know...I know. I'm trying to find the time to change those pages in DreamWeaver to table format instead of layer format...long story.
All that to say - thank you so much and I love your 'dag nabbit'...that's my kind of talk. I'm grateful for your help and it's ended my day on a better note! ;-)
Sounds like you're a teacher? Maybe you'll have advice for me with DreamWeaver.... ?
Thanks again,
Nancy -
Tableview : change alignment of one Column
How can I change the text alignment of one Column (also the rows in this Column) in a TableView? Maybe with css or CellFactory... Have anybody an idea?
ohh sry thats right but how it works i try this but it doesnt work:
TableColumn<StreckenTableData, String> thirdCol = new TableColumn<StreckenTableData, String>();
thirdCol .setCellFactory(new Callback<TableColumn,TableCell> (){
public TableCell call(TableColumn param) {
TableCell cell = new TableCell(){
@Override
public void updateItem(Object item, boolean empty) {
if(item!=null){
setText(item.toString());
cell.setAlignment(Pos.TOP_RIGHT);
return cell;
}); -
PO Screen Layout change, Addition of one column in Item Overview screen!
Hi All,
I have one typical requirement where in user wants to add one column in the Item overview screen, example "Reason for ordering" which is there in Item Detail under Retail Tab!
Can anyone suggest, How can i get this done? and also i want to know if there is any possibility to add this field at header level??
please let me know if i'm not clear in describing the issue...
Suggestion and solutions would be rewarded & appreciated,
Thanks in Advance..
Regards,
Siddaramhi,
Check sap note 458591..
Regards
Priyanka.P -
Adding color to one column of a table
I am trying to make the first column light blue where it says
Eagle Forum Alerts. Here is the site:
http://www.indianaeagleforum.org/index.html
I assume the code is bgcolor=#Cddceb; Where do I put it so that
only this column is light blue? Either the whole table is blue or
the whole table is white. I just want one column blue. Thanks for
your help.
Diana HunterOn Sat, 09 Aug 2008 00:32:14 +0200, Michael Fesser
<[email protected]>
wrote:
>
>Not good.
Yes I know Micha - I've only done it very, very occasionally
sorry :-)
>If you want the text in an entire column to be centered,
you
>should apply classes to these cells instead of making
them table
>headings. Currently that's the only "right" way.
Yes Micha - I sort of knew that - it's just that I have
tables that
contain long schedules of data and just find it tedious
putting that
into about 30 to 150 rows :-)
and Dw can't do it in design view - can it ?
> There's no guarantee
>either that a table heading will always appear centered
by default!
>It's just a recommendation, you shouldn't rely on it.
I haven't found any problems in the main browsers -
IE6&7, FF, Safari
& Opera - not sure about some of the *nix browsers that
aren't based
on FF, WebKit ( as does Safari ).
>For such purposes I always have these classes in my
default CSS:
>.ac {text-align: center}
>.al {text-align: left}
>.ar {text-align: right}
good idea - I'll borrow that - thanks :-)
>If I want an entire table column to be centered, I simply
add a
>class="ac" to each cell there. Since most of my data
tables are created
>by PHP scripts, I can do this quite conveniently and
automatically.
sadly I've not done that with php yet - most of the tables
are
historical data - I'm given in spreadsheet or Word table
form.
>
>Another possible solution (at least in some cases) would
be to play with
>the more advanced CSS selectors like adjacent sibling and
first child.
>For example to address the second cell in each row you
could use
>
>td:first-child+td {...}
>
>Works well in modern browsers, but will fail in IE 6 and
below, though.
Thanks for the reminder - i did read about these in Meyer's
Definitive
Guide, but that was about a year ago -
>
>Personally I can live with that, since IE 6 usage is
constantly
>dropping. For me IE 6 is becoming the next NN 4 - I just
make sure that
>the site's content is available and usable, but I don't
really care too
>much about any graphical glitches or missing CSS effects
anymore.
I'm rapidly coming to the same conclusion. Just checked my
logs and
IE6 is between 13 and 25%.
thanks again for your guidance.
~Malcolm~*...
~* -
Change color of measures - Column Combination Dual Axis
Hi,
I have a couple of graphs of the type Column Combination Dual Axis.
I want to change the colors for these measures but that does not seem to be possible when using this type of chart?
I can only change the color of the Axis?
First, I thought it was something wrong with my chart so I tried to create a new application with this chart type and got the same result.
Does anyone know if it should be like this?
Br
MaxHi Max,
how many measures do you want to use for the Chart type "Column Combination Dual Axis"?
Do you have tried to swap the axis in your chart type setting?
In my case it works as expected and I´m able to change the color of the measures ( = the axis)
I think it´s important to add the measures in the rows at the initial view of the data source (or you can change it by swap the axis in the chart).
Hope it helps!
Best regards,
Michael -
Changing color of lines in line chart
Okay this is a dumb question but how do I change the color of
lines in a line chart?"spacehog" <[email protected]> wrote in
message
news:g81g1a$eq4$[email protected]..
> Okay this is a dumb question but how do I change the
color of lines in a
> line
> chart?
http://www.rphelan.com/2008/05/23/taking-control-of-flex-charting-styles/ -
Can you change color of bars in bar chart?
I have made a chart by using the spreadsheet and converting my data to a bar chart. I would like to change the default colors of the bars in the chart but so far haven't figured out how to do it, if indeed it is possible. Is it? If so, how should I go about it? I have been able to change the labels for the bars, but I want to change the colors of the bars themselves. Also, is it possible to change the arrows in the pictogram graph to some other clipart that might better represent the thing I am graphing?
iMac G5 Mac OS X (10.4.8) AppleWorks 6.2.9"I tried what you suggested, but it didn't work. When I click on the color square in the legend, a small circle appears in the square, but I am unable to select any of the paint tools. ... (Likewise, when I open the Modify dialogue and try to select the color in the sample box there, AppleWorks won't let me change it."
Paint tools won't work, as the bars are Draw objects, and you have only limited control over them while the chart is still connected to the spreadsheet. Click on the colour square in the Legend. The white dot indicates it's selected.
Now click on the Fill formatting button in the bottom section of the Tools (It's the almost invisible plain white button in the stack of three. The other two are the Pen formatting button—which has a black outline—and the Text formatting button—which has a T.). Then choose a colour from the Colors palette in the stack to the right of the three buttons.
"Similarly, when I open the Modify dialogue and try to delete the arrow symbol in the sample box, it won't go anywhere; I just get an alert sound and nothing happens. Am I doing something wrong?"
Should work like this:
Double click the chart.
In the Modify dialogue, click Series.
In the Series dialogue, click the Sample box. A black outline should appear around the box, indicating it is selected.
Press Delete to delete the current image. You should then see only the background colour.
Press command-V to Paste your image.
Uncheck Repeating to get a single copy of the image, stretched to fill the bar.
Check Repeat to get a fixed size image that repeats to fill the bar.
Set the overlap percentage if you want the repeating image to overlap.
Click OK to return to the chart and view the results.
Regards,
Barry -
How to change colors in one picture that they will be similar to colors in other picture
Rather big title but I couldn't find better one.
I have two pictures presenting the same thing, but in different light (e.g. one is made in the morning and one in the evening). So - similar objects have different colors. How can I change the a picture that the colors of objects will be similar to the second one? Something like taking histogram from one picture and using it in the second one. Can it be done in PSE8?Hi,
I haven't done it in PSE 8 but use that frequently in PSE 9 and thought it would be useful to post it here. in PSE 9, you can use the Style Match feature of Guided Edits. I find that quite useful.
Thanks -
Photosmart Premium C309g-m changes color after one copy
I have a Photosmart Premium C309g-m. I have been printing from it since I got my iMac12,2. When I try to print more than one copy of a particular item, the color changes an the 2nd one. I can only print one at a time accurately. I can't even set the next one up while the first is printing, I have to wait until the printer stops and then I can print the next one. Hope someone can help!
Try COPYING a page with purple color on it. If it prints the color, then the printer is fine, and there may be a color management issue in your PC. If it doesn't print purple when copying too, then the printhead has a problem. You should call HP Tech Support and ask for a printhead replacement.
Make it easier for other people to find solutions, by marking my answer with \'Accept as Solution\' if it solves your problem.
Click on the BLUE KUDOS button on the left to say "Thanks"
I am an ex-HP Employee. -
Dynamic change color of series in line chart
Hi
I would like to be able to dynamically change the color of the individual series in a line chart, based on user preference. It works excellent having dynamic labels on the series using the &item. syntax and a before header computation.
The same approach for the color does not seem to work. I get errors like undefined entity....
Any ideas?
Best regards JesperVery surprisingly the following code (also generated by the macro recording) works ok.
(I selected the serie inside the chart instead of selecting the serie in the legend)
ActiveChart.FullSeriesCollection(1).Select
With Selection.Format.Fill
.Visible = msoTrue
.ForeColor.ObjectThemeColor = msoThemeColorAccent3
.ForeColor.TintAndShade = 0
.ForeColor.Brightness = -0.25
.Transparency = 0.3000000119
.Solid
End With
If an MVP or Microsoft official come accross this, I suggest further testing as it is very likely a bug (with the first set of code generated by Excel) -
Style to change color of single column in list
Hi,
I need to get below functionality in results list. need to break part of sentence to another line with different color.
How to achieve this.
Thanks & Regards,
SivaHi
check this solution
https://social.msdn.microsoft.com/Forums/sharepoint/en-US/1f2f74b6-9260-4dc4-a093-a36947e1eb29/is-it-possible-to-add-colored-text-to-a-list-column-description?forum=sharepointgenerallegacy
Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.
Maybe you are looking for
-
Problem with iPod output preset
I am trying to output a video for my client's iPod. This is the first time that I've been requested to do this. I have tried using both the large video and small video H.264 iPod presets. Each time, the resulting video is jittery. I had no troubl
-
wondering, does FACES not get back up'd. After I imported the iphoto library off of the dvd, it looks like faces didn't save?
-
I am not receiving notifications from my BlackBoard app even though it is turned on in the Notification Center. It was working fine until a week ago.
-
Hi, I'm trying to use flexible employee data report and in the output, the report is showing the text of the fields, like Employee subgroup text instead of the codes we've given. Is there any way of having the report generate the codes instead of the
-
Moving e-filing/Business Connetor
Hello experts - a little help please: - We're planning on moving our e-filing/business connector machine to a different LAN. Its easy enough to change the IP on the server, but can anybody point out if there are changes within the application and al