Line chart error

Created a line chart with two series as follows:
Query for series 1
select null, period_no, valuex
(select null, period_no, avg(actual) valuex
from kpi_performance
group by period_by
order by period_by)
Query for series 2
select null, period_no, valuex
(select null, period_no, avg(forecast) valuex
from kpi_performance
group by period_by
order by period_by)
When the page is executed the following error is displayed:
"SVG chart error: ORA-20001: line_chart error: ORA-20001: get_data error:ORA-20001: Parse error: ORA-00936: missing expression"
I think this is related to the use of "group by" and "order by" in the queries but cannot find a workaround.
Any ideas ?
Thanks
Vincent

I believe that the problem may be the ORDER BY. I believe that you cannot have an ORDER BY clause in a series.

Similar Messages

  • Help - SVG Line Chart - ORA-20001 line_chart error Parse error ORA-00911

    Gurus,
    Need help.
    I am trying to plat multiple series in a SVG line chart but am repeatedly getting line_chart error eventhough SQL queries work perfectly in sql workshop/sqlplus etc. How do I get past this error.
    Sample queries I am using to plot line chart are
    select link, col1, value from (select null link, col1, col2 value from xy);
    select link, col1, value from (select null link, col1, col3 value from xy);
    xy is a table with three number columns col1, col2 & col3.
    Thanks in advance

    Try taking the semicolon ";" off the end of the SELECT statements.
    Mike

  • JavaFX Update Line Chart on Tab pane

    Hi all,
    I am wondering can anybody help with this problem.
    I have an application that can create a new tab when the LineChart FXML view is called by way of onMouseClicked event from a bar graph (using scenebuilder). However, I need this Line chart to update when the user clicks a new bar on the bar graph page to show this new data.
    Initially the Line chart tab will open and display data from the first bar graph click and when I click another bar in Tab A (bar chart) if it has the same number of rows it will refresh the LineChart tab otherwise I get an error. Then if I try to load another line graph tab using a different bar graph as the source I get a child duplication error
    (So tab A has a bar graph that calls tab B to represent data as a line graph, however it wont do it more then once when there is a different number of points to show)
    (Also tab C, another Bar chart will not load a new tab) Exceptions below & Class detail below.
    I am using clear() to empty the observable list I have which is used to populate the graph and table before it reads in the new data values
    What is the proper way/ best way to dynamically add another tab and update the chart in the tab with new values? Any help would be appreciated.
    I am getting the following exceptions:
    Exception in thread "JavaFX Application Thread" java.lang.IndexOutOfBoundsException: Index: 11, Size: 7
      at java.util.ArrayList.rangeCheckForAdd(ArrayList.java:661)
      at java.util.ArrayList.add(ArrayList.java:473)
      at com.sun.javafx.collections.ObservableListWrapper.doAdd(ObservableListWrapper.java:101)
      at javafx.collections.ModifiableObservableListBase.add(ModifiableObservableListBase.java:151)
      at com.sun.javafx.collections.VetoableListDecorator.add(VetoableListDecorator.java:320)
      at com.sun.javafx.scene.control.skin.TabPaneSkin$TabHeaderArea.addTab(TabPaneSkin.java:854)
      at com.sun.javafx.scene.control.skin.TabPaneSkin$TabHeaderArea.access$500(TabPaneSkin.java:659)
      at com.sun.javafx.scene.control.skin.TabPaneSkin.addTabs(TabPaneSkin.java:276)
      at com.sun.javafx.scene.control.skin.TabPaneSkin.lambda$initializeTabListener$463(TabPaneSkin.java:357)
      at com.sun.javafx.scene.control.skin.TabPaneSkin$$Lambda$108/885312968.onChanged(Unknown Source)
      at com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(ListListenerHelper.java:329)
      at com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:73)
      at javafx.collections.ObservableListBase.fireChange(ObservableListBase.java:233)
      at javafx.collections.ListChangeBuilder.commit(ListChangeBuilder.java:482)
      at javafx.collections.ListChangeBuilder.endChange(ListChangeBuilder.java:541)
      at javafx.collections.ObservableListBase.endChange(ObservableListBase.java:205)
      at javafx.collections.ModifiableObservableListBase.add(ModifiableObservableListBase.java:155)
      at java.util.AbstractList.add(AbstractList.java:108)
      at javafxapplication2.FXMLExecutionChartController$3.handle(FXMLExecutionChartController.java:262)
      at javafxapplication2.FXMLExecutionChartController$3.handle(FXMLExecutionChartController.java:241)
      at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
      at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
      at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
      at javafx.event.Event.fireEvent(Event.java:198)
      at javafx.scene.Scene$ClickGenerator.postProcess(Scene.java:3437)
      at javafx.scene.Scene$ClickGenerator.access$7900(Scene.java:3365)
      at javafx.scene.Scene$MouseHandler.process(Scene.java:3733)
      at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3452)
      at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1728)
      at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2461)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:348)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:273)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:382)
      at com.sun.glass.ui.View.handleMouseEvent(View.java:553)
      at com.sun.glass.ui.View.notifyMouse(View.java:925)
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      at com.sun.glass.ui.win.WinApplication.lambda$null$141(WinApplication.java:102)
      at com.sun.glass.ui.win.WinApplication$$Lambda$37/1146743572.run(Unknown Source)
      at java.lang.Thread.run(Thread.java:745)
    Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
      at javafxapplication2.FXMLExecutionChartController$3.handle(FXMLExecutionChartController.java:263)
      at javafxapplication2.FXMLExecutionChartController$3.handle(FXMLExecutionChartController.java:241)
      at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
      at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
      at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
      at javafx.event.Event.fireEvent(Event.java:198)
      at javafx.scene.Scene$ClickGenerator.postProcess(Scene.java:3437)
      at javafx.scene.Scene$ClickGenerator.access$7900(Scene.java:3365)
      at javafx.scene.Scene$MouseHandler.process(Scene.java:3733)
      at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3452)
      at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1728)
      at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2461)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:348)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:273)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:382)
      at com.sun.glass.ui.View.handleMouseEvent(View.java:553)
      at com.sun.glass.ui.View.notifyMouse(View.java:925)
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      at com.sun.glass.ui.win.WinApplication.lambda$null$141(WinApplication.java:102)
      at com.sun.glass.ui.win.WinApplication$$Lambda$37/1146743572.run(Unknown Source)
      at java.lang.Thread.run(Thread.java:745)
    Class Information:
    //Call to the Line chart graph
    n.setOnMouseClicked(new EventHandler<MouseEvent>()
                    @Override
                    public void handle ( MouseEvent e )
                        String s1 = dt.getXValue();
                        String s = s1.trim();
                        if ( baseHash.containsKey(s) )
                            String value = (String) baseHash.get(s);
                            String hashValue = value.substring(6, 38);
                            System.out.println(hashValue);
                            FXMLLineChartController.setHash(hashValue);
                             try
                                  lineTab .setText("Line Graph (Rows Read)");
                                  lineTab.setContent(FXMLLoader.load(getClass().getResource("/javafxapplication2/FXMLLineChart.fxml")));
                                  Node aNode = (Node) e.getSource();
                                  Scene scene = aNode.getScene();
                                  thisTabPane = (TabPane) scene.lookup("#tabPane");
                                  thisTabPane.getTabs().add(lineTab);
                                  selectionModel.selectLast();
                                  //throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
                              catch ( IOException ex )
                                  Logger.getLogger(FXMLWrittenChartController.class.getName()).log(Level.SEVERE, null, ex);
    //Line Chart controller
    //Create the Graph
        @FXML
        private LineChart barChart;
    public void populateGraph ()
            System.out.println("Populate graph Line Chart");
            final CategoryAxis xAxis = new CategoryAxis();
            final NumberAxis yAxis = new NumberAxis();
            ObservableList<XYChart.Series<String, Number>> barChartData = FXCollections.observableArrayList();
            barChartData.clear();
            baseHash.clear();
            xAxis.setLabel("Query");
            yAxis.setLabel("Number of Executions");     
            series1.setName("Data from User DB2 for Query " +getHash() );
            for ( int i = 0; i < userLine.size(); i++ )
                    System.out.println(getHash() + " Usersize = " + userLine.size() + " base size " +baseLine.size());
                    series1.getData().add(new XYChart.Data<String, Number>(userLine.get(i).getBuildNumber(), (userLine.get(i).getDYN_Num_Executions())));
            barChartData.add(series1);
            barChart.setData(barChartData);

    Hi all,
    I am wondering can anybody help with this problem.
    I have an application that can create a new tab when the LineChart FXML view is called by way of onMouseClicked event from a bar graph (using scenebuilder). However, I need this Line chart to update when the user clicks a new bar on the bar graph page to show this new data.
    Initially the Line chart tab will open and display data from the first bar graph click and when I click another bar in Tab A (bar chart) if it has the same number of rows it will refresh the LineChart tab otherwise I get an error. Then if I try to load another line graph tab using a different bar graph as the source I get a child duplication error
    (So tab A has a bar graph that calls tab B to represent data as a line graph, however it wont do it more then once when there is a different number of points to show)
    (Also tab C, another Bar chart will not load a new tab) Exceptions below & Class detail below.
    I am using clear() to empty the observable list I have which is used to populate the graph and table before it reads in the new data values
    What is the proper way/ best way to dynamically add another tab and update the chart in the tab with new values? Any help would be appreciated.
    I am getting the following exceptions:
    Exception in thread "JavaFX Application Thread" java.lang.IndexOutOfBoundsException: Index: 11, Size: 7
      at java.util.ArrayList.rangeCheckForAdd(ArrayList.java:661)
      at java.util.ArrayList.add(ArrayList.java:473)
      at com.sun.javafx.collections.ObservableListWrapper.doAdd(ObservableListWrapper.java:101)
      at javafx.collections.ModifiableObservableListBase.add(ModifiableObservableListBase.java:151)
      at com.sun.javafx.collections.VetoableListDecorator.add(VetoableListDecorator.java:320)
      at com.sun.javafx.scene.control.skin.TabPaneSkin$TabHeaderArea.addTab(TabPaneSkin.java:854)
      at com.sun.javafx.scene.control.skin.TabPaneSkin$TabHeaderArea.access$500(TabPaneSkin.java:659)
      at com.sun.javafx.scene.control.skin.TabPaneSkin.addTabs(TabPaneSkin.java:276)
      at com.sun.javafx.scene.control.skin.TabPaneSkin.lambda$initializeTabListener$463(TabPaneSkin.java:357)
      at com.sun.javafx.scene.control.skin.TabPaneSkin$$Lambda$108/885312968.onChanged(Unknown Source)
      at com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(ListListenerHelper.java:329)
      at com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:73)
      at javafx.collections.ObservableListBase.fireChange(ObservableListBase.java:233)
      at javafx.collections.ListChangeBuilder.commit(ListChangeBuilder.java:482)
      at javafx.collections.ListChangeBuilder.endChange(ListChangeBuilder.java:541)
      at javafx.collections.ObservableListBase.endChange(ObservableListBase.java:205)
      at javafx.collections.ModifiableObservableListBase.add(ModifiableObservableListBase.java:155)
      at java.util.AbstractList.add(AbstractList.java:108)
      at javafxapplication2.FXMLExecutionChartController$3.handle(FXMLExecutionChartController.java:262)
      at javafxapplication2.FXMLExecutionChartController$3.handle(FXMLExecutionChartController.java:241)
      at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
      at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
      at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
      at javafx.event.Event.fireEvent(Event.java:198)
      at javafx.scene.Scene$ClickGenerator.postProcess(Scene.java:3437)
      at javafx.scene.Scene$ClickGenerator.access$7900(Scene.java:3365)
      at javafx.scene.Scene$MouseHandler.process(Scene.java:3733)
      at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3452)
      at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1728)
      at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2461)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:348)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:273)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:382)
      at com.sun.glass.ui.View.handleMouseEvent(View.java:553)
      at com.sun.glass.ui.View.notifyMouse(View.java:925)
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      at com.sun.glass.ui.win.WinApplication.lambda$null$141(WinApplication.java:102)
      at com.sun.glass.ui.win.WinApplication$$Lambda$37/1146743572.run(Unknown Source)
      at java.lang.Thread.run(Thread.java:745)
    Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
      at javafxapplication2.FXMLExecutionChartController$3.handle(FXMLExecutionChartController.java:263)
      at javafxapplication2.FXMLExecutionChartController$3.handle(FXMLExecutionChartController.java:241)
      at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
      at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
      at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
      at javafx.event.Event.fireEvent(Event.java:198)
      at javafx.scene.Scene$ClickGenerator.postProcess(Scene.java:3437)
      at javafx.scene.Scene$ClickGenerator.access$7900(Scene.java:3365)
      at javafx.scene.Scene$MouseHandler.process(Scene.java:3733)
      at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3452)
      at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1728)
      at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2461)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:348)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:273)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:382)
      at com.sun.glass.ui.View.handleMouseEvent(View.java:553)
      at com.sun.glass.ui.View.notifyMouse(View.java:925)
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      at com.sun.glass.ui.win.WinApplication.lambda$null$141(WinApplication.java:102)
      at com.sun.glass.ui.win.WinApplication$$Lambda$37/1146743572.run(Unknown Source)
      at java.lang.Thread.run(Thread.java:745)
    Class Information:
    //Call to the Line chart graph
    n.setOnMouseClicked(new EventHandler<MouseEvent>()
                    @Override
                    public void handle ( MouseEvent e )
                        String s1 = dt.getXValue();
                        String s = s1.trim();
                        if ( baseHash.containsKey(s) )
                            String value = (String) baseHash.get(s);
                            String hashValue = value.substring(6, 38);
                            System.out.println(hashValue);
                            FXMLLineChartController.setHash(hashValue);
                             try
                                  lineTab .setText("Line Graph (Rows Read)");
                                  lineTab.setContent(FXMLLoader.load(getClass().getResource("/javafxapplication2/FXMLLineChart.fxml")));
                                  Node aNode = (Node) e.getSource();
                                  Scene scene = aNode.getScene();
                                  thisTabPane = (TabPane) scene.lookup("#tabPane");
                                  thisTabPane.getTabs().add(lineTab);
                                  selectionModel.selectLast();
                                  //throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
                              catch ( IOException ex )
                                  Logger.getLogger(FXMLWrittenChartController.class.getName()).log(Level.SEVERE, null, ex);
    //Line Chart controller
    //Create the Graph
        @FXML
        private LineChart barChart;
    public void populateGraph ()
            System.out.println("Populate graph Line Chart");
            final CategoryAxis xAxis = new CategoryAxis();
            final NumberAxis yAxis = new NumberAxis();
            ObservableList<XYChart.Series<String, Number>> barChartData = FXCollections.observableArrayList();
            barChartData.clear();
            baseHash.clear();
            xAxis.setLabel("Query");
            yAxis.setLabel("Number of Executions");     
            series1.setName("Data from User DB2 for Query " +getHash() );
            for ( int i = 0; i < userLine.size(); i++ )
                    System.out.println(getHash() + " Usersize = " + userLine.size() + " base size " +baseLine.size());
                    series1.getData().add(new XYChart.Data<String, Number>(userLine.get(i).getBuildNumber(), (userLine.get(i).getDYN_Num_Executions())));
            barChartData.add(series1);
            barChart.setData(barChartData);

  • LV crashes when I try to save a VI - "fpsane.cpp line 269 error"

    Dear LV users:
    “Fpsane.cpp, line 269 error”
    I have this error when I modify the VI and try to save it. Often I run it once and save it without problem. When I modify it again and try to save it, the error appears and LV crashes.
    First I made a 6.0.2 upgrade and later I followed the “solving troubles” procedure at NI home page, like empty the TEMP directory and so on.
    Later I sent my VI to NI support and I received the confirmation that they were able to reproduce the error, but not able to isolate it. Also they wrote that “Maybe can be a problem with the charts” and “it could be a bug in LV 6.0.2 which is fixed in LV 6.1”.
    They saved my VI as a 6
    .1 version and there were no problems (any error).
    The problem is:
    “ LV 6.1 is the next release (newest version) of LV and it will be released this year (the date is not fixed). That's not an update like LV 6.0.2 but a new version of LV. It must be purchased”
    So I have a trouble here. I have some VIs that contains some parts in common. Now they are crashing too. I’m not confident anymore to make tests and modifications, since LV will crash again. What I’m doing after run my VI is exiting LV and open the VI again. Only after I can realize (and save) the modifications. This way is really a pain in a neck....
    Please, can someone tell me a good way to isolate this problem or to solve it? I really don’t want to wait LV 6.1 nether to buy it to solve this “bug”....
    Thank you in advance
    Rodolfo
    OS: Nt4 sp 6
    LV 6.0.2

    Dear LV users
    Sorry for not have included the VI.
    "test time save format.vi" is a learning program that contains some ideas to be used in another one. The error (fpsane.cpp) that appears here also was detected in LV 6. On the first time after grouping/edit some controls.
    This error occurs when you modify the VI and try to save it. Often you run it once and save it without problem. When you modify it again and try to save it, the error appears. This is the same problem that happened with 2 other VI, even with one LV original example (after grouping).
    The same error happened in another computer (also running NT4). All libraries were rebuilt during the installation of LV 6.02 and the TEMP directory is empty.
    I hope that this vi will help us.
    Thanks ag
    ain
    Rodolfo
    Attachments:
    Test_time_save_format.zip ‏92 KB

  • Crystal reports in jsp ,the Line chart 's line can't display in jsp?

    that is example crystal-reports-10 for Jbuild 2005,
    I just modify such in viewreport.jsp:
    <crviewer:viewer displayToolbarRefreshButton="true" isOwnPage="true" displayToolbarCrystalLogo="false" displayToolbar="true" displayToolbarExportButton="true"
    displayToolbarPrintButton="true" displayGroupTree="false" viewerName="worldsales" reportSourceType="reportingComponent" reportSourceVar="<%= path %>"><crviewer:report reportName="<%= path %>"/></crviewer:viewer>
    it can't display a Line chart rpt's line and background's picture, and when I press refresh button report a Error "Error finding JNDI name (yhgl)"
    help!!

    The jars should be in your installed Crystal Reports folder( \Crystal Decisions\..\java\lib or something like that...). The problem is that your server (Tomcat and others) ignores the system classpath completely (it sets its own in its startup script).
    Therefore, in order for Tomcat to find the jars, those jars have to be placed in in %CATALINA_HOME%\common\lib\. There, they will be available for all your applications. If you don't want them available globally, put them in your particular webapp's WEB-INF\lib directory.

  • SVG: Chart error: ORA-20001:

    Hi,
    We are using 1.6.1.00.02 . I got a problem with SVG chart. The query returns following error:
    SVG: Chart error: ORA-20001: bar_char_error ORA-20001: get_data_error: ORA-20001 Fetch error: ORA-01782
    The column names are correct. The same query works perfectly in HTMLDB reports.
    Following is the query:
    SELECT
    TRANSACTION_dATE,
    SUM(SALES) SALES,
    SUM(COST_OF_SALE) COST_OF_SALE
    fROM HTML_SALES_REPORT_View
    WHERE transaction_date between
    '01-DEC-2004' and '31-DEC-2004'
    GROUP BY TRANSACTION_DATE
    Help will be appreciated.
    Regards,
    Hamayun

    Hi,
    you have to use the following syntax:
    SELECT link, label, value
    Example
    SELECT
    null link, TRANSACTION_dATE label,
    SUM(SALES) value ,
    fROM HTML_SALES_REPORT_View
    WHERE transaction_date between
    '01-DEC-2004' and '31-DEC-2004'
    GROUP BY TRANSACTION_DATE
    And to display your cost_of_sale data you have to add a second series like this:
    SELECT
    null link, TRANSACTION_dATE label,
    SUM(COST_OF_SALE) value
    fROM HTML_SALES_REPORT_View
    WHERE transaction_date between
    '01-DEC-2004' and '31-DEC-2004'
    GROUP BY TRANSACTION_DATE
    because you can't display two lines with just one query.
    I hope this will help.
    Regards, Jörg

  • Line chart will not drill down

    I am doing a drill down Group report which will show the Sum of Last year's Sales By Country, State and city over a period of time(by date) for throughout the year 2007. Every group will have a line chart with Data title as Sum of Last year's Sales ($), Group Title as Date and legends displaying countries (or states or cities) as USA,UK,Australia. etc.. I have same sort of line chart for State and City as well.
    Now, the problem is my drill down would not work on chart lines or legends as it would do for a 2-dimensional data chart like a bar-chart or pie-chart. The reason is in the Chart Expert->Data->Layout:Group ->in the On Change Of event selection I am able to specify either Sales.Country  (or) Sales.country and Sales.Sales.State. Both options would not let me get the correct linechart with correct data and drill-down working as well.
    The only work-around i got is to display the line chart with legends and and showing the Country(or State or City) names in a field in the Group Footer. The drilling will work on those fields, but not on the legends or lines of the line chart. This make my report showing the Country names twice once on legend (with no drill-down) and once on group-footer(with drilling ability to groups below) which is untidy.
    Have anyone tried to make a drill-down crystal report on a 3-dimensional data like this? The World Sales report in Crystal reports Samples\General Business\World Sales Report is the best example of how i would like to see my charts to drill down. However, they drill down across a 2-dimensional data. I am publishing this Crystal Reports in Business Objects Infoview.

    Wow. That post almost made my eyes bleed. You may want to add some white space for readability.
    Anyways - as Falk said. You should move or re-post this in the [Crystal Reports Design|SAP Crystal Reports; forum. They specialize in this sort of thing. Us dev guys here make sure we can see the chart without errors and don't do much beyond that.

  • Flash Chart Error

    Hi
    Can anyone assit with this ...
    I get following error when using a 2 series 2d line chart with animation set to scale, in apex 3:
    "A Script in this movie is causing adobe flash player to run slowly. If it continues, your computer may become unresponsive."
    When I accept to debug, it breaks on this parameter as an undefined error:
    __flash__addCallback(c2741428313213918, "SetXMLText");
    Thanks
    Kezie

    Hi
    I upgraded my browser flash from v8 to v9 and tested again. The flash upgrade did not resolve the issues as the error still occurs.
    I did looked on the adobe site and found this link which sheds some light on why the error might occur: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15512&sliceId=1
    I am not loading a large amount of data or displaying too many data points however, so I'm not sure about why I get this error.
    Any other pointers would be appreciated.
    I have pasted the XML below ...
    Thanks
    Kez
    <p>&lt;?xml version = &quot;1.0&quot; encoding=&quot;utf-8&quot; standalone = &quot;yes&quot;?&gt;<br>
    &lt;root&gt;<br>
    &lt;type&gt;<br>
    &lt;chart type=&quot;2DLine&quot; minimum_value=&quot;99.5&quot; maximum_value=&quot;100&quot;&gt;<br>
    &lt;animation enabled=&quot;no&quot;/&gt;<br>
    &lt;hints auto_size=&quot;yes&quot;&gt;<br>
    &lt;text&gt;&lt;![CDATA[{NAME}, {VALUE}]]&gt;&lt;/text&gt;<br>
    &lt;font type=&quot;Verdana&quot; size=&quot;10&quot; color=&quot;0x000000&quot; /&gt;<br>
    &lt;/hints&gt;<br>
    &lt;names show=&quot;yes&quot; width=&quot;150&quot; placement=&quot;chart&quot; position=&quot;bottom&quot; &gt;<br>
    &lt;font type=&quot;Arial&quot; size=&quot;10&quot; color=&quot;0x000000&quot; /&gt;<br>
    &lt;/names&gt;<br>
    &lt;values show=&quot;no&quot; prefix=&quot;&quot; postfix=&quot;&quot; decimal_separator=&quot;.&quot; decimal_places=&quot;0&quot;
    /&gt;<br>
    &lt;arguments show=&quot;no&quot; /&gt;<br>
    &lt;line_chart left_space=&quot;5&quot; right_space=&quot;5&quot;&gt;<br>
    &lt;block_names enabled=&quot;no&quot; /&gt;<br>
    &lt;/line_chart&gt;<br>
    &lt;/chart&gt;<br>
    &lt;workspace&gt;<br>
    &lt;background enabled=&quot;yes&quot; type=&quot;gradient&quot; gradient_type=&quot;linear&quot;&gt;<br>
    &lt;colors&gt;<br>
    &lt;color&gt;0xFFFFFF&lt;/color&gt;<br>
    &lt;color&gt;0xFFFFFF&lt;/color&gt;<br>
    &lt;/colors&gt;<br>
    &lt;alphas&gt;<br>
    &lt;alpha&gt;100&lt;/alpha&gt;<br>
    &lt;alpha&gt;100&lt;/alpha&gt;<br>
    &lt;/alphas&gt;<br>
    &lt;ratios&gt;<br>
    &lt;ratio&gt;0&lt;/ratio&gt;<br>
    &lt;ratio&gt;0xFF&lt;/ratio&gt;<br>
    &lt;/ratios&gt;<br>
    &lt;matrix r=&quot;0&quot;/&gt;<br>
    &lt;/background&gt;<br>
    &lt;base_area enabled=&quot;no&quot; /&gt;<br>
    &lt;chart_area enabled=&quot;yes&quot; x=&quot;60&quot; y=&quot;50&quot; width=&quot;400&quot; height=&quot;300&quot; deep=&quot;0&quot;&gt;<br>
    &lt;background enabled=&quot;no&quot;/&gt;<br>
    &lt;border enabled=&quot;yes&quot; size=&quot;1&quot;/&gt;<br>
    &lt;/chart_area&gt;<br>
    &lt;grid&gt;<br>
    &lt;values lines_step=&quot;.1&quot;&gt;<br>
    &lt;captions&gt;<br>
    &lt;font type=&quot;Arial&quot; size=&quot;10&quot; color=&quot;0x000000&quot; /&gt;<br>
    &lt;/captions&gt;<br>
    &lt;/values&gt;<br>
    &lt;/grid&gt;<br>
    &lt;/workspace&gt;<br>
    &lt;legend enabled=&quot;yes&quot; x=&quot;480&quot; y=&quot;50&quot;&gt;<br>
    &lt;names enabled=&quot;yes&quot;&gt;<br>
    &lt;font type=&quot;Arial&quot; size=&quot;10&quot; color=&quot;0x000000&quot; /&gt;<br>
    &lt;/names&gt;<br>
    &lt;values enabled=&quot;no&quot;/&gt;<br>
    &lt;scroller enabled=&quot;no&quot;/&gt;<br>
    &lt;header enabled=&quot;no&quot;/&gt;<br>
    &lt;background alpha=&quot;0&quot;/&gt;<br>
    &lt;/legend&gt;<br>
    &lt;/type&gt;<br>
    &lt;data&gt;<br>
    &lt;block name=&quot;Uptime&quot; color=&quot;0xFF6347&quot; border_color=&quot;0xFF6347&quot; &gt;<br>
    &lt;set name=&quot;Ahmedabad Mob&quot; value=&quot;99.98&quot; color=&quot;0xFF6347&quot; /&gt;<br>
    &lt;set name=&quot;Bangalore Mob&quot; value=&quot;0&quot; color=&quot;0xFF6347&quot; /&gt;<br>
    &lt;set name=&quot;Chandigarh Mob&quot; value=&quot;99.99&quot; color=&quot;0xFF6347&quot; /&gt;<br>
    &lt;set name=&quot;Mumbai Mob&quot; value=&quot;0&quot; color=&quot;0xFF6347&quot; /&gt;<br>
    &lt;/block&gt;<br>
    &lt;block name=&quot;Target&quot; color=&quot;0xFFA500&quot; border_color=&quot;0xFFA500&quot; &gt;<br>
    &lt;set name=&quot;Ahmedabad Mob&quot; value=&quot;99.5&quot; color=&quot;0xFFA500&quot; /&gt;<br>
    &lt;set name=&quot;Bangalore Mob&quot; value=&quot;99.5&quot; color=&quot;0xFFA500&quot; /&gt;<br>
    &lt;set name=&quot;Chandigarh Mob&quot; value=&quot;99.5&quot; color=&quot;0xFFA500&quot; /&gt;<br>
    &lt;set name=&quot;Mumbai Mob&quot; value=&quot;99.5&quot; color=&quot;0xFFA500&quot; /&gt;<br>
    &lt;/block&gt;<br>
    &lt;/data&gt;<br>
    &lt;/root&gt;<br>
     </p>
    Message was edited by:
    Kezie

  • PL/SQL in a line chart

    Hello,
    I am learning to use APEX to build charts on our intranet. I'm getting errors when I try the PL/SQL code below on a line chart (btw I'm a noob in PL).
    The error description is after the code. Can someone please point out what's wrong with my code?
    Any help will be very much appreciated. Thanks.
    declare
    q varchar2(4000);
    g varchar2(4000);
    w varchar2(4000);
    c varchar2(4000);
    qte varchar2(1) := CHR(39);
    begin
    q:=' select null link , month, ';
    g:=' group by month ';
    q:= q ||' to_char(decode((sum(nvl(i_worked,0)) + sum(nvl(o_worked,0))),0,0,null,0,(sum(nvl(i_cont,0)) + sum(nvl(o_cont,0))) *100/ (sum(nvl(i_worked,0)) + sum(nvl(o_worked,0)))),'||qte||'999.00'||qte||')||' || qte||'%'||qte || ' as Cont_Rt ';
    q:= q ||' from axe_csa_daily_performance_mth ';
    w := ' ';
    if :P1_CENTER != 'All' then
    if instr(w,'where')=0 then
         w:= ' where CENTER = :P1_CENTER ';
    else w:=w||' and CENTER = :P1_CENTER ';
    end if;
    end if;
    if :P1_UNIT != 'All' then
    if instr(w,'where')=0 then
         w:= ' where ops_unit = :P1_UNIT ';
    else w:=w||' and ops_unit = :P1_UNIT ';
    end if;
    end if;
    if :P1_SUBUNIT!= 'All' then
    if instr(w,'where')=0 then
         w:= ' where sub_unit = :P1_SUBUNIT ';
    else w:=w||' and sub_unit = :P1_SUBUNIT ';
    end if;
    end if;
    if :P1_TM!= 'All' then
    if instr(w,'where')=0 then
         w:= ' where MGR_LNM'||','||'MGR_FNM = :P1_TM ';
    else w:=w||' and MGR_LNM'||','||'MGR_FNM = :P1_TM ';
    end if;
    end if;
    if :P1_TL!= 'All' then
    if instr(w,'where')=0 then
         w:= ' where LDR_LNM'||','||'LDR_FNM = :P1_TM ';
    else w:=w||' and LDR_LNM'||','||'LDR_FNM = :P1_TL ';
    end if;
    end if;
    if :P1_FROM <= :P1_TO then
    if instr(w,'where')=0 then
         w:= ' where month >= TO_DATE('||qte||:P1_FROM||qte||','||qte||'mm/dd/yyyy'||qte||') and month <= TO_DATE('||qte||:P1_TO||qte||','||qte||'mm/dd/yyyy'||qte||')' ;
    else w:=w||' and month >= TO_DATE('||qte||:P1_FROM||qte||','||qte||'mm/dd/yyyy'||qte||') and month <= TO_DATE('||qte||:P1_TO||qte||','||qte||'mm/dd/yyyy'||qte||')' ;
    end if;
    end if;
    q:= q || w || g;
    return q;
    end;
    1 error has occurred
    Invalid chart query: select null link , month, to_char(decode((sum(nvl(i_worked,0)) + sum(nvl(o_worked,0))),0,0,null,0,(sum(nvl(i_cont,0)) + sum(nvl(o_cont,0))) *100/ (sum(nvl(i_worked,0)) + sum(nvl(o_worked,0)))),'999.00')||'%' as Cont_Rt from axe_csa_daily_performance_mth group by month
    Use the following syntax:
    SELECT LINK, LABEL, VALUE
    FROM ...
    Or use the following syntax for a query returning multiple series:
    SELECT LINK, LABEL, VALUE1 [, VALUE2 [, VALUE3...]]
    FROM ...
    LINK URL
    LABEL Text that displays along a chart axis.
    VALUE1, VALUE2, VALUE3... Numeric columns that define the data values.
    Note: The series names for Column and Line charts are derived from the column aliases used in the query.

    Hello,
    Your code:
    Invalid chart query: select null link , month, to_char(decode((sum(nvl(i_worked,0)) + sum(nvl(o_worked,0))),0,0,null,0,(sum(nvl(i_cont,0)) + sum(nvl(o_cont,0))) *100/ (sum(nvl(i_worked,0)) + sum(nvl(o_worked,0)))),'999.00')||'%' as Cont_Rt from axe_csa_daily_performance_mth group by monthtry:
    select null link , month label, to_char(decode((sum(nvl(i_worked,0)) + sum(nvl(o_worked,0))),0,0,null,0,(sum(nvl(i_cont,0)) + sum(nvl(o_cont,0))) *100/ (sum(nvl(i_worked,0)) + sum(nvl(o_worked,0)))),999) value from axe_csa_daily_performance_mth group by monthI didn't check all the brackets, but by appending a percentage it isn't a value (numeric) anymore....
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    http://www.bloggingaboutoracle.org/
    http://www.logica.com/

  • Dynamic X axis in line chart

    Hi All,
    I'm making a line chart in Webi in which different lines represent different products.  On the Y axis I have a measure (no problems here) and on the X axis I have months.  Naturally, different products enter the chart at different points along the X axis because they didn't all enter the portfolio at the same time as you can see in the print screen.  My problem is though, that I want the start point for all of the lines in the chart to be at the X-Y intersect, not the month that they actually started.  The values for the X axis should then be 1 - 24 or something similar to cover a 2 year period. Newer products would then have a line that stopped at some point in the middle of the chart, rather than one that started in the middle.
    I've been trying to create a new variable where min([Month]) is equal to 1 and then each month after that would be +1, but I'm not having any luck.
    Thanks in advance for any suggestions.

    Hi Jeremy,
    Thanks for your tip.  I've created a new variable to calculate the months between the very first date and the product specific dates, and then subtracted the difference so that all products start at the same date in the new variable.  But it still leaves me with the same problem as I had with the count variable earlier. When I place the new variable on the chart it returns a multivalue error.  Any idea on how I could get around this? In table format it looks like this:
    Table 1 with original month and new variable
    Table 2 with only new variable
    Table 3 desired outcome
    Product
    Month
    *Adjusted Month
    Rate
    Product
    *Adjusted Month
    Rate
    Product
    *Adjusted Month
    Rate
    Product 1
    201205
    201203
    Product 1
    #MULTIVALUE
    1.61%
    Product 1
    201203
    Product 1
    201206
    201204
    0.05%
    Product 2
    #MULTIVALUE
    2.12%
    Product 1
    201204
    0.05%
    Product 1
    201207
    201205
    0.07%
    Product 1
    201205
    0.07%
    Product 1
    201208
    201206
    0.39%
    Product 1
    201206
    0.39%
    Product 1
    201209
    201207
    0.65%
    Product 1
    201207
    0.65%
    Product 1
    201210
    201208
    0.94%
    Product 1
    201208
    0.94%
    Product 1
    201211
    201209
    1.18%
    Product 1
    201209
    1.18%
    Product 1
    201212
    201210
    1.16%
    Product 1
    201210
    1.16%
    Product 1
    201301
    201211
    1.61%
    Product 1
    201211
    1.61%
    Product 2
    201205
    201203
    Product 2
    201203
    Product 2
    201206
    201204
    0.02%
    Product 2
    201204
    0.02%
    Product 2
    201207
    201205
    0.29%
    Product 2
    201205
    0.29%
    Product 2
    201208
    201206
    0.74%
    Product 2
    201206
    0.74%
    Product 2
    201209
    201207
    0.95%
    Product 2
    201207
    0.95%
    Product 2
    201210
    201208
    1.37%
    Product 2
    201208
    1.37%
    Product 2
    201211
    201209
    1.77%
    Product 2
    201209
    1.77%
    Product 2
    201212
    201210
    2.12%
    Product 2
    201210
    2.12%

  • Charts (Line chart) in apex 2.0 /3.0 limit of resulting rows in char area

    Hello @apex experts,
    does any body knows if there is a max number of resulting rows by using a line chart. It seems that until 150 resulting rows all is o.k. but when I try to get a line - chart area for a whole year (365 days) no chart is displayed. I spread out the chart area to 2056 x 800 px but no restult is displayed by using the > 300 resulting set.
    Regards and thank you for help

    I changed this and put usage of UTL_FILE into a dynamic PL/SQL. The package will
    compile and work unless you want to create debug information. If yes, then it will raise an
    error message. So, you don't need UTL_FILE execution priviledge from your DBA.
    I opened the package and you may modify it the way that you don't need any public
    synonyms and no UTL_FILE to run it.
    There are so many questions in this forum related to "What is my DBA going to say?" or
    "How is he going to react?". Even for some minor issues. I have myself also seen some
    of similar situations and the only thing I can sey is:
    You got to use that powerfull tool Oracle Database instead of hiding it away from your
    users and developers. Learn how to control it instead of prohibiting access to it! Otherwise,
    it's just a waste of money.
    Denes Kubicek

  • Line chart question (lines are not connected)

    I have a simply report which basically counts the data by Month and Type. So I have 3 columns: Month, Type, Count (count column has a formula). Then I created a line chart. For some month, some type, there is no data. I noticed in those scenarios, the lines in the chart becomes disconnected. For example, let's say I have Jan, Feb, March, April. There is a type called "User Error". For this type, Jan has 10, Feb has 4, March has no data. April has 4. In the chart, I have month on x-axis. Count on Y-axis. Type is the data stream. So for this type, the line goes from Jan to Feb. It disappears for March and then reappears as a dot for April.
    The line looks like ugly. I would like to have a continuous line. So for March, the line should go to 0 on the Y-axis.
    Does anyone have a suggestion how to do this?

    Hi,
    I think you can solve this with a case statement in the count column:
    CASE
    WHEN "column formula" IS NULL
    THEN 0
    ELSE "column formula"
    END
    Hope this works for you.
    Regards, Tim

  • "no data found" in SVG Line Chart

    Hello,
    I have a problem with a SVG Line Chart!
    I have multiple series in the Line Chart, which data is based on multiple select lists.
    When I leave one select list blank, so that one line has no data, the "no data found" statement appears in the Chart.
    But when I delete the "no data found" statement in the Series Attributes it would not be deleted. Nevertheless when I open the Series Attributes again the message is still there....
    Does anybody have an idea how I van delete the "No Data found Message"???
    Thanks,
    Tim

    Chris and Cristoph -
    I have found that many times errors like this are caused by SQL statements that don't really address the business need or the requirements for the chart. Let me use a simple example:
    SELECT d.dept_name  dept_name,
           sum(s.sales_total)  sales_total
    FROM orders o, depts d
    WHERE o.dept_id = d.dept_id
      AND o.time_frame = 'Q1'
    GROUP BY dept_nameSeems simple enough. But what if this statement is run early during the Q1 timeframe and one dept hasn't made any sales yet? Well, they won't show up in the output of this statement. From a business perspective, you will want that dept to show on the report with a zero total sales. You don't want them excluded from the report. So how do we fix this?
    There are several options.
    One dirty way of solving this is putting in a dummy record for each dept into the orders table with a 0 sales_total value for each time unit. YUK! That has wrong written all over it!
    We could use a different type of join. And then use NVL or a Case or IF statement to turn Null Values into 0.
    SELECT d.dept_name dept_name,
           sum(nvl(s.sales_total,0))  sales_total
    FROM  orders o RIGHT JOIN dept d ON d.dept_id = o.dept_id
    WHERE o.time_frame = 'Q1'
    GROUP BY dept_nameWe could also square our data sets and summarize with an inner select
    SELECT dept_name dept_name,
           sum(sales_total) sales_total
    FROM (
      SELECT d.dept_name ,
             sum(s.sales_total)  sales_total
      FROM orders o, dept d
      WHERE o.dept_id = d.dept_id
        AND o.time_frame = 'Q1'
      GROUP BY dept_name
      UNION ALL
      SELECT DISTINCT dept_name ,
             0 sales_total
      FROM dept
    GROUP BY dept_nameThe final result is that every dept has a value. That is the key. This is how the chart expects the data and this is probably how your business expects the data.
    Austin

  • SVG line chart raises ORA-20001 witha valid SQL query

    Hi,
    I am on version 1.6 & 10g database. I developed an SVG line chart which was working fine, but I wanted to fill in some sparse data by using data densification. So I enhanced my query with a partitioned outer join as follows:
    select null l, month_start, issue_count
    from
    (with dates as
    (select add_months
    ( to_date( '01-jul-2004' ),
    column_value-1) dt
    from table( vtable(12) )),
    iss as
    (select trunc(start_date, 'MON') mon , count(*) cnt
    from issues
    group by trunc(start_date, 'MON'))
    select dates.dt month_start, NVL(iss.cnt, 0) issue_count
    from dates left outer join iss on (dt=mon)
    Now the chart throws an ORA-20001 get_data error. The query is valid as it runs in SQL*plus no problems. What is it choking on?
    Thanks,
    Steve

    Steve,
    I didn't mean for you to put in on the Studio, just install the app in your workspace on htmldb.oracle.com, use SQL Workshop there to compile your procedures, tell us the app ID, and that's it.
    The error message presentation needs some improvement, give us time. We're spending most of our energy on improving the capability of the product.
    Scott

  • Columns in Line Chart

    Hi Guys,
                 I have a peculiar behavior in my dashboard. See the attachment below. I am getting the columns in my line chart.  I have developed this dashboard few months back,exported to Launchpad and generated SWF file. Everything was fine then. Few days back when I made some changes and generated a SWF file I was getting columns in the line  chart. I could resolve it by opening the file in IE and copying the link in Chrome then columns were not coming. But today when I opened the dashboard in the  preview mode  I am getting the columns after exporting to SWF file I  am not getting these columns by opening in Chrome. What Could be the reason?
    Thanks,
    Krishna

    Hey Hari,
    Take a look at the below Note: 2035132 & Also the attached the screenshot from SAP.
    Symptom
    View the dashboard from BI Launch Pad, the unexpected column line will display from the Scatter Plot chart
    Other Terms
    Environment
    SAP BusinessObjects Dashboard Designer 4.0
    SAP BusinessObjects Dashboard Designer 4.1
    Steps to Reproduce
       1. Design the dashboard from Dashboard designer. 
       2. The dashboard designed should include the Scatter Plot chart.
       3. Configure the Scatter Plot chart to display several scatter points.
       4. From chart configuration page, switch to Behavior tab and select the option 'Enable Data Animation'.
       5. Publish the dashboard to enterprise.
       6. View the dashboard from BI Launch Pad, the unexpected column line will display from the Scatter Plot chart.
    Note:
    1. If disable the Enable Data Animation option, the issue might disappear.
    2. The issue might happen to other chart type which also display the similiar scatter points.
    3. The issue might happen to when migrate the dashboard from XI 3.1 to BI 4.0&4.1 Platform.
    4. The issue is always intermittently happen.
    Please refer the attached screen shot for the error.
    Reason and Prerequisites
    The issue has been identified and logged under Problem Report ID ADAPT01729635.
    Solution
    This issue has been forwarded to Development for further investigation.

Maybe you are looking for

  • About third party order

    I would like to know the process of those third party order. 1. Create SO with item cat is thrid party 2. assign PR to PO 3. MIGO   <------ I don't know whether need good received or not 4. PGI 5. Billing. Above steps is correct or not. Thanks!

  • How do I sync music without erasing all data?

    Hi everyone, This is actually two questions in one. So appreciate all your time, I also apologise if this should be posted in iPhone and not iTunes. Most important question is this: How do I sync the music in my iTunes onto my iPhone without first er

  • How do I do it in logic?

    I want to create a progressive house synth bass like they show in this thread: http://www.youtube.com/watch?v=ggsHn-hwph0 The problem is that they show how to do it in reason 4.0 and I wanna know how I do it in Logic. Best regards // Freddy

  • Duplicate contacts when created from another application like Mail

    When adding a contact to Address Book from another application (from an email signature for example) two of the same contact are always created.  This does not happen when creating a contact from within Address Book.  Anyone have this problem and cor

  • MOVED: MSI TWIN FROZ GAMING GTX 770 UEFI/GOP COMPATIBLE BIOS

    This topic has been moved to GAMING Graphics Cards. https://forum-en.msi.com/index.php?topic=252148.0