Get rid of BarChart legend and create a horizontal line to a specific value

Hey,.
I work with barregraphes.
1st screen: I want to disable the legend of my Barchart.
http://imgur.com/wMo6Tfv, DRiNA9C
Second screen: I want to create a line in my Barchart on a specific value 700 as seen on the screen.
http://imgur.com/wMo6Tfv, DRiNA9C #1
Is this Possible? Also: what object to set the ID to change the color bar. I tried

Chart histogram;
barchart.setId ("Chart");

CSS:
#barchart
{
-fx-background-color: red;
}
But it did not work. Thank you!

No, you do not miss anything. I had a temporary brain freeze. You can add nodes directly to an arbitrary region.

If this makes it a little harder. You need to add the line to the container in which your chart is maintained, and of course this means that you understand the coordinates of the line relative to this container. To simplify a bit, axis has a scale property of conversion of units of the axis to display units, and also according to the docs of css, the table has a child with the css class "table-horizontal-zero line." So one possible strategy is to enter this line and figure the change in the coordinates needed him. There is still work to do to find the correct coordinates relative to the container, and if you want it to run with things move (for example, when the user resizes the window), you need to do a lot of link.

This seems to work:

import java.util.Arrays;
import java.util.List;

import javafx.application.Application;
import javafx.beans.binding.DoubleBinding;
import javafx.beans.property.DoubleProperty;
import javafx.beans.property.SimpleDoubleProperty;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Node;
import javafx.scene.Scene;
import javafx.scene.chart.CategoryAxis;
import javafx.scene.chart.LineChart;
import javafx.scene.chart.NumberAxis;
import javafx.scene.chart.XYChart;
import javafx.scene.control.Button;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.BorderPane;
import javafx.scene.layout.Region;
import javafx.scene.shape.Line;
import javafx.stage.Stage;
import javafx.util.StringConverter;

public class LineChartSample extends Application {

  @Override
  public void start(Stage stage) {
    stage.setTitle("Line Chart Sample");
    final CategoryAxis xAxis = new CategoryAxis();
    final NumberAxis yAxis = new NumberAxis();
    yAxis.setTickLabelFormatter(new StringConverter() {

      @Override
      public Number fromString(String string) {
        return Double.parseDouble(string);
      }

      @Override
      public String toString(Number value) {
        return String.format("%2.2f", value);
      }

    });
    xAxis.setLabel("Month");

    final LineChart lineChart = new LineChart(
        xAxis, yAxis);

    lineChart.setTitle("Stock Monitoring, 2010");
    lineChart.setAnimated(false);

    final XYChart.Series series = new XYChart.Series<>();
    series.setName("My portfolio");

    final List> data = Arrays.asList(

    new XYChart.Data("Jan", 23),
        new XYChart.Data("Feb", 14),
        new XYChart.Data("Mar", 15),
        new XYChart.Data("Apr", 24),
        new XYChart.Data("May", 34),
        new XYChart.Data("Jun", 36),
        new XYChart.Data("Jul", 22),
        new XYChart.Data("Aug", 45),
        new XYChart.Data("Sep", 43),
        new XYChart.Data("Oct", 17),
        new XYChart.Data("Nov", 29),
        new XYChart.Data("Dec", 25));

    series.getData().addAll(data);

    final AnchorPane chartContainer = new AnchorPane();
    AnchorPane.setTopAnchor(lineChart, 0.0);
    AnchorPane.setBottomAnchor(lineChart, 0.0);
    AnchorPane.setLeftAnchor(lineChart, 0.0);
    AnchorPane.setRightAnchor(lineChart, 0.0);
    chartContainer.getChildren().add(lineChart);

    Button button = new Button("Show line");
    button.setOnAction(new EventHandler() {

      @Override
      public void handle(ActionEvent event) {

        final double lineLevel = 35;

        final Region chartRegion = (Region) lineChart
            .lookup(".chart-plot-background");

        final Line zeroLine = (Line) lineChart
            .lookup(".chart-horizontal-zero-line");

        final DoubleProperty startX = new SimpleDoubleProperty(0);
        final DoubleProperty endX = new SimpleDoubleProperty(0);
        final DoubleProperty y = new SimpleDoubleProperty(0);

        startX.bind(new DoubleBinding() {
          {
            super.bind(chartRegion.boundsInParentProperty());
          }

          @Override
          protected double computeValue() {
            double x = chartRegion.getBoundsInParent().getMinX();
            for (Node n = zeroLine.getParent().getParent(); n != chartContainer && n.getParent() != null; n = n.getParent()) {
              x += n.getBoundsInParent().getMinX();
            }
            return x;
          }
        });

        endX.bind(new DoubleBinding() {
          {
            super.bind(chartRegion.boundsInParentProperty());
          }

          @Override
          protected double computeValue() {
            double x = chartRegion.getBoundsInParent().getMaxX();
            for (Node n = zeroLine.getParent().getParent(); n != chartContainer && n.getParent() != null; n = n.getParent()) {
              x += n.getBoundsInParent().getMinX();
            }
            return x;
          }
        });

        y.bind(new DoubleBinding() {
          {
            super.bind(chartRegion.boundsInParentProperty(),
                yAxis.scaleProperty(), zeroLine.startYProperty());
          }

          @Override
          protected double computeValue() {
            double y = zeroLine.getStartY() + lineLevel * yAxis.getScale();
            for (Node n = zeroLine.getParent().getParent(); n != chartContainer && n.getParent() != null; n = n.getParent()) {
              y += n.getBoundsInParent().getMinY();
            }
            return y;
          }
        });

        Line line = new Line();
        line.startXProperty().bind(startX);
        line.endXProperty().bind(endX);
        line.startYProperty().bind(y);
        line.endYProperty().bind(y);

        chartContainer.getChildren().add(line);
      }

    });

    BorderPane root = new BorderPane();
    root.setCenter(chartContainer);
    root.setTop(button);

    Scene scene = new Scene(root, 800, 600);
    lineChart.getData().add(series);

    stage.setScene(scene);
    stage.show();

  }

