How to draw x y axis bar graph wih report in output
Hi Experts
I have seen most of the thread rgarding Graphs.but my requirement is not meeting with them
i am creating simple report in which in output 1st showing consolidate data for material in a table
and below them i want to show graph for material .
i dont want to open graph in diffrent window.
Thanks
solved
Similar Messages
-
How to create a link to Bar Graph......?
Hi,
Can any body tell me how to create a link to a bar graph such that on clicking, it should navigate to specified page in the same application or different application.
I've written the following Region Source for creating link on Graph. Correct if it is wrong.
function onDynamicaBarGraphClick(e)
// Read point name
name=e.data.Name;
// Read point value
value=e.data.YValue;
// You can add onclick even here using the values name and value
link='f?p=&APP_ID.:4:'||:app_session||'::::::';
Thanks in Advance....
Regards,
Manoj
Edited by: user12873839 on Apr 12, 2010 12:11 AMI have replied to you in another post. Help Needed : Changing the Color of Bar Graph Dynamically
Please don't open multiple posts for the same question. Thanks.
--Manish -
How to draw on the title bar of JFrame ?
Is there any way in which I can draw on the title bar of the JFrame. I want to display animation on the JFrame title bar. Is it possible in Swing! For example I want to display a set of concentric circles increasing and decreasing in radii.
What child window are you referring to? Do you mean a browser window opened with web.show_document?
If so, you can use javascript to hide browser toolbars and so on. Search the forum for some javascript examples where windows are opened with toolbar=no. -
How to draw line in Text Box of crystal report
Dear all expert,
i have develop a crystal report, i need to underline the field heading. what i had done is, CTRL+U and edit my heading text. But it only underline what i type, the rest of the blank area of the field heading was not underline. how can i overcome this issues?
Thank You.Hi,
Instead of 'ctrl + u' the field, right click your text object, format text -> border -> enable the bottom with single
Thx,
Hao -
Help Needed : Changing the Color of Bar Graph Dynamically
Hi..
Is der any body to help me out...?
My Question is :- How to change the color of Bar graph Dynamically..
For example (Assume when one of the Bar Graph crosses certain limit of Y axis value mentioned, the graph must be changed into RED color)
Thanks in Advance
Edited by: user12873839 on Mar 30, 2010 10:03 PMManoj,
You have to create the entire chart manually. follow the below steps. You can refer to the anychart website for more help on different tags and features.
1. Enter the following code in the html header of the page
<script src="#WORKSPACE_IMAGES#AnyChart.js" type="text/javascript" > </script>2. Create an ON Demand Application process by going to the Home>Application Builder>Application #>Shared Components>Application Processes
3. Click On Create
4. Enter the name as DYNAMIC_BAR_GRAPH_CHART
5. Select the processing point as On Demand
6. Click on Nxt
7. Enter the following code in the processing text
DECLARE
BEGIN
OWA_UTIL.mime_header ('text/xml', FALSE);
OWA_UTIL.http_header_close;
HTP.p ('<?xml version = "1.0" encoding="utf-8" standalone = "yes"?>');
HTP.p ('<anychart>');
HTP.p ('<settings>');
HTP.p ('<animation enabled="True"/>');
HTP.p ('</settings>');
HTP.p ('<charts>');
HTP.p ('<chart plot_type="CategorizedVertical">');
HTP.p ('<data_plot_settings default_series_type="Bar">');
HTP.p ('<bar_series>');
HTP.p ('<tooltip_settings enabled="True">');
HTP.p ('<position valign="Top" halign="Right"/>');
HTP.p ('<format> Name: {%Name}');
HTP.p ( 'Value : ${%YValue}{numDecimals:0}');
HTP.p ('</format>');
HTP.p ('<font bold="false"/>');
HTP.p ('<background>');
HTP.p ('<corners type="Rounded" all="3"/>');
HTP.p ('<border type="Solid" color="DarkColor(%Color)" thickness="2"/>');
HTP.p ('</background>');
HTP.p ('</tooltip_settings>');
HTP.p ('</bar_series>');
HTP.p ('</data_plot_settings>');
HTP.p ('<data>');
HTP.p ('<series name="series 1">');
FOR cThis IN (select table2.name, table2.value
from table1,table2,table3
where table1.T1ID = table3.T3ID
and table2.T3ID = table3.T3ID
and table3.C_ID=1
and table3.A_ID=1
ORDER BY table2.name )
LOOP
IF cThis.value > 90 THEN
HTP.p ('<point name="' || cThis.name || '" y="'|| cThis.value || '" color="red"/>');
ELSE
HTP.p ('<point name="' || cThis.name || '" y="'|| cThis.value || '" />');
END IF;
END LOOP;
HTP.p ('</series>');
HTP.p ('</data>');
HTP.p ('<chart_settings>');
HTP.p ('<title>');
HTP.p ('<text>Chart Title</text>');
HTP.p ('</title>');
HTP.p ('<axes>');
HTP.p ('<y_axis>');
HTP.p ('<title>');
HTP.p ('<text>Value</text> ');
HTP.p ('</title>');
HTP.p ('<labels>');
HTP.p ('<format>${%Value}{numDecimals:0}</format>');
HTP.p ('</labels>');
HTP.p ('<axis_markers>');
HTP.p ('</axis_markers>');
HTP.p ('</y_axis>');
HTP.p ('<x_axis position="Normal" align="inside">');
HTP.p ('<labels display_mode="Rotated" rotation="90" align="inside" />');
HTP.p ('<title>');
HTP.p ('<text>Name</text> ');
HTP.p ('</title>');
HTP.p ('</x_axis>');
HTP.p (' </axes>');
HTP.p ('</chart_settings>');
HTP.p ('</chart>');
HTP.p ('</charts>');
HTP.p ('</anychart>');
htmldb_application.g_unrecoverable_error := true;
END;8. Click on Create Process
Now we will create a html region to display the graph.
9. Create a new region of type HTML on the same page and select the region template as no template.
10. Enter the following code in the region source
<div id="DynamicaBarGraph"></div>
<script type="text/javascript" language="javascript">
function DynamicaBarGraph()
var DynamicaBarGraph = new AnyChart('/i/flashchart/swf/AnyChart.swf');
// DynamicaBarGraph.width = "400";
// DynamicaBarGraph.height = "400";
DynamicaBarGraph.addEventListener('pointClick', onDynamicaBarGraphClick);
var DynamicaBarGraphData = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=DYNAMIC_BAR_GRAPH_CHART',0);
gReturn = DynamicaBarGraphData.get();
DynamicaBarGraph.setData(gReturn);
DynamicaBarGraph.write("DynamicaBarGraph");
function onDynamicaBarGraphClick(e)
// Read point name
name=e.data.Name;
// Read point value
value=e.data.YValue;
// You can add onclick even here using the values name and value
DynamicaBarGraph();
</script> Hope it helps. Thanks.
Regards,
Manish -
Grouped stacked bar graph ?
Hey,
does anyone know how to make a grouped stacked bar graph in ADF ?
Single stacked bar works, but I want multiplestack bar grouped together...
for an example see : http://www.highcharts.com/demo/column-stacked-and-grouped
thanks for any help,
DMy JDev version is Studio Edition Version 11.1.2.3.0 ( Build JDEVADF_11.1.2.3.0_GENERIC_120914.0223.6276.1 ).
I have looked into the component and I only found a a grouped bar graph and a stacked bar graph . But I want them combined : group values vertically in one bar and combining several of these bars together in a group.
See the link I mentioned in my original message.
Dieter -
Percentage stacked bar graph in BO dashboards?
How to create a percentage stacked bar graph in BO dashboards? The graph should be compatible with Mobile/Ipad. I understand this is not available out of box. Looking for workaround solutions only
Hi vijay,
As sara said stacked column chart is supported for mobile view. you can validate it in your mobile compatibility property window.
To turn the normal value into percentage, you can do that in DB level or if your using Bex Query you can calculate in query designer. If not you need to apply the formula in excel level.
Take a look at my attachment, you will get a better idea. Revert for more clarification if required.
Happy to help you. -
Can we add bar graph in smrtform at runtime?
Hi,
I am trying put bar graph inside smartform. The percentage/input i will pass at runtime and accordingly the graph will reflect the changes.
CALL FUNCTION 'GRAPH_MATRIX_3D'
EXPORTING
COL1 = '2001'
COL2 = '2002'
COL3 = '2003'
COL4 = '2004'
TITL = 'Expenses - India(INR).'
TABLES
DATA = ITAB_MAIN
OPTS = ITAB_OPTIONS
EXCEPTIONS
OTHERS = 1.
With this FM i can print bar graph using report program. But I have to save this bar graph on local m/c then pass it to smartform.
So please suggest me how to do it.
thanks.I wonder if this http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/javadoc/com/bea/wli/sb/management/configuration/ALSBConfigurationMBean.html
can be of any help? -
Hi,
1. How can I add a bar graph in report 9i?
2. How can I call a OGD file from Report 9i?
Please let me know ASAP.
Regards,
MalayYou cannot create new chart modules because Oracle Graphics6i is no longer
shipped with Oracle Forms. However, you can display existing charts in Forms and
Reports applications that have been migrated.
The following whitepapers at
http://www.oracle.com//technology/products/forms provide additional
information:
regards
Vishwa -
How to reverse x axis in stacked bar graph generated by Keynote?
My question is demonstrated in the figure 1 below. How to reverse the x axis so that the relatively small black area appear on the right(as figure 2 shows.)
fig. 1.
fig. 2.In the chart data editor, click and drag one of the the rows to change the ordering:
-
How do I plot bar graph using MStudio.NE​T for VB
I can not find the FillToBase property in waveformplot object using MStudio 7.0 for VB.NET. How can I plot the bar graph like that in Mstudio 6.0.
The Measurement Studio .NET WaveformPlot does not currently have an equivalent for CWPlot's FillToBase property. In the meantime, though, you can use the WaveformPlot's custom drawing services to emulate this functionality. For example, if you dropped a new WaveformGraph on a form, you could copy and paste the following code to draw bar graphs on the WaveformPlot:
Private Sub OnBeforeDrawPlot(ByVal sender As Object, ByVal e As BeforeDrawXYPlotEventArgs) Handles WaveformPlot1.BeforeDraw
DrawBarGraph(e, 0, Color.BurlyWood, Color.Firebrick)
End Sub
Shared Sub DrawBarGraph(ByVal e As BeforeDrawXYPlotEventArgs, ByVal baseYValue As Double, ByVal outlineColor As Color, ByVal fillColor As Color)
Dim plot As XYPlot = e.Plot
Dim g As Graphics = e.Graphics
If plot.HistoryCount > 0 Then
' Clip the data to just what will be drawn with the current axis ranges.
Dim xData() As Double, yData() As Double
plot.ClipData(xData, yData)
' Calculate the screen coordinates of a base y value and the clipped data.
Dim baseY As Double = CType(plot.MapPoint(e.Bounds, 0, baseYValue).Y, Double)
Dim points As PointF() = plot.MapData(e.Bounds, xData, yData, False)
Dim outlinePen As Pen = Nothing
Dim fillBrush As Brush = Nothing
Try
outlinePen = New Pen(outlineColor)
fillBrush = New SolidBrush(fillColor)
' Iterate through the mapped points and calculate the bar, fill it, and outline it
For i As Integer = 0 To points.Length - 2
Dim currentPoint As PointF = points(i)
Dim nextPoint As PointF = points(i + 1)
Dim barX As Single = currentPoint.X
Dim barY As Single = currentPoint.Y
Dim barWidth As Single = nextPoint.X - currentPoint.X
Dim barHeight As Single = baseY - currentPoint.Y
g.FillRectangle(fillBrush, barX, barY, barWidth, barHeight)
g.DrawRectangle(outlinePen, barX, barY, barWidth, barHeight)
Next
Finally
If Not outlinePen Is Nothing Then
outlinePen.Dispose()
outlinePen = Nothing
End If
If Not fillBrush Is Nothing Then
fillBrush.Dispose()
fillBrush = Nothing
End If
End Try
' Cancel any further drawing since we completely handled the drawing of the plot.
e.Cancel = True
End If
End Sub
Hope this helps.
- Elton -
How to create static line in line bar graph in obiee 11g?
Hello,
I have requirement where user wants to see a line in bar graph.
Now the line is just static line, we dont have data field available to draw the line in graph.
is there a way to create a static line in chart and show it in Line bar ombo graph??
Thanks in advance..e.g. i created the static line '10' in fx and now using this column as line in line bar report , but its not displaying the line at measure of '10' in chart.
Drag the column to measures section of graph (Line - Vertical Axis) to change this static value create an edit box prompt and pass the value to the column using Presentation Variable (as said by Fernando)
Thanks,
Saichand -
Dual Y stacked bar graph - how to force both y scales to be the same size
Hi,
I use dual y stacked bar graph to show values side by side. Since one value is smaller, Y scales have different max values. How can I fore them to be the same?Hello,
OK. This means you need automatic scale for the y axis.
BTW: Why do you need dual y axis if they should have the same scale?
The common use case for dual y axis is to show two series with different units and/or scale.
regards
Peter -
hi i am doing a portal there i want show the selected row in a bar graph format. is there any format or third party tool so that i can icorporate for drawing graph. nor should i alter my servlets code for it.
hello vijay,
i got one code from google about the drawing of the graph. after seeing that code , i think it will not take the data automatically it should manually.
// BarChart.java
import java.util.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
* Generic bar chart class with full selection set support.
* @author Melinda Green
public class BarChart extends JPanel {
* implemented by data objects to be charted.
public interface BarValue {
/** specifies the hight (data value) of this bar. */
public float getBarValue();
/** optional summary text suitable for tool-tip or other display.*/
public String getInfoText();
public final static int
SORT_NONE = 0,
SORT_ASCENDING = 1,
SORT_DESCENDING = 2;
public final static int
LINEAR_SCALE = 0,
LOG_SCALE = 1;
private static final int
CHART_LEFT_PAD = 50,
CHART_RIGHT_PAD = 25,
CHART_TOP_PAD = 50,
CHART_BOTTOM_PAD = 50,
CHART_MIN_DIM = 80,
MAX_TIC_LABELS = 10, // greatest number of axis tic labels
TIC_LENGTH = 6, // length of axis tic marks
MIN_BOX_WIDTH_FOR_SEPERATOR = 8; // looks crummy if too small
private final static String NO_VALUES_MSG = "No Bar Values Set";
private static final Color NORMAL_COLOR = Color.blue.darker();
private static final Color HIGHLIGHT_COLOR = Color.yellow;
private String xAxisLabel, yAxisLabel;
private int xScaleType, yScaleType; // log or linear
private SelectionSet selections;
private BarValue barValues[] = null;
private float highVal;
private int anchorSelectionIndex = 0; // base index for range selections
private final Rectangle tmpRect = new Rectangle(); // scratch space
* constructs a BarChart panel.
* @param xAxisLabel - String to draw on x axis - optional.
* @param yAxisLabel - String to draw on y axis - optional.
* @param logScale determines whether to draw x axis on log or linear scale.
* @param sel is an optional SelectionSet. the bar chart class always
* maintains a SelectionSet object which it updates on UI selections.
* callers may call getSelectionSet to monitor BarChart selections and
* to make selection changes which the BarChart will respond to. if
* a non-null SelectionSet parameter is provided here, the BarChart will
* listen to and modify the given one instead.
public BarChart(String xAxisLabel, String yAxisLabel,
int xAxisScaleType, int yAxisScaleType, SelectionSet sel)
this.xAxisLabel = xAxisLabel;
this.yAxisLabel = yAxisLabel;
this.selections = sel == null ? new SelectionSet(BarValue.class) : sel;
setScaleType(Axis.X_AXIS, xAxisScaleType);
setScaleType(Axis.Y_AXIS, yAxisScaleType);
setMinimumSize(new Dimension(
CHART_MIN_DIM + CHART_LEFT_PAD + CHART_RIGHT_PAD,
CHART_MIN_DIM + CHART_TOP_PAD + CHART_BOTTOM_PAD));
addMouseListener(new MouseAdapter() {
public void mousePressed(MouseEvent me) {
int b = barAt(me.getPoint().x, me.getPoint().y);
if(b < 0) {
if(!me.isControlDown())
selections.clear(BarChart.this);
repaint();
return;
BarValue selectedBar = barValues;
selections.beginEditing(BarChart.this, false);
if(me.isShiftDown())
selectRange(b, anchorSelectionIndex);
else if(me.isControlDown())
selections.toggle(selectedBar, BarChart.this);
else
selections.setElements(selectedBar, BarChart.this);
if(!me.isShiftDown())
anchorSelectionIndex = b;
selections.endEditing(BarChart.this);
repaint();
addMouseMotionListener(new MouseMotionAdapter() {
public void mouseDragged(MouseEvent me) {
selectRange(barAt(me.getPoint().x), anchorSelectionIndex);
repaint();
} // end constructor
public void setBarValues(BarValue barValues[], final int sortType) {
this.barValues = new BarValue[barValues.length];
System.arraycopy(barValues, 0, this.barValues, 0, barValues.length);
highVal = Float.MIN_VALUE;
for(int i=0; i<barValues.length; i++)
highVal = Math.max(highVal, barValues.getBarValue());
if (sortType != SORT_NONE) {
Arrays.sort(this.barValues, new Comparator() {
public int compare(Object a, Object b) {
float val1 = ((BarValue)a).getBarValue();
float val2 = ((BarValue)b).getBarValue();
if (sortType == SORT_ASCENDING) {
float tmp = val1;
val1 = val2;
val2 = tmp;
return val2 - val1 > 0 ? 1 : val2 == val1 ? 0 : -1; // NOTE: reverse numeric order
repaint();
} // end setBarValues
public void setScaleType(int axis, int type) {
if( ! (type == LOG_SCALE || type == LINEAR_SCALE))
throw new IllegalArgumentException("BarChart.setScaleType: bad scale type " + type);
if(axis == Axis.X_AXIS)
xScaleType = type;
else
yScaleType = type;
repaint();
* returns the selection set object being used.
* this is either the one provided to the constuctor,
* generated internally otherwise.
public SelectionSet getSelectionSet() {
return selections;
private void selectRange(int b1, int b2) {
if(b1 < 0 || b2 < 0)
return;
selections.clear(BarChart.this);
int range_start = Math.min(b1, b2);
int range_end = Math.max(b1, b2);
for(int i=range_start; i<=range_end; i++)
selections.addElement(barValues[i], BarChart.this);
private void computeBar(int barID, Rectangle rect) {
int chart_width = getWidth() - (CHART_LEFT_PAD+CHART_RIGHT_PAD);
int chart_height = getHeight() - (CHART_TOP_PAD+CHART_BOTTOM_PAD);
int chart_right = CHART_LEFT_PAD + chart_width;
int chart_bottom = CHART_TOP_PAD + chart_height;
rect.height = Math.round(barValues[barID].getBarValue() / highVal * chart_height);
rect.y = CHART_TOP_PAD + (chart_height - rect.height);
if (xScaleType==LINEAR_SCALE) {
rect.width = Math.round(chart_width / (float)barValues.length);
rect.x = CHART_LEFT_PAD + barID * rect.width;
else {
rect.x = 0;
if (barID > 0)
rect.x = Axis.plotValue(barID,
.5f, barValues.length, // value range
CHART_LEFT_PAD, getWidth()-CHART_RIGHT_PAD, // screen range
true, getHeight());
int next = Axis.plotValue(barID+1,
.5f, barValues.length, // value range
CHART_LEFT_PAD, getWidth()-CHART_RIGHT_PAD, // screen range
true, getHeight());
rect.width = next - rect.x;
rect.x += CHART_LEFT_PAD;
public void paint(Graphics g) {
super.paint(g);
Point center = new Point(getWidth()/2, getHeight()/2);
if(g instanceof Graphics2D)
center.x -= stringWidth(NO_VALUES_MSG, g) / 2;
if (barValues == null || barValues.length == 0) {
g.drawString(NO_VALUES_MSG, center.x, center.y);
return;
// draw the data boxes
int lastxend = 0;
int chart_width = getWidth() - (CHART_LEFT_PAD+CHART_RIGHT_PAD);
boolean drawBoxSeperators = chart_width / (float)barValues.length > MIN_BOX_WIDTH_FOR_SEPERATOR;
for(int i=0; i<barValues.length; i++) {
g.setColor(selections.contains(barValues[i]) ? HIGHLIGHT_COLOR : NORMAL_COLOR);
computeBar(i, tmpRect);
if(i == 0)
lastxend = tmpRect.x + tmpRect.width;
else {
if (tmpRect.x > lastxend) {
int diff = tmpRect.x - lastxend;
tmpRect.x = lastxend;
tmpRect.width += diff;
lastxend = tmpRect.x+tmpRect.width;
//System.out.println(tmpRect.x + "," + tmpRect.y + " w=" + tmpRect.width + " h=" + tmpRect.height + " lastxend=" + lastxend);
g.fillRect(tmpRect.x, tmpRect.y, tmpRect.width, tmpRect.height);
g.setColor(Color.gray);
if(drawBoxSeperators && i > 0) // draw a line between each box pair
g.drawLine(tmpRect.x, tmpRect.y, tmpRect.x, tmpRect.y+tmpRect.height);
// draw the axes
g.setColor(Color.black);
Axis.drawAxis(Axis.X_AXIS, MAX_TIC_LABELS, TIC_LENGTH,
.5f, barValues.length, // value range
CHART_LEFT_PAD, getWidth()-CHART_RIGHT_PAD, // screen range
CHART_BOTTOM_PAD, xScaleType==LOG_SCALE, getHeight(), g);
Axis.drawAxis(Axis.Y_AXIS, MAX_TIC_LABELS, TIC_LENGTH,
0, highVal, // value range
CHART_BOTTOM_PAD, getHeight()-CHART_TOP_PAD, // screen range
CHART_LEFT_PAD, yScaleType==LOG_SCALE, getHeight(), g);
Font bold = g.getFont().deriveFont(Font.BOLD);
g.setFont(bold);
if (xAxisLabel != null) {
g.drawString(xAxisLabel, getWidth()-stringWidth(xAxisLabel, g)-20, getHeight()-10);
if (yAxisLabel != null) {
g.drawString(yAxisLabel, CHART_LEFT_PAD-40, 25);
} // end paint
private int barAt(int x, int y) {
if(barValues == null)
return -1;
for(int i=0; i<barValues.length; i++) {
computeBar(i, tmpRect);
if(rectContainsPoint(tmpRect, x, y))
return i;
return -1;
private static boolean rectContainsPoint(Rectangle rect, int x, int y) {
return
rect.x <= x && x <= rect.x+rect.width &&
rect.y <= y && y <= rect.y+rect.height;
private int barAt(int x) {
if(barValues == null)
return -1;
for(int i=0; i<barValues.length; i++) {
computeBar(i, tmpRect);
if(tmpRect.x <= x && x <= tmpRect.x+tmpRect.width)
return i;
return -1;
public static int stringWidth(String str, Graphics g) {
if(g instanceof Graphics2D)
return (int)(g.getFont().getStringBounds(str, ((Graphics2D)g).getFontRenderContext()).getWidth()+.5);
else
return g.getFontMetrics().stringWidth(str);
private static class TestDatum implements BarChart.BarValue {
private int id;
private int dataValue;
public TestDatum(int id, int value) {
this.id = id;
this.dataValue = value;
public int getID() { return id; }
public int getDataValue() { return dataValue; }
public float getBarValue() { return getDataValue(); }
public String getInfoText() { return "id # " + id + ", " + dataValue + " value"; }
* example data. unsorted but will have BarChart perform the sorting.
private final static TestDatum testSamples[] = new TestDatum[] {
new TestDatum(12, 2020),
new TestDatum(88, 2300),
new TestDatum(43, 3001),
new TestDatum(81, 2405),
new TestDatum(10, 2069),
new TestDatum( 2, 2054),
new TestDatum(74, 2339),
new TestDatum(56, 2020),
new TestDatum(57, 2021),
new TestDatum(58, 2023),
new TestDatum(59, 2022),
new TestDatum( 4, 4700),
new TestDatum(98, 3100),
new TestDatum(90, 3454),
new TestDatum(33, 2560),
new TestDatum(99, 2299),
new TestDatum(78, 2020),
new TestDatum(65, 2020),
public static void main(String args[]) {
SelectionSet selections = new SelectionSet(TestDatum.class);
selections.addSelectionSetListener(new SelectionSetListener() {
public void selectionSetChanged(SelectionSet set, Object source) {
System.out.println("main: " + set.getNumElements() + " selected ");
BarChart chart = new BarChart("Number of Samples", "Data Value",
BarChart.LOG_SCALE, BarChart.LINEAR_SCALE, selections);
chart.setBarValues(testSamples, BarChart.SORT_DESCENDING);
JFrame frame = new JFrame("Bar Chart Test");
frame.getContentPane().add(chart);
frame.setSize(new Dimension(500, 500));
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setVisible(true);
} // end class BarChart -
How to draw a graph step by step ?
Hi, sirs,
Can you tell me how to draw a graph step by step by using Labview 6.0 ? On one step, I create two variables : one variable is used for X-axis, and other variable is used for Y-axis. Can you give me a simple example ?
Thanks a lot.Try this example out.
Attachments:
plotxy.vi 24 KB
Maybe you are looking for
-
Please add the ability to add multiple folders to the assets folder in order to better organize large numbers of files.
-
Howto sync between alsb console and the Oracle Workshop
I was wondering if it's possible to sync between my project in Oracle Workshop for WebLogic and the project which is deployed on the server. When i do some changes in the alsb-console i want to see/sync/import them in my project in the workshop too.
-
How do i downgrade to 5 gb of icloud storage
I upgraded my icloud storage to 14 gb how do i downgrade to 5 gb
-
Different software and database user
I want to install oracle software and oracle database on two difference user Software user: orasoft Primary group: oinstall Secondary group: dba User Home: /u01/orasoft $ORACLE_HOME=/u00/app/oracle/product/10.2.0 /u00: owner: orasoft:oinstall permiss
-
CS5 not working-Java problem?
Hi, Just installed 10.9 and found myself unable to use my Adobe CS5. My computer is asking for Java SE 6 Runtime and tries to automatically load the software-but fails. Alert says the software can't be found on the server-??? Installed Java 7 from th