Setting chart colors in palette.cxml
I've modified the chart colors in two palette.xml files:
/OracleBI/web/app/res/s_PeerApp/chartsupport
/home/padmin/OracleBI/oc4j_bi/j2ee/home/applications/analytics/analytics/res/s_PeerApp/chartsupport
Not working well at all – for both new and old charts, for any type (bars, line, pie) – sometimes display the new colors and sometimes the old ones. When I see the new colors and refresh the page, it sometimes return to defaults.
Any ideas?
In keynote you have a slide with a chart in it. I will use a bar chart for this example. Now that you have the slide with the chart you want to edit the colors of open, click on the "Colors" button at the top right of the Keynote window. Click on the wheel Until the box above the wheel displays the color you desire. Once you have that color chosen, click in that color box and drag it to the bar you want to have that color in your chart. Tada! You have now changed the color. I am on my iPhone or would have done some screen shots for you.
Enjoy!
Similar Messages
-
Chart color palette , where can I change it?
Hi
I would like to change the colors on the charts, in other tools there are usually color palette for this kind of issues. Where can I find OBIEEs chart color palette ?
Kind RegardsHi ketori86,
I apologize, I'm a bit unclear on the exact nature of your question. If you are looking for more information about Restrictions or Parental Controls, you may find the following article helpful:
iOS: Understanding Restrictions (parental controls) - Apple Support
Regards,
- Brenden -
Default Chart Color Set in Keynote '08
Hi!
I have several charts on successive slides. I'd like to keep the colors used for some data consistent across all charts in which they appear. I can't seem to locate the default color samples and I'm pretty sure I've been through all the 3D and 2D samples.
How do I find the default colors used in bar charts?
Thanks!Instead of going to the graphic section, go to the Chart Section (8th from the left) and then in the top right hand side click Chart Colors. From the box that pops up, select the color and drag over the section of the graph you want that color.
Message was edited by: Kelly Coull for spelling -
Set Default Color For BarChart YAxis Data Values.
Remove alert
|
Edit
|
Delete
|
Change type
0
I am new to MS Chart. I am drawing a simple bar chart with following code. My chart draws red lines, for my datapoints (Y Axis), I want to draw, I want to set the color of remaining data points for example for 1st record (i.e. dt1) my jobData
have value 10, my graph shows red line for 10 points, for remaining 20 points I need to show the Green Line and also for the remaining data points. Thanks in advance.
double[] jobData = new double[] { 10, 3, 4, 5, 2, 0, 2, 3, 0, 1 };
DateTime dt1 = new DateTime(2015, 3, 17, 8, 30, 0);
DateTime dt2 = new DateTime(2015, 3, 17, 8, 35, 0);
DateTime dt3 = new DateTime(2015, 3, 17, 8, 40, 0);
DateTime dt4 = new DateTime(2015, 3, 17, 8, 45, 0);
DateTime dt5 = new DateTime(2015, 3, 17, 8, 50, 0);
DateTime dt6 = new DateTime(2015, 3, 17, 8, 55, 0);
DateTime dt7 = new DateTime(2015, 3, 17, 9, 00, 0);
DateTime dt8 = new DateTime(2015, 3, 17, 9, 05, 0);
DateTime dt9 = new DateTime(2015, 3, 17, 9, 10, 0);
DateTime dt10 = new DateTime(2015, 3, 17, 9, 15, 0);
DateTime[] xData = new DateTime[] { dt1, dt2, dt3, dt4, dt5,dt6,dt7,dt8,dt9,dt10 };
InitializeComponent();
//Horizontal bar chart
//Create a chart area and add it to the chart
ChartArea area = new ChartArea("First");
chart1.ChartAreas.Add(area);
// chart1.x = Color.Green;
chart1.Size = new Size(1000, 700);
//Create a series using the data
Series barSeries = new Series();
barSeries.XValueType = ChartValueType.DateTime;
barSeries.BorderColor = Color.Green;
barSeries.ChartType = SeriesChartType.Column;
barSeries.Color = Color.Red;
area.AxisX.LabelStyle.Format = "HH:mm";
area.AxisY.Maximum = 30;
area.AxisY.InterlacedColor = Color.Green;
area.AxisY.Interval = 1;
// chart1.ChartAreas(0).AxisX.LabelStyle.Format = "HH:00"
barSeries.Points.DataBindXY(xData, jobData );
//Set the chart type, Bar; horizontal bars
barSeries.ChartType = SeriesChartType.Bar;
//Assign it to the required area
barSeries.ChartArea = "First";
//Add the series to the chart
chart1.Series.Add(barSeries);Remove alert
|
Edit
|
Delete
|
Change type
0
I am new to MS Chart. I am drawing a simple bar chart with following code. My chart draws red lines, for my datapoints (Y Axis), I want to draw, I want to set the color of remaining data points for example for 1st record (i.e. dt1) my jobData
have value 10, my graph shows red line for 10 points, for remaining 20 points I need to show the Green Line and also for the remaining data points. Thanks in advance.
double[] jobData = new double[] { 10, 3, 4, 5, 2, 0, 2, 3, 0, 1 };
DateTime dt1 = new DateTime(2015, 3, 17, 8, 30, 0);
DateTime dt2 = new DateTime(2015, 3, 17, 8, 35, 0);
DateTime dt3 = new DateTime(2015, 3, 17, 8, 40, 0);
DateTime dt4 = new DateTime(2015, 3, 17, 8, 45, 0);
DateTime dt5 = new DateTime(2015, 3, 17, 8, 50, 0);
DateTime dt6 = new DateTime(2015, 3, 17, 8, 55, 0);
DateTime dt7 = new DateTime(2015, 3, 17, 9, 00, 0);
DateTime dt8 = new DateTime(2015, 3, 17, 9, 05, 0);
DateTime dt9 = new DateTime(2015, 3, 17, 9, 10, 0);
DateTime dt10 = new DateTime(2015, 3, 17, 9, 15, 0);
DateTime[] xData = new DateTime[] { dt1, dt2, dt3, dt4, dt5,dt6,dt7,dt8,dt9,dt10 };
InitializeComponent();
//Horizontal bar chart
//Create a chart area and add it to the chart
ChartArea area = new ChartArea("First");
chart1.ChartAreas.Add(area);
// chart1.x = Color.Green;
chart1.Size = new Size(1000, 700);
//Create a series using the data
Series barSeries = new Series();
barSeries.XValueType = ChartValueType.DateTime;
barSeries.BorderColor = Color.Green;
barSeries.ChartType = SeriesChartType.Column;
barSeries.Color = Color.Red;
area.AxisX.LabelStyle.Format = "HH:mm";
area.AxisY.Maximum = 30;
area.AxisY.InterlacedColor = Color.Green;
area.AxisY.Interval = 1;
// chart1.ChartAreas(0).AxisX.LabelStyle.Format = "HH:00"
barSeries.Points.DataBindXY(xData, jobData );
//Set the chart type, Bar; horizontal bars
barSeries.ChartType = SeriesChartType.Bar;
//Assign it to the required area
barSeries.ChartArea = "First";
//Add the series to the chart
chart1.Series.Add(barSeries);
Hello,
Since this issue is mainly related to Chart control, I have helped you move this thread to
Chart Controls for .NET Framework forum to get help.
Regards,
Carl
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Set Default Color For BarChart YAxis.
I am new to MS Chart. I am drawing a simple bar chart with following code. My chart draws red lines, for my datapoints (Y Axis), I want to draw, I want to set the color of remaining data points for example for 1st record (i.e. dt1) my jobData
have value 10, my graph shows red line for 10 points, for remaining 20 points I need to show the Green Line and also for the remaining data points. Thanks in advance.
double[] jobData = new double[] { 10, 3, 4, 5, 2, 0, 2, 3, 0, 1 };
DateTime dt1 = new DateTime(2015, 3, 17, 8, 30, 0);
DateTime dt2 = new DateTime(2015, 3, 17, 8, 35, 0);
DateTime dt3 = new DateTime(2015, 3, 17, 8, 40, 0);
DateTime dt4 = new DateTime(2015, 3, 17, 8, 45, 0);
DateTime dt5 = new DateTime(2015, 3, 17, 8, 50, 0);
DateTime dt6 = new DateTime(2015, 3, 17, 8, 55, 0);
DateTime dt7 = new DateTime(2015, 3, 17, 9, 00, 0);
DateTime dt8 = new DateTime(2015, 3, 17, 9, 05, 0);
DateTime dt9 = new DateTime(2015, 3, 17, 9, 10, 0);
DateTime dt10 = new DateTime(2015, 3, 17, 9, 15, 0);
DateTime[] xData = new DateTime[] { dt1, dt2, dt3, dt4, dt5,dt6,dt7,dt8,dt9,dt10 };
InitializeComponent();
//Horizontal bar chart
//Create a chart area and add it to the chart
ChartArea area = new ChartArea("First");
chart1.ChartAreas.Add(area);
// chart1.x = Color.Green;
chart1.Size = new Size(1000, 700);
//Create a series using the data
Series barSeries = new Series();
barSeries.XValueType = ChartValueType.DateTime;
barSeries.BorderColor = Color.Green;
barSeries.ChartType = SeriesChartType.Column;
barSeries.Color = Color.Red;
area.AxisX.LabelStyle.Format = "HH:mm";
area.AxisY.Maximum = 30;
area.AxisY.InterlacedColor = Color.Green;
area.AxisY.Interval = 1;
// chart1.ChartAreas(0).AxisX.LabelStyle.Format = "HH:00"
barSeries.Points.DataBindXY(xData, jobData );
//Set the chart type, Bar; horizontal bars
barSeries.ChartType = SeriesChartType.Bar;
//Assign it to the required area
barSeries.ChartArea = "First";
//Add the series to the chart
chart1.Series.Add(barSeries);I am not sure this is exactly what you mean, but, I think the only way to change the data color is to use a different series.
Imports System.Windows.Forms.DataVisualization.Charting
Public Class Form6
Private Sub Form6_Load(sender As Object, e As EventArgs) Handles MyBase.Load
'setup the chart
With Chart1.ChartAreas(0)
.AxisX.Title = "X"
.AxisX.MajorGrid.LineColor = Color.LightBlue
.AxisX.Minimum = 0
.AxisX.Maximum = 24
.AxisX.Interval = 6
.AxisY.Title = "Y"
.AxisY.MajorGrid.LineColor = Color.LightGray
.AxisY.Minimum = 0
.AxisY.Maximum = 24
.AxisY.Interval = 6
.BackColor = Color.FloralWhite 'AntiqueWhite 'LightSkyBlue
.BackSecondaryColor = Color.White
.BackGradientStyle = GradientStyle.HorizontalCenter
.BorderColor = Color.Blue
.BorderDashStyle = ChartDashStyle.Solid
.BorderWidth = 1
.ShadowOffset = 2
End With
Dim heading1 As String = " 1 - 12"
Dim heading2 As String = "13 - 24"
'draw the chart
Chart1.Series.Clear()
Chart1.Series.Add(heading1)
Chart1.Series.Add(heading2)
Chart1.Series(0).ChartType = DataVisualization.Charting.SeriesChartType.Line
Chart1.Series(0).BorderWidth = 1
Chart1.Series(0).Color = Color.Red
Chart1.Series(0).BorderDashStyle = ChartDashStyle.Dash
Chart1.Series(0).MarkerStyle = DataVisualization.Charting.MarkerStyle.Square
Chart1.Series(0).MarkerSize = 4
Chart1.Series(1).ChartType = DataVisualization.Charting.SeriesChartType.Line
Chart1.Series(1).Color = Color.ForestGreen
Chart1.Series(1).BorderWidth = 2
For x = 1 To 24
If x > 12 Then
Chart1.Series(1).Points.AddXY(x, x)
Else
Chart1.Series(0).Points.AddXY(x, x)
End If
Next
End Sub
End Class -
Labels pointing to pie slices with lines (or how 2 set chart properties in code behind)
I want to be able to create lines outside of my pie chart with labels and have those lines drawn to connect to the pie chart. I saw that this can be done in code behind in the following thread:
MSDN thread on lines to pie slices
But my problem is I never declared an instance of my chart when I am using my code behind. My code that makes the reports visible is basically (but not completely) the following:
ReportDataSet.Tables.Add(ReportDataTable)
ReportViewer.Visible = True
Dim ReportDataSource As ReportDataSource = New ReportDataSource("ReportDataSource", ReportDataSet.Tables(0))
ReportViewer.LocalReport.ReportPath = ReportToDisplay.RDLCFileName
ReportViewer.LocalReport.DataSources.Clear()
ReportViewer.LocalReport.DataSources.Add(ReportDataSource)
ReportDataSource.Name = ReportToDisplay.DataSetName
ReportViewer.DataBind()
ReportViewer.LocalReport.Refresh()
ReportViewer.ShowReportBody = True
ReportViewer.Width = RVWidth
ReportViewer.Height = RVHeight
So how do I set chart properties for my report given the above code? As long as I can set my chart properties with the above code, I should be able to get this to work given the above thread and the link to the Label-Outside-of-Pie and Line-Color properties
(or whatever) info on Microsoft's info pageHello,
Based on your description, you want to design a
pie chart with outside lables and pie line inside a .rdlc report. If so, you can add the Chart report item into the report after open a client report definition (.rdlc) file in graphical design mode. And then Set the
PieLabelStyle property and PieLineColor property. Please refer to the following screen shot:
The link your post above it about the
Chart Web server control. As pre my undersntand, you cannot reference a Web server control inside .rdlc file.
If you have any question about using Chart Web server control, you can post a question on
Chart Controls for .NET Framework forum.
Regards,
Fanny Liu
If you have any feedback on our support, please click here.
Fanny Liu
TechNet Community Support -
Crystal Reports - Change Line Chart Color Dynamically
Hello,
I have Crystal report 14.
I'm trying to create a line chart and need to be able to set the colors of the lines at the time the report is run. The colors the lines need to be are specified in a database and a different color could be specified each time the report is run.
Can anybody suggest how I would do this?
Thanks
Edited by: Robert4543 on Nov 16, 2011 5:23 PMI've tried to use 'Color Highlight' to change the color of the lines, but it only changed the colors of the markers on the line, not the actual line itself. Is there a way to get it to change the color of the line?
I may have one line I need to display as 1 color, and a 2nd that I need to display as another. Using color highlight changed the markers for both lines to the same color. Is there a way to specify which line I want to change the color of in "Color Highlight"?
Thanks.
Edited by: Robert4543 on Nov 16, 2011 8:41 PM -
Post Author: vitalya
CA Forum: Charts and Graphs
Hello all,
I use Crystal Reports XI. I have report with chart. Chart type is Bar. With Chart expert i defined colors for each type of data in the chart. When i preview my report chart colors looks fine. But if i use created rpt file in web application and generate html report chart uses different colors. What a problem?Post Author: quincarroll
CA Forum: Charts and Graphs
HiI am having a very similar problem...I have a pie chart that is displaying 8 values for scores that make up the total score. If I preview the chart in Crystal XI, I get the correct colours for each slice of the pie, but when I save the rpt and run it from my VS2005 App, the first 4 colours on the pie revert back to the default 4 colours and the last 4 colours stay the same as what I set using the "Color Highlight" tab in the design env.Can anyone please help? -
Can I access Flex's default Chart colors? Or can I access a Series' current color?
I've created a popup to dynamically add/remove Series from a LineChart and/or AreaChart. Problem is, I want to keep the Series' line color consistent, and Flex wants to re-assign them from it's default list, which is confusing.
I don't want to just set the Series.visible to false for two reasons:
1. I also want the LegendItem to disappear from the Legend
2. Stacked AreaCharts (type == 'stacked') get messed up when you set one of its Series.visible = false
So to avoid color reassignment, I want to explicitly set the lineStroke for my Series. But if I'm using Flex's default colors, I need to either:
a. Have access to the static default color array - does anyone know where this is??? or
b. After the Series are drawn (updateComplete?), I need to query each for its lineStroke color and then explicitly set it to that same color. How do I do this??? getStyle('lineStroke') returns null, and I can't see a way to get at the renderer.
I'm essentially re-posting the following unanswered posts, which I promise to link back to this if someone can please help:
Binding to Rendered Chart Data [http://forums.adobe.com/message/186840#186840]
Getting the default pie chart colors [http://forums.adobe.com/message/36410#36410]
Please help!Matt, thanks for your reply, but unfortunately, for LineCharts, LineSeries.getStyle('fill') always returns 0xffffff (white).
I finally found that after my LineChart is completely rendered, (sometime after LineSeries' updateComplete), LineSeries.getStyle('lineStroke') and getStyle('stroke') both return the correct Stroke.color values ("lineStroke" refers to the line segment and "stroke" to the data point).
Rather than fooling around with collecting the actual values dynamically, I just generated some trace() output from a LineChart with a bunch of Series to create my own static Array from which I can initialize my Series.setStyle(color) as I dynamically add them to my LineChart:
public static const DEFAULT_FLEX_SERIES_COLORS:Array = [
0xe48701, 0xa5bc4e, 0x1b95d9, 0xcaca9e,
0x6693b0, 0xf05e27, 0x86d1e4, 0xe4f9a0,
0xffd512, 0x75b000, 0x0662b0, 0xede8c6,
0xcc3300, 0xd1dfe7, 0x52d4ca, 0xc5e05d,
0xe7c174, 0xfff797, 0xc5f68f, 0xbdf1e6,
0x9e987d, 0xeb988d, 0x91c9e5, 0x93dc4a,
0xffb900, 0x9ebbcd, 0x009797, 0x0db2c2
It turns out there's only 28 unique color values before the color pattern repeats. I don't see a numerical pattern; perhaps someone with more time on their hands can figure out if there's a function behind this series of values (printed here in binary, decimal, and hex):
111001001000011100000001 14976769 0xe48701
101001011011110001001110 10861646 0xa5bc4e
000110111001010111011001 01807833 0x1b95d9
110010101100101010011110 13290142 0xcaca9e
011001101001001110110000 06722480 0x6693b0
111100000101111000100111 15752743 0xf05e27
100001101101000111100100 08835556 0x86d1e4
111001001111100110100000 15006112 0xe4f9a0
111111111101010100010010 16766226 0xffd512
011101011011000000000000 07712768 0x75b000
000001100110001010110000 00418480 0x0662b0
111011011110100011000110 15591622 0xede8c6
110011000011001100000000 13382400 0xcc3300
110100011101111111100111 13754343 0xd1dfe7
010100101101010011001010 05428426 0x52d4ca
110001011110000001011101 12968029 0xc5e05d
111001111100000101110100 15188340 0xe7c174
111111111111011110010111 16775063 0xfff797
110001011111011010001111 12973711 0xc5f68f
101111011111000111100110 12448230 0xbdf1e6
100111101001100001111101 10393725 0x9e987d
111010111001100010001101 15440013 0xeb988d
100100011100100111100101 09554405 0x91c9e5
100100111101110001001010 09690186 0x93dc4a
111111111011100100000000 16759040 0xffb900
100111101011101111001101 10402765 0x9ebbcd
000000001001011110010111 00038807 0x009797
000011011011001011000010 00897730 0x0db2c2
Anyway, it sure would have been nice to have access to this in the API - hopefully I've saved someone else the time I've wasted... -
Customizing the chart color in BO Explorer
Hi Experts,
Is it possible for us to choose the color of the measure by ourselves in BO Explorer
For exmple, when you choose mutli-measure, system will show different color
It depends on the sequence of the measure which does not meet our requirement
Could we choose the color we need?
BTW, for pie chart, is it possible for us to set the color for each part by ourselves as well?
Best regards
Alex yangHi Alex,
Greetings,
Explorer does not allow the interactive color change functionality.
We could make certain changes in the explorer configuration file, available in the explorer installation directory, but those color changes, are permanent and would reflect the same across all the charts in all the information spaces.
Regards,
Ankit Sankhla -
Setting series color in the Business Graphics UI element
Hi all,
I'm using the Business Graphics UI element in my Web Dynpro application.
I set the color for various properties using chart designer, then I add the generated XML in the doModifyView method: bg.setDirectCustomizing(xml file) and most of it works.
However, when I change the series' color, I don't see any change in the xml file (see snapshot).
http://img90.imageshack.us/my.php?image=graphjy1.jpg
My xml starts with <SAPChartCustomizing> and ends with </SAPChartCustomizing>.
How can I set the series' color using the custom xml file?
Thanks,
OmriHi,
as the connection between your data and the customizing settings works via IDs you have to make sure that you set exactly the same ID for a data series as defined in the chart designer.
In case that you use point customizing make sure that you do not set an ID for the points of your series. Instead set the series customizing ID for the series only! Keep in mind that point customizing always overwrites series customizing if both are defined.
Regards, Kai -
How to set background color for a JFrame
Hi,
i am new to swing programming. I have created a JFrame called framehelp and i placed some labels in the frame.
I have set the background color as yellow for the frame ie by setBackground(new java.awt.Color(255, 255, 204));
But after compiling the program i am still getting the background color of frame as gray.
How can i change the background color of frame as lightish yellow.
I have used NETBEANS to generate this code and i am posting the code..
Kindly help me
Thanks in adavance
public class framehelp extends javax.swing.JFrame {
/** Creates new form framehelp */
public framehelp() {
initComponents();
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
private void initComponents() {
jLabel1 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
jLabel3 = new javax.swing.JLabel();
jLabel4 = new javax.swing.JLabel();
jLabel5 = new javax.swing.JLabel();
jLabel6 = new javax.swing.JLabel();
jLabel8 = new javax.swing.JLabel();
jLabel9 = new javax.swing.JLabel();
jLabel10 = new javax.swing.JLabel();
jLabel11 = new javax.swing.JLabel();
jLabel12 = new javax.swing.JLabel();
jLabel13 = new javax.swing.JLabel();
jLabel7 = new javax.swing.JLabel();
jLabel14 = new javax.swing.JLabel();
jLabel15 = new javax.swing.JLabel();
jLabel16 = new javax.swing.JLabel();
jLabel17 = new javax.swing.JLabel();
jLabel18 = new javax.swing.JLabel();
jLabel19 = new javax.swing.JLabel();
jLabel20 = new javax.swing.JLabel();
jLabel21 = new javax.swing.JLabel();
jLabel22 = new javax.swing.JLabel();
jLabel23 = new javax.swing.JLabel();
jLabel24 = new javax.swing.JLabel();
jLabel25 = new javax.swing.JLabel();
jLabel26 = new javax.swing.JLabel();
jLabel27 = new javax.swing.JLabel();
jLabel28 = new javax.swing.JLabel();
jLabel29 = new javax.swing.JLabel();
jLabel30 = new javax.swing.JLabel();
jLabel31 = new javax.swing.JLabel();
jLabel32 = new javax.swing.JLabel();
jLabel33 = new javax.swing.JLabel();
getContentPane().setLayout(null);
setBackground(new java.awt.Color(255, 255, 204));
setForeground(new java.awt.Color(204, 204, 204));
addWindowListener(new java.awt.event.WindowAdapter() {
public void windowClosing(java.awt.event.WindowEvent evt) {
exitForm(evt);
jLabel1.setText("The CAME framework software measurement process evaluation is used to determine the Level of measurement in the ITarea. This measurementprocess evaluation is ");
getContentPane().add(jLabel1);
jLabel1.setBounds(40, 50, 41, 16);
jLabel2.setText("performed individually for software coomponents ie SoftwareProduct, SoftwareProcess and SoftwareResource.");
getContentPane().add(jLabel2);
jLabel2.setBounds(40, 70, 41, 16);
jLabel3.setText("Below we describe the steps which will guide through the measurement process evaluation. There are two types of evaluation considerd here, General evaluation");
getContentPane().add(jLabel3);
jLabel3.setBounds(40, 100, 913, 16);
jLabel4.setText("and Evaluation with respect to a standard. The measurement intensions considerd by varoius measurement standards will be used in our tool based method. ");
getContentPane().add(jLabel4);
jLabel4.setBounds(40, 120, 893, 16);
jLabel5.setText("Information about the measurement standards can be found at www.iso.org , www.ieee.org.");
getContentPane().add(jLabel5);
jLabel5.setBounds(40, 140, 542, 16);
jLabel6.setText("Steps to calculate the MetricsLevel");
getContentPane().add(jLabel6);
jLabel6.setBounds(40, 190, 199, 16);
jLabel8.setText("2 ) The opened frame consists of several metrics and measures, evaluation level buttons, result textfields and selection choice lists. To calculate");
getContentPane().add(jLabel8);
jLabel8.setBounds(70, 240, 41, 16);
jLabel9.setText("general Metricslevel without any standard, select general from Measurement standard choice list. then select Both from scaleType choice list and finally select metrics ");
getContentPane().add(jLabel9);
jLabel9.setBounds(90, 260, 949, 16);
jLabel10.setText(" and measures from the frame and press MetricsLevel Button. The metricslevel for the selected metrics will be displayed in textfield1.");
getContentPane().add(jLabel10);
jLabel10.setBounds(90, 280, 756, 16);
jLabel11.setText("3 ) To determine MetricsLevel with respect to a standard select a standard from MeasurementStandard choice list, select Both from ScaleType choice list and finally ");
getContentPane().add(jLabel11);
jLabel11.setBounds(70, 300, 933, 16);
jLabel12.setText("select darkened metrics and measures and press MetricsLevel Button. The Metrics Level for the selected Metrics and standard will be diplayed in textfield1.");
getContentPane().add(jLabel12);
jLabel12.setBounds(90, 320, 883, 16);
jLabel13.setText("4 ) Repeat steps 1 2, 3 for ProcessMeasurementEvaluation and ResourceMeasurementEvaluation menu items from the select menu.");
getContentPane().add(jLabel13);
jLabel13.setBounds(70, 340, 751, 16);
jLabel7.setText("1 ) Select ProductMeasurementEvaluation menu item from the select menu,a frame called CAME framework software product measurement evaluation will be opened. ");
getContentPane().add(jLabel7);
jLabel7.setBounds(70, 220, 946, 16);
jLabel14.setText("Steps to calculate MeasurementLevel");
getContentPane().add(jLabel14);
jLabel14.setBounds(50, 390, 214, 16);
jLabel15.setText("1 ) Select ProductMeasurementEvaluation menu item from the select menu,a frame called CAME framework software product measurement evaluation will be opened.");
getContentPane().add(jLabel15);
jLabel15.setBounds(80, 420, 943, 16);
jLabel16.setText("2 ) The opened frame consists of several metrics and measures, evaluation level buttons, result textfields and selection choice lists. To calculate");
getContentPane().add(jLabel16);
jLabel16.setBounds(80, 450, 822, 16);
jLabel17.setText("general Measurementlevel without any standard, select general from Measurement standard choice list. then select Quantitative measures from scaleType choice list ");
getContentPane().add(jLabel17);
jLabel17.setBounds(100, 470, 943, 16);
jLabel18.setText("and finally select metrics and measures from the frame and press MeasurementLevel Button. The MeasurementLevel for the selected metrics will be displayed in textfield2.");
getContentPane().add(jLabel18);
jLabel18.setBounds(100, 490, 973, 20);
jLabel19.setText("3 ) To determine MeasurementLevel with respect to a standard select a standard from MeasurementStandard choice list, select Quantitative measures from ScaleType choice list");
getContentPane().add(jLabel19);
jLabel19.setBounds(80, 510, 1009, 16);
jLabel20.setText("and finally select darkened metrics and measures and press MeasurementLevel Button. The MeasurementLevel will be diplayed in textfield2.");
getContentPane().add(jLabel20);
jLabel20.setBounds(100, 530, 799, 16);
jLabel21.setText("4 )Repeat steps 1 2, 3 for ProcessMeasurementEvaluation and ResourceMeasurementEvaluation menu items from the select menu.");
getContentPane().add(jLabel21);
jLabel21.setBounds(80, 550, 748, 16);
jLabel22.setText("Steps to calculate MeasurementProcessLevel");
getContentPane().add(jLabel22);
jLabel22.setBounds(50, 600, 262, 16);
jLabel23.setText("1 ) Select ProductMeasurementEvaluation menu item from the select menu,a frame called CAME framework software product measurement evaluation will be opened.");
getContentPane().add(jLabel23);
jLabel23.setBounds(80, 630, 943, 16);
jLabel24.setText("2 )The opened frame consists of several metrics and measures, evaluation level buttons, result textfields and selection choice lists. To calculate");
getContentPane().add(jLabel24);
jLabel24.setBounds(80, 650, 819, 16);
jLabel25.setText("general MeasurementProcesslevel without any standard, select general from Measurement standard choice list. then select Quantitative measures from scaleType ");
getContentPane().add(jLabel25);
jLabel25.setBounds(100, 670, 930, 16);
jLabel26.setText("choice list, enter migrated metrics if any in textfield below migrated metrics label and finally select metrics measures from the frame and press ");
getContentPane().add(jLabel26);
jLabel26.setBounds(100, 690, 818, 16);
jLabel27.setText("MeasurementProcessLevel Button. The MeasurementProcessLevel for the selected metrics will be displayed in textfield3.");
getContentPane().add(jLabel27);
jLabel27.setBounds(100, 710, 691, 16);
jLabel28.setText("3 ) To determine MeasurementProcessLevel with respect to a standard select a standard from MeasurementStandard choice list, select Quantitative measures from ");
getContentPane().add(jLabel28);
jLabel28.setBounds(80, 740, 937, 16);
jLabel29.setText("from ScaleType choice list, enter migrated metrics if any in textfield below migrated metrics and finally select darkened metrics and measures and press ");
getContentPane().add(jLabel29);
jLabel29.setBounds(100, 760, 873, 16);
jLabel30.setText("MeasurementProcessLevel Button. The MeasurementprocessLevel for the selected metrics will be displayed in textfield3");
getContentPane().add(jLabel30);
jLabel30.setBounds(100, 780, 687, 16);
jLabel31.setText("4 ) Repeat steps 1,2,3 for ProcessMeasurementEvaluation and ResourceMeasurementEvaluation menuitems.");
getContentPane().add(jLabel31);
jLabel31.setBounds(80, 800, 618, 16);
jLabel32.setText("Steps to calculate MeasuredSoftwareProcessLevl");
getContentPane().add(jLabel32);
jLabel32.setBounds(60, 830, 285, 16);
jLabel33.setText("1 ) Follow the same steps as MetricsLevel calcualtion but select metrics and measures covered by CAME Tools only.");
getContentPane().add(jLabel33);
jLabel33.setBounds(90, 860, 657, 16);
java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
setBounds((screenSize.width-1100)/2, (screenSize.height-940)/2, 1100, 940);
/** Exit the Application */
private void exitForm(java.awt.event.WindowEvent evt) {
System.exit(0);
* @param args the command line arguments
public static void main(String args[]) {
new framehelp().show();
// Variables declaration - do not modify
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel10;
private javax.swing.JLabel jLabel11;
private javax.swing.JLabel jLabel12;
private javax.swing.JLabel jLabel13;
private javax.swing.JLabel jLabel14;
private javax.swing.JLabel jLabel15;
private javax.swing.JLabel jLabel16;
private javax.swing.JLabel jLabel17;
private javax.swing.JLabel jLabel18;
private javax.swing.JLabel jLabel19;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel20;
private javax.swing.JLabel jLabel21;
private javax.swing.JLabel jLabel22;
private javax.swing.JLabel jLabel23;
private javax.swing.JLabel jLabel24;
private javax.swing.JLabel jLabel25;
private javax.swing.JLabel jLabel26;
private javax.swing.JLabel jLabel27;
private javax.swing.JLabel jLabel28;
private javax.swing.JLabel jLabel29;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel30;
private javax.swing.JLabel jLabel31;
private javax.swing.JLabel jLabel32;
private javax.swing.JLabel jLabel33;
private javax.swing.JLabel jLabel4;
private javax.swing.JLabel jLabel5;
private javax.swing.JLabel jLabel6;
private javax.swing.JLabel jLabel7;
private javax.swing.JLabel jLabel8;
private javax.swing.JLabel jLabel9;
// End of variables declaration
}1. When you post code, post a minimal example. Did we have to scroll through
all those bloody labels.
2. Can't say much for the quality of code NetBeans generates.
3. To answer your question (sorry, I don't have an autographed copy of the photo):
import java.awt.*;
import java.net.*;
import javax.swing.*;
public class Example {
public static void main(String[] args) throws MalformedURLException {
final JFrame f = new JFrame();
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
Container cp = f.getContentPane();
cp.setBackground(new Color(0xff, 0xff, 0xee));
cp.add(new JLabel("set the color on the content pane, not the frame"), BorderLayout.SOUTH);
URL url = new URL("http://today.java.net/jag/bio/JagHeadshot-small.jpg");
cp.add(new JLabel(new ImageIcon(url)));
f.pack();
SwingUtilities.invokeLater(new Runnable(){
public void run() {
f.setLocationRelativeTo(null);
f.setVisible(true);
} -
Report Generation broken after deployment - Excel Set Cell Color and Border.vi
Upon deployment, the Excel Set Cell Color and Border.vi became broken. After installing LV2010 SP1 to view the VIs in the deployment, I noticed that in the second case structure where the code draws the border using the BorderAround invoke node, there is an extra variant input parameter named 'Parameters'. Upon right-clicking, an option to 'Relink Invoke Node' appeared and after selecting this, the extra input disappeared and the VI was no longer broken.
Why does "Relink Invoke Node" appear? How do I create a deployment with this issue? Has anybody else experienced this? Why is the TestStand deployment so buggy?Hi Ching-Hwa,
I have set up a test deployment here where I am deploying a workspace that contains a sequence file. This sequence file has a LabVIEW Action Step calling a VI that opens a new Excel file and simply calls the Excel Set Cell Color and Border VI. After deploying this, both the VI and my test sequence ran on the deployment machine without error. Therefore, I do have some more questions to more accurately reproduce what you are seeing.
First, what operating systems are you developing on and deploying to? Also, what license do you have for TestStand on the machine you are deploying to? If you have a development version, can you manually take the sequence file and VI to this machine and run it? I know you now have LabVIEW 2010 SP1 on your development machine, but if you have the development version of TestStand as well, it would be interesting to see if you copy the files over if you still see this behavior. Are you including the TestStand Engine in the deployment?
Can you open a blank VI on the deployment machine and add the Excel Set Cell Color and Border VI? It would also be interesting to see if this is not a product of the deployment, but rather an issue with something on the deployment machine itself. What version of the Report Generation Toolkit do you have on each machine? Also, what versions of Excel are you using on the development and deployment machine? Again, it would be helpful for me to know exactly what versions you have installed on both the development and deployment machines so that I can reproduce this as accurately as possible.
One last thing to try, too, would be to try deploying the VI by itself just to see if it also has the same behavior. Do you have the Application Builder in LabVIEW? If so, could you also try building an executable from the VI, create an installer, and deploy this to the deployment machine?
In regards to the "freezing" of code by removing the block diagrams, I do not believe this will be a proper work around in this case. While this removes the block diagram from actually being deployed along with the VI and restricts users from editing the code on the deployment machine, if something is getting changed in the compiled code upon deployment, this will not stop this from happening. This option is available more as a memory option to lower the size of the deployment as well as prohibit any users on the development machine from editing the block diagram themselves.
Thanks, Ching-Hwa! I look forward to your response so that I can continue trying to reproduce this issue. Have a great day!
Taylor G.
Product Support Engineer
National Instruments
www.ni.com/support -
How to delete all Action Sets in the Actions Palette
I'm in need of a piece of JavaScript code that will delete all the Action Sets in the Actions Palette. I've scripted the logic to load the appropriate Action Set once needed but I don't want to end up with duplicates at the end of processing the batch.
Any help would be most appreciated.
TIA, Scott> Could someone clue me in; I'm lost?
getActionSets = function() {
var i = 1;
var sets = [];
while (true) {
var ref = new ActionReference();
ref.putIndex(cTID("ASet"), i);
var desc;
var lvl = $.level;
$.level = 0;
try {
desc = executeActionGet(ref);
} catch (e) {
break; // all done
} finally {
$.level = lvl;
if (desc.hasKey(cTID("Nm "))) {
var set = {};
set.index = i;
set.name = desc.getString(cTID("Nm "));
set.toString = function() { return this.name; };
set.count = desc.getInteger(cTID("NmbC"));
set.actions = [];
for (var j = 1; j <= set.count; j++) {
var ref = new ActionReference();
ref.putIndex(cTID('Actn'), j);
ref.putIndex(cTID('ASet'), set.index);
var adesc = executeActionGet(ref);
var actName = adesc.getString(cTID('Nm '));
set.actions.push(actName);
sets.push(set);
i++;
return sets; -
I would like to change the colour of bars in a chart without losing the underlying default texture associated with my chosen theme. None of the 3D textured fills offered in "Chart Colors" match the textured fill of the theme. Any suggestions?
Thanks Gary, but no, that does not work. First of all, I can't select each bar individually. When I click on one bar, all three bars are selected.
When I use "inspector > graphic" I have 5 fill options: none, color, gradient, image, tinted image. The default selection for the theme I'm using is image. What I would like to use for my charts is the same image that this theme uses for table headers. It has the same texture as the chart, but a different colour. Using anything but image or tinted image removes the texture from the fill.
I have found I can do one of two things. I can select tinted image from the fill selections in "inspector > graphic" or I can select 2D Image Fills from "inspector > chart > chart colors". The first choice does not allow me to match the table header colour because it only allows me to apply a tint to the existing colour and adjust its opacity. The existing colour has too much influence on the fill, so I can't find an RGB adjustment that will match the table header colour. The image selections from "inspector > chart > chart colors" do not quite match the colour or the texture. Again, I can try to tint the image, but I still can't get it to match and the texture is not the same anyway.
The image I want to use obviously exists in the software as it is an attribute of the theme, but for some reason is inaccessible. The other angle I have tried is to edit the theme, but I can't figure out how to do that either.
Maybe you are looking for
-
Crystal Report (9.0 - RDC] on Vista
I think i have not expressed myself appropriatly (the last thread). I have problems when i use Crystal Reports 2008, CrystalDecisions.Shared.ConnectionInfo and CrystalDecisions.ReportAppServer on Vista . But i haven't problem when i use Crystal Repor
-
Is there any way to know when an app is going to be discontinued?
I purchased an app around eight months ago for $13. I forgot about it until I was reloading apps onto my new IPad. When I went to find it, it was no longer in the app store at all. I contacted the support people who told me that since it was "so long
-
Unidentified Developers and OSX 10.9.5
I'm trying to work with the Security & Privacy settings in the System Preferences in 10.9.5. I'm using an Early 2009 Mac Pro (4,1). What I would like to do is run the client for EVE Online. The developer for EVE, CCP Games is not an identified, suppo
-
Flex XML Parsing fails on UTF-8 encoded XML.
Flex doesn't see reliable enough for handling XML. This basic XML file causes an error in flex. Depending on the contents of the XML, it may or may not be invalid...and its not the characters. If I put in one type of UTF8 characters, the XML is OK,
-
Call ITS Service from Webdynpro
Hello all, Could somebody tell me how can I call an ITS Service from within a webdynpro? I've the following available with me. System Transction cocde Parameters Basically, I need to do something similar to the following (code snippet from a Portal C