Chart label font color
Is it possible to change the color of fonts in chart labels
(not axis labels)? The default black does not stand out well
against some colors.
Are you referring to data tips?
css style declartion can be used to change the text
color.
Similar Messages
-
My Excel with PowerPivots acts weird, it hangs when i try to change font color
Hi
I am facing a weird issue using PowerPivot in my workbook, there is a worksheet named Charts in my workbook and all the charts i am using resides in that worksheet. Whenever i try to change the font color in that sheet, my excel's color palette goes blur
and then everything just freezes and turns black. This problem is happening only with Charts worksheet, when i try to change the color in other sheets, it works just, the problem is only with Charts sheet. File
size is 16 MB, there are just 10 pivot tables with some calculations and some calculated fields. There are no add-ins other than PowerPivot.
Thanks,
ShankerHi,
In regarding of the issue, please provide us more information to assist you better.
Do you receive any error message?
Which Excel version are you using? Excel 2013 or other?
Which workbook format are you using? XLS or XLSX?
Are you performing any specific task?
According to your description, this issue seems only occur with the special worksheet "Charts".
Firstly, I recommend we copy all of the content to a new/blank Excel file to test.
If it works fine, this issue might be caused by the "Charts" workbook itself. We'd better check the "Charts" workbook. Or re-build the file with a new workbook.
If it still makes Excel hang with a new file, this issue might due to the content. Please check the content first.
Secondly, we could follow below KB to troubleshoot this issue:
https://support2.microsoft.com/kb/2758592/en-us?wa=wsignin1.0
Thirdly, if the issue still exists, we may try to collect the Event log and App crash dump file to do advanced troubleshooting.
Event log:
http://windows.microsoft.com/en-US/windows7/Open-Event-Viewer
App crash dump file:
First enable app crash dump collection by copying following words into notepad, saving it as dump.reg and importing
it:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\localdumps\EXCEL.EXE]
"DumpFolder"=hex(2):63,00,3a,00,5c,00,63,00,72,00,61,00,73,00,68,00,64,00,75,\
00,6d,00,70,00,73,00,00,00
"DumpCount"=dword:00000010
"DumpType"=dword:00000001
"CustomDumpFlags"=dword:00000000
Then, open Excel
to repro the issue. If crash issue appeared, please find the crashdump file under c:\.
To further help you, please upload this file into Skydrive and shared the link here.
Also, you can try to analyze dump by yourself if you would like to:
How to analyze app crash dump file:
http://blogs.technet.com/b/askperf/archive/2007/05/29/basic-debugging-of-an-application-crash.aspx
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. -
How to change the font color of a particular row in af:table
I have a <af:table> bounded to a readonly ViewObject and this view object is a collection of an sql query. Now when this table is rendered i want font color of the specific attributes to be changed based on certain logic.
Eg. If my af:table is showing a resultset which has Attributest like ... EmployeeName | BalanceLeave . Then i want that the BalanceLeave value shoud be displayed in RED color if leave balance attribute value is more than 20.
Please help me on this.For this you use the styleClass property of the attribute and use an EL bound to a managed bean to return the desired style.
Something like this to switch the color public class ColorSwitchBean {
public ColorSwitchBean() {
super();
String mStyleClass = null;
String mColorSyle = null;
public String getStyleClass() {
FacesContext fc = FacesContext.getCurrentInstance();
ELContext elc = fc.getELContext();
ExpressionFactory elf = fc.getApplication().getExpressionFactory();
String sval =
(String)elf.createValueExpression(elc, "#{row.City}", Object.class).getValue(elc);
if (sval.startsWith("S"))
mStyleClass = "red_background";
else if (sval.startsWith("M"))
mStyleClass = "green_background";
else
mStyleClass="";
return mStyleClass;
public void setStyleClass(String aStyleClass) {
mStyleClass = aStyleClass;
public void setColorSyle(String mColorSyle) {
this.mColorSyle = mColorSyle;
public String getColorSyle() {
FacesContext fc = FacesContext.getCurrentInstance();
ELContext elc = fc.getELContext();
ExpressionFactory elf = fc.getApplication().getExpressionFactory();
String sval =
(String)elf.createValueExpression(elc, "#{row.City}", Object.class).getValue(elc);
mColorSyle = "";
if (sval.startsWith("S")) {
mColorSyle = "background-color:Red";
else if (sval.startsWith("M")) {
mColorSyle = "background-color:Green";
return mColorSyle;
}and this inside the table:- <af:column sortProperty="City" sortable="true" headerText="#{bindings.Departments.hints.City.label}" id="c1" styleClass="#{ColorSwitchBean.styleClass}">
<af:outputText value="#{row.City}" id="ot2" /> Timo -
How to change the font color in a strict type def programatically
Could someone suggest a way to change the font color of a string indicator in a strict type def cluster programmatically? The cluster contains a label that is color-coded to match the function of the data channel represented by that cluster. The function of each channel is not predetermined, so the font color needs to be changed programmatically. To represent all channels, I have arranged a large cluster that contains 100 instances of the control. This makes it essential that the control be strictly type defined in order to change the layout of the clusters uniformly.
Can anyone suggest either a method by which I can let the control remain a strict type def and change the font color, or a method by which I can programmatically change the control from a strict type def to a type def? Currently, I am saving the control as a strict type def every time I make a change and then saving it again as a type def when I am ready to run the program. This works fine, but just seems inelegant. This color-coding is used throughout the program in various indicators, so a neat solution would be greatly appreciated.As mentioned in my Nugget on Type definitions you can create strict type-defs that contain type-defs.
If you make your data definition a type and put that definition in a strict type-def (one of each flavor) you can use the appropraite strict type where each is required.
Yes the data structure will have another level of nesting so if you are "too far gone" you may not like this idea.
Otherwise you can write a VI that opens the typed-def and do a "save as..." and use it everytime you edit the type-def.
I hope something helps!
Ben
Message Edited by Ben on 10-06-2008 10:26 AM
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction
Attachments:
Strict_of_Typedefs.PNG 30 KB -
Font color problem upgrading from 1.3.1 to 1.4.2_02
I have noticed when we upgraded from 1.3.1 to 1.4.2_02 that JLabel font color is now black - it used to be blue. Does anyone know how to make the font color of JLabels revert back to the original blue without specifically calling setForeground() on each label?
Sun has changed in the class MetalTheme the method
JDK 1.3.1: public ColorUIResource getSystemTextColor() { return getPrimary1(); } into
JDK 1.4.2: public ColorUIResource getSystemTextColor() { return getBlack(); }
Just insert the following lines at the beginning of your main-method:
MetalLookAndFeel.setCurrentTheme( new DefaultMetalTheme()
{ public ColorUIResource getSystemTextColor() { return getPrimary1(); }
try{ UIManager.setLookAndFeel( "Metal" ); }
catch( Exception e ){ e.printStackTrace(); }
Now you have the old colors -
Setting Font/Color for ProgressMonitor
Hi All,
I am using ProgressMonitor something like this.
pbar.setNote("Loading:"+f[index].getName()+ " " +"with Operation of " + counter + "% complete");Where pbar is an instance of ProgressMonitor.Now we can see that setNote method inside ProgressMonitor String as an argument.I want to set the font and foreground color for the text inside.Any idea how to do that??
Any help appreciated.
Thanks in advance.
regards,
Viswanadh
Edited by: TechnicalGuy7 on Apr 24, 2009 3:42 AMIf the progress bar had a method to set a label, instead of just set text, then you could set that label with any font and colors that you wanted...
If you really needed to set the font color, you would need to call setUI on the progress bar, and provide you own ProgressBarUI class.
You could start with one of the UI classes provided, like BasicProgressBarUI and extend it and modify it as you wish.
But this is really advanced... -
Programmatically change tab page label font size
Hellow Fellow LabVIEW Lovers,
I thought this subject was easy with LV2009, somehow I cannot find the property for the "tab page label font size", yes, i also looked with the "pages" ref array from the tab ref, also no luck. Could someone point me to the right place? I would really appreciate your help. Thanks.
BryanOdd,
The each tab is a page Class Generic>Page.
This snippet shows that there are no objects on the page (like the lable)
However ,Page Propertise do not include lable.font.all elements
Page Properties
Dim hasPlayer, playerversion
hasPlayer = false
playerversion = 10
Do While playerversion > 0
On Error Resume Next
hasPlayer = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & playerversion)))
If hasPlayer = true Then Exit Do
playerversion = playerversion - 1
Loop
is_FlashVersion = playerversion
is_Flash = hasPlayer
Requires: Base Package
Inherits from Generic. View the class hierarchy.
Property
Description
Colors
Gets or sets the foreground and background colors of a tab
control page. Details
Colors:BG Color
Gets or sets the background color of the tab control page. Details
Colors:FG Color
Gets or sets the foreground color of the tab control page. Details
Controls on Page[]
Returns an array of references to the controls and indicators
on a page. The order in which you place the objects on the page determines the
index of the object in the array. For example, if the first object you place on
the page is a numeric control, the index of the numeric control in the array
returned by this property is 0. Details
Decorations on Page[]
Gets an array of references to all decorations on a tab
control page. Details
Description
Gets or sets the description of a tab control page. Details
Independent Label
Makes the tab control page caption independent of the page
label. Details
Objects on Page[]
Gets an array of references to all controls, indicators, and
decorations on a page. Details
Page Enabled State
Gets or sets the state of a tab control page to enabled,
disabled, or disabled and grayed. Details
Page Label
Gets the label of a tab control page. Details
Page Visible
Shows or hides individual pages of a tab control. Details
Tab Caption
Gets or sets the text of a caption on a tab control page. Details
Tip Strip
Gets or sets the tip strip of a tab control page. Details
Moreover, I can select a tab lable on the FP, change its font and EACH tab lable changes to the SAME font and color.
Must be some serious MAGIC in the background similar to how NI made Latching Bools.
Champions?
Jeff -
Tab control page label change color programmatically
Hi everybody!
I have a question about a tab control.
I'm trying to figure out a way to programmatically change the properties of the tab labels so the selected tab's label looks different to the others.
I'd like to do this by changing aspects of it's font and it's color. But I can't find out how to access it either directly or by reference.
I can get at the label string so if all else fails I could make the selected one all capitals!
Am I missing something, or is this one of those things which can't be done?
I'm using Labview 11.
Regards,
Jonathan.The link still works for me!
Search the forum for "Tab Color".
This does not change the text, but the tab color which is what I do to high light the selected tab.
I use dark gray and light gray to help the user tell which tab is "active".
Not exactly what you wanted.
http://forums.ni.com/t5/LabVIEW/How-can-I-change-the-font-color-size-of-tab-controls/m-p/967920/high...
http://forums.ni.com/t5/LabVIEW/Programmatically-changing-page-color-in-a-tab-control/m-p/840699/hig...
http://forums.ni.com/t5/LabVIEW/tab-control-color/m-p/3062557/highlight/true#M873360
Omar -
Can You Edit/Resize/Move Chart Labels in Pages '08?
I cannot get a seemingly basic page layout technique to work: editing pie chart labels. There appears to be no way to add a soft line break, adjust the text box, move the data label. You can't add a two-line title, either.
I am hoping that there's something I've overlooked. I handle communications for a 40-person nonprofit. I was so excited about the new iWork suite and the potential for replacing Office. I really liked the functionality of Pages and was on the point of recommending it. Then I worked on one of our reports. And got stumped by the charts. The pie charts look sharp. The color palette is better. But I can only seem to edit data labels in the inspector. Pages Help didn't help. It says I can select a label location (see below), but no pop-up exists or at least none that offers Middle or Below Right.
Can anyone help me solve this riddle? Working with charts doesn't seem like an advanced feature. I must have overlooked something, right?
from Pages Help
For pie charts, you display values as percentages by choosing Show Pie Values as Percentages from the Data Point Settings pop-up menu on the Series pane. To display the data series name for a wedge, choose Show Series Name from the Data Point Settings pop-up menu.
Select a label location from the Data Point Settings pop-up menu (for example, Middle or Below Right).Hi Justin,
You should be able to manually move the X-Axis labels in the Preview Mode.
Go to the Chart Expert > Options tab > Uncheck the 'Auto-arrange' option.
-Abhilash -
I just downloaded the fix pack and have noticed that I am still unable to change the tab set tab font color. Am I doing anything wrong?'
Thanks,
DDI believe what Purnima was speaking of was the Tab Background color properties.
However, I believe there is an issue with the Label Over Color and Label Selected Color mapping properties of the Tab Set.
Thanks. -
6750 Mural Selection Key Font Color
The color of the selection/soft key labels is dark blue which is sometimes difficult to view if your wallpaper is dark in that area. When I change the Home screen font color, I'd expect the color of these labels to change though all that changes color is the date and profile name. I'm guessing this is because the labels exist in more places than the home screen though I'd think the color could still be changed. Am I missing a setting?
Thanks!I have done that it the Properites panel but when I click
CTRL and Enter and complete the email form myself, I can see there
is a difference in fonts in one of the fields - although the
Properties panel tell me otherwise.
I just though AS would force the issue.
Steve -
On a label, can you set the forground or font color?
And that would be white.
It should be:
numberLabel.setForeground(Color.white);/Kaj -
Change the font color of a text field in a table by key-combination
I want to change the font color of a text field in a table (single cell only) on pressing a key combination. Does anybody know how to do this.
I have a lot of data in a table. During an evaluation of the data in a meeting I want to change the color of the text depending on the result of the meeting. (for example: High risk = CTRL+R makes the text red).
I know how to change the color using a button, but I do not want to add a button after each cell. For this reason I would like to do it on a key combination that alway refers to the active cell.
Many thanks for your help in advance.
MarcelHi,
I don't think you can use the ctrl key like that as those shortcuts will be intercepted by Reader (ctrl-R toggles the ruler display on / off). You also might have trouble updating the color while you still have focus on it. You can use the shift key in a similar way, so if you only have lower case characters in the text fields then you can do something like;
if (xfa.event.shift)
switch (xfa.event.change)
case "R":
this.fontColor = "255,0,0";
break;
case "O":
this.fontColor = "255,102,0";
break;
case "G":
this.fontColor = "0,255,0";
break;
xfa.event.change = ""; // ignore character
If you need uppercase characters maybe you can have one button to set "review mode" and test that on the if (xfa.event.shift) line. But again it wont take effect until you have tabbed out of the field.
Regards
Bruce -
Copying from Oracle SQL Developer Worksheet doesn't retain formatting (font,color etc...)in Microsoft Word but copying from other programs such as
visual studio, chrome browser etc works fine. This doesn't work even after changed the setting to Keep Source formatting of Options-> Copy and Paste SettingsHi,
I notice that you have cross posted in Answers forum and Oracle forum. Have you tried Mr. Peter's suggestion?
Then, I recommend we check the Word settings:
1. Go to: Options > Advanced > Cut, Copy and Paste
2. Make sure that Use smart cut and paste is ticked.
3. Click the Settings button next to this option
4. Make sure that Smart Style
Behavior is checked.
If the issue still exists, please upload a sample through One Drive, I want to test.
Regards,
George Zhao
TechNet Community Support -
Unable to change font color in inserted textbox
Hi All,
Thanks for help. I have an aplication which brings up an image for editing in flash. Here is what happens.
I click on A tool and insert 2 text boxes on the image and type something. Then I click on the Arrow tool and double click on text in Text box 1 to select it. Then try to change the font color from the font menu icon. It does not work. But after selecting the text in text box 1 and trying to change the font size from the menu seems to work fine. Can any one plz help??This seems to be a question for Flash Authorying. Can you post this in the forum of Flash CS?
Here's the link http://forums.adobe.com/community/flash
Maybe you are looking for
-
Hi all I have developed an application using jheadstart 10.1.3.1 and jdeveloper 10.1.3 and I want to deploy it in oc4j 10.1.3.3. I have installed Adf Runtime libiraties in oc4j home. during deploying my Application I get the following error: Operatio
-
Dualboot windows 8.1 with windows 7(recovery product disk)
Hi, I am currently running windows 8.1 with pre-installed windows 8.I want to dualboot windows 8.1(current windows system) with windows 7 home premium.I have made a hard drive partion and now i have "2" hard disks 500 gb both of "2".I have a product
-
8310 problems when connecting to computer
Hi all, I recently bought a blackberry 8310 and love it except that when I connect it to the computer if it gets disconnected it crashes the computer and this is problematic since i can't update the software or anything and can't just take it and go.
-
Hi. I've a problem with ADF faces that I didn't had when I was using the JSF reference implementation. W're using Jboss as a container, but that has nothing to do with this. Basicly, the users triggers a logoff by clicking a link that leads to the "l
-
Hi, I have just purchased a Macbook pro and cannot get the sent items to display on my ipad or iphone. Likewise sent items on ipad and iphone do not appear on my Mac. Any ideas please??