  public static void main(String[] args) {
    launch(args);
  }
}

Tags: Java

Similar Questions

  • How can I get rid of the dowry and get a pen to start typing my paper?

    I opened the Windows Journal and there is a small box that asks me to install something, I don't remember what now.  But whenenver, I open a page to start typing my diary, including 'white' I get only a small point where is my cursor.  I can't get a pen or a highlighter or make any strike.  What can I do to get rid of this point and be able to start typing my paper?

    Hi MaggieLee7747,

    Have you been able to use Windows Journal on your system before with no problems?

    You can read the articles and check if it helps:

    Write or draw in Journal using a stylus

    Create and save a Journal note

    You can also restore all default Windows Journal settings and check if it helps:

    Restore the default settings of the Journal

  • The Task Manager - I'm trying to get rid of the programs and files unnecessary

    I have more than 140 lines of running abuse. I'm trying to get rid of the programs and unnecessary files.

    When I am online the cpu is also the diagrams, and it doesn't take long before his stop at all

    Terry c

    Hello

    Use the clean boot method and Process Explorer to determine what are these services and, if applicable
    ask questions. Of course, check out the other methods as well to help improve the system
    performance.

    What antivirus/antispyware/security products do you have on the machine? Be one you have NEVER
    on this machine, including those you have uninstalled (they leave leftovers behind which can cause
    strange problems).

    ----------------------------------------------------

    Follow these steps:

    Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Also run CheckDisk, so we cannot exclude as much as possible of the corruption.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    ==========================================

    After the foregoing:

    How to troubleshoot a problem by performing a clean boot in Windows Vista
    http://support.Microsoft.com/kb/929135
    How to troubleshoot performance issues in Windows Vista
    http://support.Microsoft.com/kb/950685

    Optimize the performance of Microsoft Windows Vista
    http://support.Microsoft.com/kb/959062
    To see everything that is in charge of startup - wait a few minutes with nothing to do - then right-click
    Taskbar - the Task Manager process - take a look at stored by - Services - this is a quick way
    reference (if you have a small box at the bottom left - show for all users, then check that).

    How to check and change Vista startup programs
    http://www.Vistax64.com/tutorials/79612-startup-programs-enable-disable.html

    A quick check to see that load method 2 is - using MSCONFIG then put a list of
    those here.
    --------------------------------------------------------------------

    Tools that should help you:

    Process Explorer - free - find out which files, key of registry and other objects processes have opened.
    What DLLs they have loaded and more. This exceptionally effective utility will show you even who has
    each process.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896653.aspx

    Autoruns - free - see what programs are configured to start automatically when you start your system
    and you log in. Autoruns also shows you the full list of registry and file locations where applications can
    Configure auto-start settings.
    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx
    Process Monitor - Free - monitor the system files, registry, process, thread and DLL real-time activity.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896645.aspx

    There are many excellent free tools from Sysinternals
    http://TechNet.Microsoft.com/en-us/Sysinternals/default.aspx

    -Free - WhatsInStartUP this utility displays the list of all applications that are loaded automatically
    When Windows starts. For each request, the following information is displayed: Type of startup (registry/Startup folder), Command - Line String, the product name, Version of the file, the name of the company;
    Location in the registry or the file system and more. It allows you to easily disable or remove unwanted
    a program that runs in your Windows startup.
    http://www.NirSoft.NET/utils/what_run_in_startup.html

    There are many excellent free tools to NirSoft
    http://www.NirSoft.NET/utils/index.html

    Window Watcher - free - do you know what is running on your computer? Maybe not. The window
    Watcher says it all, reporting of any window created by running programs, if the window
    is visible or not.
    http://www.KarenWare.com/PowerTools/ptwinwatch.asp

    Many excellent free tools and an excellent newsletter at Karenware
    http://www.KarenWare.com/

    ===========================================

    Vista and Windows 7 updated drivers love then here's how update the most important.

    This is my generic how updates of appropriate driver:

    This utility, it is easy see which versions are loaded:

    -Free - DriverView utility displays the list of all device drivers currently loaded on your system.
    For each driver in the list, additional useful information is displayed: load address of the driver,
    Description, version, product name, company that created the driver and more.
    http://www.NirSoft.NET/utils/DriverView.html

    For drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
    Control Panel - device - Graphics Manager - note the brand and complete model
    your video card - double - tab of the driver - write version information. Now, click on update
    Driver (this can do nothing as MS is far behind the certification of drivers) - then right-click.
    Uninstall - REBOOT it will refresh the driver stack.

    Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party
    with their own software and drivers and all other main drivers that you have.

    Now in the system manufacturer (Dell, HP, Toshiba as examples) site (in a restaurant), peripheral
    Site of the manufacturer (Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for
    BIOS, Chipset and software updates on the site of the manufacturer of the system here.)

    Download - SAVE - go to where you put them - right click - RUN AD ADMIN - REBOOT after
    each installation.

    Always check in the Device Manager - drivers tab to be sure the version you actually install
    presents itself. This is because some restore drivers before the most recent is installed (sound card drivers
    in particular that) so to install a driver - reboot - check that it is installed and repeat as
    necessary.

    Repeat to the manufacturers - BTW in the DO NOT RUN THEIR SCANNER device - check
    manually by model.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    If you update the drivers manually, then it's a good idea to disable the facilities of driver under Windows
    Updates, that leaves about Windows updates but it will not install the drivers that will be generally
    older and cause problems. If updates offers a new driver and then HIDE it (right click on it), then
    get new manually if you wish.

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    ===========================================

    Refer to these discussions because many more excellent advice however don't forget to check your antivirus
    programs, the main drivers and BIOS update and also solve the problems with the cleanboot method
    first.

    Problems with the overall speed of the system and performance
    http://support.Microsoft.com/GP/slow_windows_performance/en-us

    Performance and Maintenance Tips
    http://social.answers.Microsoft.com/forums/en-us/w7performance/thread/19e5d6c3-BF07-49ac-a2fa-6718c988f125

    Explorer Windows stopped working
    http://social.answers.Microsoft.com/forums/en-us/w7performance/thread/6ab02526-5071-4DCC-895F-d90202bad8b3

    Hope these helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • How can I get rid of video messages and return to video calls on an iPAD?

    Somehow, I managed to transform video calling to video messages, I have everything together to get rid of the messages and return calls. How do I do that?

    The video call option also lacks for contacts who are online? Video messaging option normally appears to contacts who are offline, you can also send video messages, while the contact is offline.

  • After downloading an application I see is no longer the splash screen, how can I get rid of the app and restore my pc when I do not see the screen

    After downloading an application I see is no longer the splash screen, how can I get rid of the app and restore my pc when I don't see the screen, please help

    Hello

    Do a system restore to a date before you had this problem:

    "How to make a restore of the system in Windows 8 and 8.1" . "

    http://www.eightforums.com/tutorials/4692-System-Restore-how-do-Windows-8-a.html

    Follow this path to a Safe Mode system restore:

    "5 ways to boot mode safe Windows 8 & Windows 8.1"

    http://www.7tutorials.com/5-ways-boot-safe-mode-Windows-8-Windows-81

    See you soon.

  • How to create a horizontal line in the region of html

    Hello

    How can I create the html elements, including a horizontal line in an html area filled with items. I want to use this horizontal line to part elements optically. Moreover, my solution for now is to group the elements belonging together in a separate html area. So I have now 3 parts of html, each filled with 5 columns of elements. Is it possible to align the elements in the 3 regions (together)? Cause at the present time, only the items in each region are aligned.

    I use oracle 11 g 2 with apex 4.1

    wucis wrote:

    Apex version is 4.1

    Theme: Sapphire 17

    Page: Two level Tabs - right Sidebar (optional / based on a table)

    The region is HTML

    Main question is, how to create a horizontal line as visible separator between items.

    My personal preference would be to group the items according to the needs in the subregions and use CSS to display the Visual borders and uniform spacing of control over formatting tables.

    If however you want using HTML single region, is to create elements of the only view to the agenda of the positions of the sequence in the region where you want the jumps to appear, with the following parameters:

    Name: PX_HR_1 / / substitute suffix number and an increment of page as required

    Display in the form: Display only

    Save Session State: NO.

    Start on a new line: Yes

    Start the new field: Yes

    ColSpan: number of columns in your layout

    Label: leave blank

    Horizontal/Vertical alignment: Above

    Model: --choose a model--

    Type of source: Static assignment

    Source of value or expression:

  • How can I create a horizontal line on a line of text?

    Hello

    I have FM 12.0.3.424.

    Does anyone know how to create a horizontal line under the title text that matches the width of the page?  Similar to creating a border, but without the top and sides.

    Is it still possible?

    Thank you in advance!

    Use the downstairs 'Frame' attribute on the Advanced tab of the designer for your title of paragraph tag to use a framework named since your reference page. If you use the default templates for your documents, you might try the selection of single line (or create your own).

  • Help get rid of the changes and unwanted software.

    Recently, someone in my house accessible a website called clipconverter.cc and recorded a few videos on our computer. I logged today to find a number of CRAZY to say "INSTALL ME" all over my desk, my changed Redirect 'Safe Finder' safari and 3 or 4 new applications which I didn't flash files.

    I began to remove them and fixing of safari, but I only have limited knowledge and I need assistance in ensuring that everything is banned from my computer. Applications and changes I found were:

    MegaBackup

    Advanced Mac cleanser

    A hidden application called "Mac file opener.

    Search Genius (extension of the internet)

    Safe Finder (I assume part of the genius of the research)

    and some changes, one for advanced cleaner Mac and the other I don't know.

    I left all the processes I could think, deleted apps, went into the library and got rid of the App help files related to them, took records of newspapers that have been linked with them. Remove the extension from the internet, erased settings and history and my connection activities value only those I knew, and I wanted to. I could use some help understanding, if there is everything I need to look at and to get rid of. any help would be appreciated.

    I have a report of EtreCheck, I'll have a bit of trouble understanding... in particular the sections "failures" or "not responsible"... my suspicion is it's the bits of third still floating out there. But I'm not sure. I also noticed a certain process I'm familiar with, but that doesn't say much (I'm not familiar with many of them).

    all the best!

    -C

    Hardware information:

    iMac - model: iMac16, 2

    1 2.8 GHz Intel Core i5 processor: 4 cores

    16 GB OF RAM

    Information on this video:

    Intel Iris Pro 6200 - VRAM graphics card: (null)

    System software:

    OS X 10.11.6 (15-1004) - Uptime: 0 days 0:0

    Disc information:

    SM0128G SSD APPLE disk0: (121,33 GB)

    EFI (disk0s1) < not mounted >: 209,7 MB

    < not mounted > (disk0s2) disk0s2: 120,99 GB

    Boot OS X (disk0s3) < not mounted >: 134.2 MB

    ST2000LM003 disk HARD APPLE disk1: (2 TB)

    EFI (disk1s1) < not mounted >: 209,7 MB

    < not mounted > (disk1s2) disk1s2: 2 TB

    HD (disk1s3) < not mounted > recovery: 650 MB

    USB information:

    FireWire information:

    Kernel extensions:

    Problem system launch demons:

    com.Apple.logD.plist [failure]

    org.Postfix.newaliases.plist [loading]

    Launch Agents system problem:

    Launch the demons:

    Launch of Agents:

    com.mentmac.service.update.plist [loading]

    User Agents to launch:

    [no charge]. DS_Store

    com.PCV.hlpramcn.plist [failure]

    com.valvesoftware.steamclean.plist [loading]

    User Login items:

    iTunesHelper

    3rd party preference panes:

    None

    Internet Plug-ins:

    Default Browser.plugin

    QuickTime Plugin.plugin

    The Internet Plug-ins user:

    Bad fonts:

    None

    Top of page process of CPU:

    1.9% syncdefaultsd

    1.8% EtreCheck

    1.5% DCs

    0.8% WindowServer

    0.6% fontd

    0.3% com.apple.iCloudHelper

    0.3% accountsd

    0.2% com.apple.sbd

    0.2% syslogd

    0.1% hidd

    Top of the process of memory:

    98.3 MB mds_stores

    81.9 MB ocspd

    Finder 65.5 MB

    WindowServer 65.5 MB

    Softwareupdated 49.2 MB

    Syncdefaultsd 49.2 MB

    CalendarAgent 49.2 MB

    Dock of 49.2 MB

    32.8 MB AppleIDAuthAgent

    32.8 MB mds

    Most of these programs, particularly advanced Mac cleanser and Mac Filer Opener are what is referred to as known software / bad.

    Download Malwarebytes (it's free) from their Web site at: https://www.malwarebytes.com/products/.

    Let run a full scan - it should only take a few seconds - and trash the files it finds. You will need to clear your cache of Safari, but also clear your history in your web browser.

    Let me know if that solves your problem!

    Good luck!

  • How can I get rid of many ads and coming dating site in my email

    How can too many ads I get rid of this junk

    Even if your profile says you're on 10.8 concepts are the same

    Address postal (Yosemite): reduce the spam in your Inbox

    any with your email in their address book on a public messaging system like yahoo and google, etc. can inadvertently also contribute to your number of spam. If you sign up for sites with your e-mail address or if someone is using your email address then expect entities behind these sites to continually bombard you with junk because it costs them nothing to do, and they can make money by selling your account info.

  • How can I get rid of game Center and the gargowitsch process?

    My Mac are dedicated to work. I games have never played on them and never will. Everything about that I want to go. There is this annoying bit of software called "garguillo" who insists on talking to the outside world and I need to find a solution for this. Solutions who apparently worked in Mavericks or Yosemite, etc., no longer works on El Capitan, at least not for me. I could ask the very obvious question 'Hey Apple, why can't disable parts of the OS that are useless to me?' but I'd be happy just to get rid of these. Can anyone help?

    In/System/Library/LaunchAgents/is a file named com.apple.gamed.plist. If you CTRL - or RIGHT click and select move to trash, and then restart the computer, the daemon will not start. Problem solved. I suggest that you not empty the trash, but store the element somewhere. If you can't be bothered with restart then open the activity monitor, find the process in the list, select it, click the Kill in the toolbar, then click the force quit button.

  • Get rid of software spies and other trackers? __

    I use McAfee software, but think I have spyware, malware, cookies and other tracking devices "considerably slow down my computer! When I log my Comcast Internet, it takes a long time and I see "waiting for bridgetrack, or Zedo, Malware.com... generic and others ' before I get connected. Then my computer research are very slow! How can I get rid of all these trackers? Help really appreciated.

    McAfee is probably the worst choice for an antivirus, with Norton then close. Recommended antivirus programs are (commercial) NOD32, Avast or Avira (both have free versions). However, you need to get your computer cleaned before removing McAfee and install another antivirus.

    Through these generals the malware removal not systematically - http://www.elephantboycomputers.com/page2.html#Removing_Malware

    Include analysis with David Lipman's Multi_AV of and follow the instructions to do all scans in Mode without failure. Read the Special Notes about the use of Multi_AV in Vista.

    http://www.elephantboycomputers.com/page2.html#Multi-AV - instructions
    http://tinyurl.com/yoeru3 - download link and further instructions

    If you can't do the work yourself (and there is no shame in admitting this isn't your cup of tea), take the machine to a professional computer repair shop (not your local equivalent of BigComputerStore/GeekSquad). Please be aware that not all shops are skilled at removing malware, and even if they are, your computer may be so infested that Windows will have to be properly installed. If possible, have all your data backed up before taking the machine into a shop. MS - MVP - Elephant Boy computers - don't panic!

  • How can I get rid of vista completely and install xp?

    How can I get rid of vista without having to run 2 operating systems?  and install xp?

    Check the computer manufacturer's Web site if there are all the XP drivers for your model computer.
    If there is none, forget XP.

    Next thing you'll need is to buy a XP disc.

    Then perform a new installation of XP, Vista removal in the process.

    See you soon.

  • How to get rid of the old and always offered updates - Vista

    Hello, I have Vista and it offers me a very old version of the updates to be updated and for this reason I can't get/retired new updates... Update window keeps on telling me that I have 165 updates to be downloaded and installed... It happened after re-installing the operating system as 4months ago and even after the automatic updates when I changed the settings to ask me before auto update... So I tried to make them hidden, but after each reboot, Vista offers me the same old * I don't want to have on my computer because after a re-installation of the wi - fi stopped working and I had to download the new drivers on the computer of my gf. Does anyone know how to get rid of them? Where a list or scheduled updates are stored? Thank you very much, I like Vista. He brought me only good times with my computer. Tomas

    Hello

    Follow these steps and check if that helps.

    Step 1:

    I suggest you to reset the updated Windows components and check if that helps.

    Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    322756 how to back up and restore the registry in Windows

    Step 2:
    Problems with the installation of the updates.

  • I don't want to use a password since I am the only one using my computer. How can I get rid of the password and does not have the locked computer?

    When setting up my new computer, I put a password so that the computer is locked. Now, I'm the only one using the computer and it's an embarrassment to have to put a password everytime I open my computer, even if it is not stopped. I know that there must be a way to get rid of the password. I would like to help you with this.

    See the link below:

    http://www.PCWorld.com/article/2015587/how-to-bypass-the-Windows-8-password-screen.html

  • SQL * PLUS command to get rid of the old and new sqls when using and

    Hi all

    If we use "and in" any query sql in SQL * PLUS, we get the OLD and the NEW sqls as below. How can I get rid of them?
    SQL> select n.name,s.value from v$sesstat s,v$statname n where n.STATISTIC#=s.STATISTIC# and n.name in ('physical read bytes','physical write bytes','redo size','redo writes','session pga memory','sorts (disk)','sorts (memory)','sorts (rows)','undo change vector size','temp space allocated (bytes)') and s.sid=&in;
    Enter value for in: 3
    old   1: select n.name,s.value from v$sesstat s,v$statname n where n.STATISTIC#=s.STATISTIC# and n.name in ('physical read bytes','physical write bytes','redo size','redo writes','session pga memory','sorts (disk)','sorts (memory)','sorts (rows)','undo change vector size','temp space allocated (bytes)') and s.sid=&in
    new   1: select n.name,s.value from v$sesstat s,v$statname n where n.STATISTIC#=s.STATISTIC# and n.name in ('physical read bytes','physical write bytes','redo size','redo writes','session pga memory','sorts (disk)','sorts (memory)','sorts (rows)','undo change vector size','temp space allocated (bytes)') and s.sid=33
    
    NAME                                                              VALUE
    ------------------------------------------------------------ ----------
    session pga memory                                              1199976
    physical read bytes                                               90112
    physical write bytes                                                  0
    redo size                                                           200
    redo writes                                                           0
    temp space allocated (bytes)                                          0
    undo change vector size                                               0
    sorts (memory)                                                        0
    sorts (disk)                                                          0
    sorts (rows)                                                          0
    
    10 rows selected.
    TIA,
    JJ

    Hello

    highlight:

    set verify off
    

    Herald tiomela
    http://htendam.WordPress.com

