Graph Name and Legend color settings

Hello, I have three questions... (WPF C#)
Is there a way to give this Graph a name w/out creating a separate label?
How can I change the Legend Foreground color to White?  I mean, I changed Foreground to White but it's still black as you can see.
How can I cnange the Axis color to White?
Thank you!
Solved!
Go to Solution.

Thank you.  I got #1 and #3 but can't make #2 work.
This is my XAML code (I generate Plots programatically in C#).
Could you please help?
<DockPanel x:Name="Vco1Graph" Visibility="Visible">
<Grid DockPanel.Dock="Top">
<ni:GraphInteractionPalette Graph="{Binding ElementName=GraphVCO1}" Margin="50,0,0,0"/>
<Label Content="VCO__1" HorizontalAlignment="Center" Style="{DynamicResource EvolvDiagsLabel}"/>
</Grid>
<ni:Legend ItemsSource="{Binding AllPlots, ElementName=GraphVCO1}" DockPanel.Dock="Right" Width="90" IsTabStop="False"
ItemBackground="{DynamicResource ColorSolidReadOnlyBackground}"
BorderBrush="{Binding BorderBrush, ElementName=GraphVCO1}"
Background="{DynamicResource ColorSolidReadOnlyBackground}"
Foreground="{DynamicResource ColorSolidNormalForeground}"/>
<ni:Graph x:Name="GraphVCO1" DockPanel.Dock="Top" HorizontalAlignment="Left" Width="877"
PlotAreaBackground="{DynamicResource ColorSolidReadOnlyBackground}"
PlotAreaBorderBrush="{DynamicResource ColorSolidReadOnlyBackground}">
<ni:Graph.Plots>
<ni:Plot/>
</ni:Graph.Plots>
<ni:Graph.Axes>
<ni:AxisDouble Orientation="Vertical" BaselineStroke="{DynamicResource ColorSolidNormalForeground}">
<ni:AxisDouble.LabelTemplate>
<DataTemplate>
<Label Content="dB" Foreground="{DynamicResource ColorSolidNormalForeground}"/>
</DataTemplate>
</ni:AxisDouble.LabelTemplate>
<ni:AxisDouble.MajorGridLines>
<ni:GridLines Stroke="{DynamicResource ColorSolidNormalForeground}" StrokeThickness="0.3"/>
</ni:AxisDouble.MajorGridLines>
</ni:AxisDouble>
<ni:AxisDouble Orientation="Horizontal" Adjuster="FitExactly" BaselineStroke="{DynamicResource ColorSolidNormalForeground}">
<ni:AxisDouble.LabelTemplate>
<DataTemplate>
<Label Content="GHz" Foreground="{DynamicResource ColorSolidNormalForeground}"/>
</DataTemplate>
</ni:AxisDouble.LabelTemplate>
<ni:AxisDouble.MajorGridLines>
<ni:GridLines Stroke="{DynamicResource ColorSolidNormalForeground}" StrokeThickness="0.3"/>
</ni:AxisDouble.MajorGridLines>
</ni:AxisDouble>
</ni:Graph.Axes>
</ni:Graph>
</DockPanel>

Similar Messages

  • SIU - Apply Computer Name and Local Hostname settings from a file

    I am setting up a workflow to image corporate computers and wanting to know how the "Apply Computer Name and Local Hostname settings from a file" works in the Apply System Configuration Settings task.
    We bind the computer to AD and OD and we have a specific naming convention for certain departments and trying to automate the entire imaging process.
    Would this be something that can be done with SIU?

    Well, maybe there's a bug in the latest version (10.5.3) of SIU as this is not what is happening.
    It doesn't seem to matter what I specify for the name parameters I end up with a Bonjour name of ".local".
    I put in a line of the form <Mac Address><TAB>tom<TAB>dick<TAB>harry into the text file used by the Apply System Configuration Settings Action.
    and end up with hostname = tom, Computer Name = dick and Bonjour Name = .local
    I'm building the NetInstall image on a new iMac running 10.5.3 booted out of a second partition and create the image from the main boot partition (also 10.5.3). I then copy the image to my server (10.5.3) and make a second iMac boot up from the NetInstall image.
    For what it is worth the Workflow Actions I am using are:
    Define Image Source
    + NetInstall
    Source: Macintosh HD
    Filter Clients by MAC Address
    + Allow
    <List of MAC Addresses>
    Enable Automated Installation
    + On Volume Named: Macintosh HD
    + Erase before installing
    + Primary Language: English
    Apply System Configuration Settings
    + Apply Computer Name and Local Hostname settings from a file: <FILE>
    Add Packages and Post-Install Scripts
    + Shell Script [Doesn't work - we're discussing in it in another thread]
    Create Image
    In: Public
    Named: NetInstall Classroom
    Volume Name: Classroom iMacs
    Index: 1

  • CS6 and ACR Color Settings

    Ok ... I have researched the internet entirely three times over and I can't figure this out. I'll give you as much information as I can think of right from the start. I know it has to do with color management, but I don't know what I'm doing wrong.
    Shoot photos with Canon 6d in sRGB color space
    Open .CR2 with Adobe ACR v8.8.0.397
    Color space in ACR is sRGB IEC6 1966-2.1, 8 bit
    Click on "Open Image", which opens Adobe CS6
    Proof Colors are set to unchecked (off).
    Color settings in CS6 are:
    Here's the comparison of ACR and CS6:
    What am I doing wrong? If my color settings are the same between ACR and CS6 (as shown above), shouldn't' the images be the same in both ACR and photoshop?
    Let the bashing begin ...

    They should indeed. This is a broken monitor profile, affecting the two differently.
    Recalibrate, and make sure your calibrator produces v2, matrix-based profiles (if you don't have those options it does). V4 and LUT profiles can be problematic in some cases. If you don't have a calibrator, use sRGB IEC61966-2.1 for now. Relaunch Photoshop when done:
    BTW, the camera setting for color space is moot. That applies to in-camera processed jpegs, not raw files.

  • MOnitor profile and Photoshop Color settings

    I have performed the color calibration on my iMAC monitor with Eye One and the profile was loaded into the preferences of the system. The system ofcourse loads it on start up.
    Do I have to enter this color profile in any of the Photoship CS4 preferences set ups, like color settings, or will Photoshop automatically assume the monitor profile at startup?
    I mean: after calibrating the monitor, do I have to do further adjustments to PS CS4 color settings?
    Cheers.

    No.

  • Can one set up Lightroom to allow use of manufacturer's printer profiles and Advanced Color Settings

    I like the effects that I can apply to my B&W images using Advanced Color Settings, but understand that I get best print quality using the manufacturer's paper profiles. However, I get locked out of Advanced Color Settings unless I choose "Managed by Printer". Can I do both - select a specific paper profile and use Advanced Color Settings? Thanks

    I don't know what printer you are using. But if you want to use all of the controls in the Lightroom print module you need to let Lightroom manage the color. For my printer, this requires making that choice in Lightroom and then disabling color management in the printer driver. Then, using Lightroom, I am able to use all of those settings and choose the appropriate profile provided by the paper manufacturer.
    With my printer, if I choose to let the printer manage the color, I can make all of those choices in the printer driver. But you cannot split your management between Lightroom and your printer.  You have to go one way or the other.

  • How can I delete my old facebook account under a different name and password from settings?

    my old facebaook was hacked. I created a new account. I cannot post pictures from my iPad 4 to new facebook because I am using a new facebook account with a new password. the system is still storing my old facebook username.

    Assuming you are using the FaceBook app: Settings App > FaceBook > [your name] > Delete Account. Then sign in with your new account.

  • 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 PM

    Here 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);
    }

  • Work space and color settings indicator

    A helpful feature would be some way to activate a persistent menu bar icon that indicates which work space and/or color settings a user currently has CS synchronized too. I work on both print and web projects and it would be helpful to glance at the menu bar to see what work space I am synchronized too so I know if I need to change it, rather than having to go into Bridge > Creative Suite Color Settings to see, or a particular app's color settings/mode.
    thanx,
    Kurt

    tutu22 wrote:
    Apologies
    I am not yet as I was hoping to open up the workspace before I did that
    I will do as soon as I open up the workspace
    If you tell me differently...
    I will do so now
    Nope, it must be done the other way around... your device enabled on the BES before the split workspace and personal space can be used... When it is, in your Settings (swiping down from the top bezel), you will see the choices.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Unable to deploy a Windows 8.1 image using WDS name and approve!

    Hello,
    Hopefully some of you residing Windows 8.1/2012R2 WDS experts are able to answer this question that has been tormenting me for 3 weeks now!
    I have been trying to deploy a custom Windows 8.1 image to a test VM using an answer file and WDS for a mostly unattended process (outside of selecting the image to apply).
    The image and installation process actually works flawlessly if I let WDS handle all known and unknown clients.  The problem comes when I try to "name and approve" the stations.  All I do is enter the name and leave everything else blank
    and/or at their default settings but it always fails no matter the tweaks I've been trying to apply to the answer file, UnsecureJoin true or false with the credentials and whatnot does not matter.  For the sake of simplicity, I'll post the "specialize"
    portion of my answer file which worked using UnsecureJoin without name and approve here:
    <settings pass="specialize">
    <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Identification>
    <UnsecureJoin>true</UnsecureJoin>
    </Identification>
    </component>
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <ComputerName>%MACHINENAME%</ComputerName>
    <RegisteredOrganization>Organization</RegisteredOrganization>
    <RegisteredOwner>Utilisateur</RegisteredOwner>
    </component>
    <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <InputLocale>1009:00001009</InputLocale>
    <SystemLocale>en-US</SystemLocale>
    <UILanguage>fr-FR</UILanguage>
    <UserLocale>en-US</UserLocale>
    </component>
    </settings>
    The error I retrieved from C:\Windows\panther\setuperr.log is: "[DJOIN.EXE] Unattended Join: At least one of JoinWorkgroup/JoinDomain must be specified: 0x57".  Thus, I retry with name and approve but by specifying the JoinDomain with the
    %MACHINEDOMAIN% value as such:
    <Identification>
    <UnsecureJoin>true</UnsecureJoin>
    <JoinDomain>%MACHINEDOMAIN%</JoinDomain>
    </Identification>
    This seems weird since WDS should already have this information which is specified in the WDS server properties.  Still, I add the requested information and try again which then gives me the following error fetched from C:\Windows\debug\NetSetup.log:
    "NetpGetDomainData: Failed to find the domain data: 0x6e"
    Anybody else ran into this and know the fix for it?
    Also, as an additional note, not sure if it is relevant, but doing only "Approve" will not work at all either as it gives me the following error when I attempt to do so: "The name provided is not a properly formed account name." despite
    the fact that I've formatted it to use "CVL%MAC" which should pass by fine.

    Hi,
    Firstly, I need to confirm how the name setting got passed? Because according to my test, if the device named uncorrectly, it would prompt the error and couldn't go to next step:
    As far as I know, the naming standard is different between Device Identity and ADDS server naming policy, the second naming policy should be like: %61username%#
    Therefore, please check your PC device name if there is any problem with it. You can also refer to the contents of the link below for more details about Naming Standard:
    http://programming4.us/desktop/21662.aspx
    Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    For another problem, Unsecure join, according to the contents of the link below. since Vista, shared computer password is a dynamically generated, no need to assign the password manually.
    http://technet.microsoft.com/en-us/library/cc730845(v=ws.10).aspx
    Roger Lu
    TechNet Community Support

  • Photoshop in Adobe RGB 16 bit don't fill a layer with paint bucket and a color 35.40.35.100.

    I create a new file in RGB profile Adobe RGB 16bit
    take the paint bucket and fill the layer with a color created by selector with the following parameters 35.40.35.100 CMYK and RGB corresponds to 24.20.18 the result is a full level of color 76.73.63.9 but in RGB corresponds to 24.20.18 because the values in cmyk not match ??

    Could you please post screenshots (with the pertinent Panels visible) to illustrate the issue?
    Are you not aware that you cannot reliably define a CMYK color in RGB because the transformation is performed through the Profile Connection Space (Lab) and depends on the involved Color Spaces/ICC profiles (edited) and the Color Settings?

  • Names and Passwords not saving

    I have dowloaded an App but even though i have selected yes to Names and Passwords under settings/safari/Passwords & AutoFill the name and password under the app is not being saved.  Other people are not having this same issue

    Resolved - it is the priace button that needs to be selected which appears when you select the tabs on the right bottom side of th screen

  • Setting the Color Settings (Illustrator - Javascript)

    I would like to set the right color settings file using a startupscript in Javascript.
    If the name of the color settings file to be set is "myColorsettings", I assumed this line should do the job:
    app.loadColorSettings ('myColorSettings')
    But it returns an error. What's wrong?
    The manuals tells me:
    app.loadColorSettings (filespec)
    Thanks,
    Peter

    Peter, I would expect that 'filespec' needs to be a 'file object' created with a string to the full location & name of file… Some thing like…
    var filespec = new File('/Library/Application Support/Adobe/Color/Settings/Recommended/Europe Prepress.csf');
    alert(filespec.exists);
    Sorry I don't have a version that supports this for me to test. Check for the existance of the target file then load… Oh my example was on my mac your OS may differ…?

  • CS5 Color Settings Unsynchronised. How do I get them in synch?

    My CS5 Photoshop window for Color Settings states: Unsynchronised. Your Creative Suite applications are not synchronised for consistent color.
    Question: How do I get then synched?
    Chrissto@

    Don't bother, just dismiss that dialog. All "synchronizing" means is that the same preset is applied to each application's color settings. You can do that manually.
    But there's no particular reason to have identical color settings in all applications. Requirements will likely be different and my color settings are deliberately unsynchronized (I wouldn't dream of using ProPhoto RGB in Illustrator or InDesign, just as I'd never have CMYK policies set to "preserve numbers" in Photoshop).

  • Mixed Signal Graph Legend Plot Name and Graph Area Y Scale Name hidden

    I have a customized mixed signal plot grpah and it when the plot names are written to it, it autosizes things and they are in chaos with overlapping text.  Is there a way to fix this?  I am also expereincing several labview crashes...
    Attachments:
    Mixed Signal Graph Problem with Legend and Y Scale Fit.vi ‏9 KB

    Hi id,
    i am having the same problem, 
    if you were able to fix it, can you please share your fixing method.
    appreciate it
    Thanks

  • Pie Chart Legend - colors and sorting value

    <p>Hi,</p><p>I have a pie chart with around 20 &#39;segments&#39; representing names of people - so it looks like several of them have the same color.</p><p>So my first question is do the standard 12 colors repeat after 12 segments have been &#39;defined&#39; - can this be extended with custom colors?.  I know you can set colors for specific values but as the list is dynamic, I can&#39;t do that. </p><p>I also have a legend defined which shows the person&#39;s name and then the value - either a percentage or a count etc.    From top to bottom, the legend lists the entries alphabetically by the person&#39;s name - however, it&#39;s not always easy to tell which name is associated with which &#39;segment&#39; and using labels is not an option as they are too long and there are too many of them to be readable<br /></p><p>So what I would like to do is have the legend displayed in numerical size order - e.g. person with largest % is at the top, smallest % is at the bottom etc.</p><p>I&#39;ve been looking at the Chart Expert, CR Help and the forums but have not seen an answer to either question - I&#39;m hoping someone can tell me if it&#39;s possible or not (and if so, how do I do it!).</p><p>Thanks <br /></p>

    Hi,
    If you go to the Chart Expert, on the data tab, you can choose the Top N option. From within there you can get your legend sorted based on the highest or lowest percentage. You can also group information so that you only see the top 5 or lowest 10 or whatever you want.
    Also when I create a pie graph based on 20 plus pieces of data it isn't resusing the colors, but they are somewhat similar. I usually do a group of the top 10 or so, then have an others category for situations like this.Â
    Rody

Maybe you are looking for

  • Error while integrating  the application server in jdeveloper?

    i am using standalone server connection and given the settings .... test process is good..all the test connections are successful... but while navigating to SOA folder. i couldn't find deployed files in soa folder. i found following error javax.namin

  • File Location in UTL_FILE

    Hi, I'm using UTL_FILE and I've asked my DBA to configure a location on the network as UTL_FILE's default file location, say, "c:\utl" on oraserver. Now, how do I pass this to UTL_FILE.FOPEN ? Do I say : X := UTL_FILE.FOPEN( 'C:\UTL', 'TEST', 'w' );

  • Satellite P200-17C - Upgrade from Vista to Windows 7

    Am looking to upgrade from Vista to Windows 7, anybody done this? And was thier any problems with drivers etc? Thanks

  • Slow xfers of package files with AFP?

    We have an app that creates a package file which contains many files that are all smaller than 2GB. For some reason upload performance is extremely slow when doing a finder copy of one of these package files to an AFP sharepoint. If I pull these file

  • Can my ZenXtra do th

    two questions: ) when I record a signal from the mic input of my computer via the creative media source player, I can only record 7-60 seconds worth of audio. Is this somehow related to the standard audio recorder that is supplied with Windows XP? Ca