Maybe you are looking for

  • I noticed a few new positions of pilot but is not where I expect to find the

    You would think that the new positions would be top of the pile, but postest are in the Middle, at the end of the stack. For example, there is a new file called Fn-esse Toshiba for Windows XP. It is said he was published on 22/04/09 but published on

  • Hey you! How to increase the speed of my laptop?

    is my laptop, HP Pavilion dv9000 (GF19EA #B1A), have Windows Vista 32 - Bit(home edition) and when I check with Norton PC Checkup, the program tell me, my laptop has a promblem with the sector performance (poor). Please how can I fix the promblem? Th

  • STP bluscreen error because of the device in Windows XP driver

    Originaltitle: white screen problem came with an error message. And the stop (blue screen) error caused by a device driver. I have not installed anything that either of the end someone can help please.I have not installed anything on the Pc quite a w

  • Windows xp no driver sound

    I have windows xp and all of a sudden I have no sound driver and it let me restore the system or down load anyything. It was working fine a week ago. I change wont start. could be my problem?

  • BlackBerry smartphones I need help for Blackberry PIN.

    HIII, well Ive had my black Berry for like 20 days now and im on contract (monthly salary), I get 300 minutes unlimted texts and 500 MB of internet, I want to use the blackberry pin because some of my friends have pin but no text, so I can't text the