About line chart view

1 how to set color of the axis.
2 how to remove the frame of the legend.
3 how to show the legend close to the end of the lines respectively.
THANKS.
Message was edited by:
user535870

You can set the chart properties- by double clicking - Chart-Edit-Properties.
There are various tabs: to set the colors and fonts etc. However we (engr) are aware of this limitations: cannot change legend frame or background color. There is a workaround way to achieve this. Set a background 'image' with your legend in approp color, position etc.

Similar Messages

  • About Line Chart.

    I already have a Line Chart and my problem is how to create a thick line in Line Chart.
    Thanks,
    Joe Ric

    Hi Joe,
    While in the Preview Mode, highlight the Line > Right-click the highlighted line and select Format Connector Line > Under Thickness choose a higher value.
    -Abhilash

  • Line chart and Stacked Bar Chart

    Hai,
    I am creating report in line chart view.I want to know wheather it is possible to get data of Same column to be populated as different lines.
    And also to get data of Same column to be populated as different stacks in the stacked bar chart .
    Thanks in advance...

    Hello
    You have to just select the column for grouping and the same col for aggregate field plotting. This is standard function, and I think this is straight forward.

  • Remove grid lines by default in chart view

    Hello,
    I'm working in version 10.1.3.4.1. I've been trying to remove the grid lines from the default chart view. I've read some posts on here and in the blogs about changing the default chart look, but I haven't seen anything specific to grid lines. I think I need to edit the pcxml files located in .../s_oracle10/popbin. I've been messing with these two files:
    - bar.pcxml (this seems to be for horizontal bar charts only)
    - column.pcxml (this seems to be for vertical bar charts only)
    Within <ValueScale> and <CategoryScale> I tried changing the MajorGrid and MinorGrid parameters to values like 'Disabled' and 'False' but this seemed to have no effect. I also tried changing the color from #eeeee to something else but this also seemed to have no effect at all.
    I've replicated whatever changes I've made to the corresponding file in the oc4j directory. I am restarting all services after making my changes. I have been able to get some changes to bar.pcxml and column.pcxml show up in the application. I was able to change the default BarStyle from 'Cylinder' to 'Rectangle' successfully, so I think my process of editing the file, copying it to the corresponding oc4j directory, and then bouncing the services is working.
    Can anyone point me in the right direction for getting all of the grid lines to go away by default? So far I've only tried removing them from bar charts, but ultimately I want them off by default on line charts as well.

    Are you able to acheive this.?
    PCXML script is used for chart rendering, and with that I think you can't demark the Gridlines.
    The following Xml file gives the definitions for the chart components including gridlines.
    chartviewtemplates.xml
    Which inturn refers to the following js for gridlines
    i think you have to work on the Js here demark the grid lines by default
    <Oracle_BIHome>\web\app\res\b_mozilla\views\chart
    dlggridlineseditor.js
    Before doing any changes take the backup.
    Thanks,
    Vino
    Edited by: Vinodh NK on Oct 22, 2010 3:44 AM

  • How to create a Power View bringing barchart and line chart together in same graph

    We are planning to create power view report that has bar and line charts on same graph. Could you please let us know whether it is feasible in Power View & how to add trend line in power view .
    Thanks,
    Sandeep.

    This is not possible with Power View. It is possible with Power BI (Online at PowerBI.com) See image below.
    Please vote or mark as answer if you found the response helpful.
    Regards, Avi
    www.powerpivotpro.com
    Wiki:How to ask a Power Pivot Question to get a prompt, accurate and helpful response

  • Power View Line Chart - Line size

    Hi,
    Is it possible to change the thickness of lines on a line chart in Power View? How can we interact with axis to change them to logarithmic scale or create double axis?

    Hi Tim,
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated. Thank you for your understanding and support.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Customizing WAD report chart view with input types(pie, line etc..)

    Hi All
    I am very much new to WAD, now i have a requirement where in i am viewing a query output as a chart, but here the added features that need to be embedded are, adjacent to the chart view i have 4 radio buttion say
    1)area view
    2)coloumn view
    3)Line view
    4)Pie view
    Based on the radio button selection the chart view must change, so please guide me how can i achieve this funstionality.
    Regards
    VK

    Hi VK,
    1>>> use container  in that container use all the 4 charts
    2>>>make the 2> 3> 4> charts hidden
    3>>> use 4 radio buttons beside the chart give names as area column line and pie
    4> for area buttom use the command SET_ITEM_PARAMETERS make area chartvisible
        you have add three more command for this button
    ^^^^^^^  i.e 1> to hide colomn chart
    ^^^^^^^^^       2> to hide line chart
    ^^^^^^^^^       3> to hide pie chart
    5> for colomn buttom use the command SET_ITEM_PARAMETERS make colomn chart  visible
        you have add three more command for this button
    ^^^^^^^  i.e 1> to hide area chart
    ^^^^^^^^^       2> to hide line chart
          ^^^^^^^^^ 3> to hide pie chart
    6> for line buttom use the command SET_ITEM_PARAMETERS make line chart  visible
        you have add three more command for this button
    ^^^^^^^  i.e 1> to hide area chart
         ^^^^^^^^^  2> to hide column chart
        ^^^^^^^^^   3> to hide pie chart
    7> for Pie buttom use the command SET_ITEM_PARAMETERS make Pie chart  visible
        you have add three more command for this button
    ^^^^^^^  i.e 1> to hide area chart
    ^^^^^^^^^      2> to hide column chart
       ^^^^^^^^^    3> to hide Line chart
    check the following links before , it will help you to start
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/934291ff0b274ee10000000a422035/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/935812ff0b274ee10000000a422035/content.htm
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a0f7d724-c0f0-2d10-828f-be249d59b5c3
    Regards,
    Ranganath

  • Some promble  about htmldb v 1.6 line chart

    I found there is some promble in htmldb v 1.6 line chart
    First I set two Series using these two sql
    select null l,
    a,
    total from
    select rownum a ,1000 total from tab where rownum <20
    select null l,
    a,
    total from
    select rownum a ,2000 total from tab where rownum <20
    second in Axes Settings
    i set
    Axis Interval Option ="Define axis interval Display"
    Y Axis Gridline Spacing=200
    Y Axis Max =3000
    third run the page
    then I found the two line do not display in the correct place
    the value of the line do not match the coordinate
    is there any patch can fix this promble

    I found this promble in 10G R2 , and in 10G r1( update htmldb from 1.5 to 1.6)
    is there any idea about it?

  • 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);

  • What is the best way to create a SSRS 2005 Line Chart Report for a 12 month period?

    I'm looking for advice on how to create a SQL Server 2005 query and line chart report for SSRS 2005.
    I need to display the peak number of patients assigned to a medical practice each month for a 12 month period based on the end-user selecting a
    single month and year.
    I've previously created a report that displays all patients assigned to the practice for any single month but I’m looking for advice on how to
    how to produce a resultset that shows the peak number of patients each month for a 12 month period. I thought about creating a query that returns the peak count for each month (based on my previously created report which displays all patients assigned to the
    practice for any single month) and then use a UNION statement to join all 12 months but I'm sure that isn't the most efficient way to do this. The other challenge with this approach (twelve resultsets combined via a UNION) is that the end-user needs to be
    able to select any month and year for the parameter and the report needs to display the 12 month period based on the month selected (the month selected would be the last month of the 12 month period).
    For the report I’ve previously created that displays all patients assigned to the practice for any single month, the WHERE statement filters the
    resultset on two fields:
    Start Date - The date the patient was assigned to the practice. This field is never null or blank.
    End Date - The date the patient left the practice. This field can be null or blank as active patients assigned to the practice do not have an End Date. When the patient
    leaves the practice, the date the patient left is populated in this field.
    Using these two fields I can return all patients assigned to the practice during Nov 2012 by looking for patients that meet the following criteria:
    start date prior to 11/30/2012 (using the last day of the month selected ensures patients added mid-month would be included)
    AND
    end date is null or blank (indicates the patient is active) OR the end date is between 11/1/2012 -11/30/2012 (returns patients that leave during the month
    selected)
    Regarding the query I need to create for the report that displays the peak count each month for 12 months, I'm looking for advice on
    how to count patients for each month the patient is assigned to the practice if the patient has been assigned for several months (which applies to most patients). Examples are:
    John Doe has a start date of 6/01/2012 and an End Date of 10/07/2012
    Sally Doe has a start date of 8/4/2012 and no End Date (the patient is still active)
    Jimmy Doe has a  start of 7/3/2012 and an End Date of 9/2/2012
    Given these examples how would I include John Doe in the peak monthly count each month for May - October, Sally Doe in the peak monthly count for
    August - December and Jimmy Doe in the peak monthly count for July – Sept if the end-user running the report selected December 2012 as the parameter?
    Given the example above and the fact I'm creating a line chart I think the best way to create this report would be a resultset that looks like
    this:
    Patient Name              
    Months Assigned
    John Doe
    June 2012
    John Doe                     
    July012
    John Doe                     
    Aug 2012
    John Doe                     
    Sept 2012
    John Doe
    Oct 2012
    Sally Doe                     
    Aug 2012
    Sally Doe                     
    Sept 2012
    Sally Doe
    Oct 2012
    Sally Doe                     
    Nov 2012
    Sally Doe
    Dec 2012
    Jimmy Doe                  
    July 2012
    Jimmy Doe
    Aug 2012
    Jimmy Doe
    Sept 2012
    From the resultset above I could create another resultset that would count\group on month and year to return the peak count for each month:
    June 2012 - 1
    July 2012 – 2
    Aug 2012 - 3
    Sept 2012 - 3
    Oct 2012 - 2
    Nov 2012 - 1
    Dec 2012 - 1
    The resultset that displays the peak count for each month would be used to create the line chart (month would be the X axis and the count would
    be the y axis).
    Does this sound like the best approach?
    If so, any advice on how to create the resultset that lists each patient and each month they were assigned to the practice would be greatly appreciated.
    I do not have permissions to create SPs or Functions within the database but I can create temp tables.
    I know how to create the peak monthly count query (derived from the query that lists each patient and month assigned) as well as the line chart.
    Any advice or help is greatly appreciated.

    Thanks for the replies. I reviewed them shortly after they were submitted but I'm also working on other projects at the same time (hence the delayed reply).
    Building a time table and doing a cross join to my original resultset gave me the desired resultset of the months assigned between dates. What I can't figure out now is how to filter months I don't want. 
    Doing a cross  join between my original resultset that had two dates:
    08/27/2010
    10/24/2011
    and a calendar table that has 24 rows (each month for a two year period)
    my new resultset looks like this:
    I need to filter the rows in yellow as the months assigned for stage 3 that started on 8/27/2010 should stop when the patient was assigned to stage 4 on 10/24/2011.
    You'll notice that Jan - Sept 2011 isn't listed for Stage 4 assigned on 10/24/2011 as I included a filter in the WHERE clause that states
    the Months Assigned value must be greater than or equal to the date assigned value.
    Any advice would be appreciated.

  • Display column values as a series/legend on a line chart where one column value can be more than one category

    Hi Everyone
    I don't know if this is possible or not, so I will describe it. I have a column in a table called Filing. There are currently three values in it ("Abuse", "Neglect", "Voluntary") and each record has this populated. I also have
    the below slicer for the column also.
    I would like to add a fourth value called "Abuse/Neglect" that would identify instances where both an Abuse and Neglect petition was filed, which is a subset of the Abuse and Neglect records in the Filing column.
    My question is, is it possible to create a line chart that has the 4 Filing possibilities: "Abuse", "Neglect", "Voluntary", "Abuse/Neglect" as the Series/Legend in the line chart?
    The problem is that there are records that are more than one category: Abuse or Neglect records can also be Abuse/Neglect.
    Paul

    Hi Paul,
    According to your description, there is a column with the values ("Abuse", "Neglect", "Voluntary") in your table, now what you need to is that add another value "Abuse/Neglect" in this column, and then use it
    as Series/Legend in the line chart, right?
    In this case, you can add calculated column to your table based on your logic. A calculated column is a column that you add to an existing PowerPivot table. Instead of pasting or importing values in the column, you create a DAX formula that defines
    the column values. The calculated column can be used in a PivotTable, PivotChart, or Power View report as you would any other data column. Please refer to the link below to see the details.
    https://msdn.microsoft.com/en-us/library/gg413492%28v=sql.110%29.aspx?f=255&MSPPError=-2147217396
    Regards,
    Charlie Liao
    TechNet Community Support

  • How can I hide a segment of line in Line Chart.

    Hi, All.
    I have a problem in Crystal Report. I have a database field like this:
    ID Creation Budget Actual
    1 2007-1 30 45
    2 2007-2 30 38
    3 2007-3 30 42
    4 2007-4 30 Null
    5 2007-5 30 Null
    12 2007-12 30 Null
    This database storage the info about budget and actual
    when the first month of each year, we input all the budget of the full year.
    and we input actual data every month.
    We hope our line chart can show a line about sum(budget) of the full year:
    and another segment of line indicate the actual of the summary to current month. (eg. the data of 2007, this line will hide after 2007-4, but the budget will show all 2007 sum data)
    | /budget(sum2007-12=360)
    | /
    | /
    | /
    |/-/act(sum2007-3=125)
    What should I do? Please Help!!
    Thanks.
    Seraph

    Hi, Don.
    Thank you
    It seems that you are a SAP employee, You said "If you need quick help I suggest you purchase a case on line to get a dedicated Crystal Report Designer Engineer to help you ",
    I wanna told you that It's not work. maybe Crystal Report is a good product, but it has the worst services in China. We've brought CR product, We've brought CR services. But we never get any services from their company.
    Every time we post the information to their engineer, they never give us feedback. They donno how to do it either.  They just sell product, but never know how to keep the customer's heart.
    After SAP brought BO, I ever thought that SAP,the BEST management company in the world, would give the new life to BO. the services would be better. BUT, I was wrong..IT'S THE SAME..
    I'm not aiming at one man or one company, But I really hope the services would be better. It HELPS.
    Thank you anyway.
    btw. I'm sorry for post in a wrong fourm.
    Seraph.
    Edited by: Seraph Lew on Feb 6, 2009 8:08 PM

  • Hint Values on Line Chart

    When you setup a line chart, the LABEL portion of the SQL query becomes the X axis value on the line chart. When there are multiple series on a line chart, each series is its own distinct line. If the series has a LABEL that is not yet on the chart, it adds that label to the x axis at the end of the axis. If the new series has a LABEL that is already on the chart, then it places the Value on that existing place on the x-axis. This Label is also used in the Hint portion of the chart.
    So lets compare the number of Sales per day of a Department across a length of time, say 3 months. So, on first working day on Jan dept A has 31 sales. On the second working day of January thay make 35 sales and so on until March 31. Our company doesn't work on weekends so we won't have sales on those dates. Dept B has their numbers for the same dates.
    We setup a series for each month (Jan, Feb, March). Then we place the total number of orders for each date on the graph and connect the dots! Great! But wait, the more months I add, the shorter each line gets on the graph. What if we were comparing 3 years worth of data instead of 3 months. The x-axis would have 600-700 values instead of 60-70 values. Oh my.
    What if we make each series of data its own line over the same scale? That way each month shows in the same space with the first day of the month at the left and the last day of the month near the right. Sounds good. But wait, we are now making up a scale. And when we do this, the Hints on the data points become meaningless. I want to show the actual date value in the hint but have the line over my custom X-Axis. What I need is an additional field that I can use to add to the Hint portion of the chart. Obviously, this would require using custom xml and a custom data element, but is this even possible given the constraints of the SQL syntax?
    To visualize this issue better: http://apex.oracle.com/pls/otn/f?p=28155:1
    Austin

    Andy -
    I need to thank you for the direction on the substitution variables reference. That will be a major help.
    However, i must correct a statement (underlining is mine)
    So, if you switch to Custom XML and find the <tooltip> tag and add {%SeriesName} after the existing {%Name} entry, you end up with the _"day of the month" (which is your value)_ and the Series Name value, which is January - so, "1 January"This is a common misconception that the numeric value on the x axis represent the "day of the month" , when in fact it does not. You logically cannot use the day of the month for this type of axis. Why not? It is because weekends are excluded. So, one month may begin on a Friday. If that were the case then the 2nd of the month would be a Saturday, which would work for a single series of data. But what about when you add in the next month and it begins on a Tuesday. Well then, if you use the day of the month as the value, the 2nd day of the second series actually gets plotted after all the days of the first month.
    The solution is that you have to generate a common arbitrary scale for all series of data. When you do that, you lose the date values.
    I have tried to illustrate all of this by adding to the existing examples in the link provided above. Some other odd behaviors of using the day of the month as the x-axis value can be seen as well. I have also implemented the suggestion of adding the {%SeriesName} tag to the Hint via the custom xml.
    Austin

  • Diagonal line on SSRS line chart

    Hi all,
    I'm struggling with a charting issue that I was hoping someone here might be able to help with - I've looked through various blogs without success. I need to insert a diagonal line running the full width of a line chart, representing the linearly increasing
    target value over a month. The actual data will then be a secondary series on the same vertical axis, showing progress against the target based on today's data.
    This report has several limitations that I should emphasise before someone says "Well, why can't you just generate the target data in the SQL query?". It's for Dynamics CRM Online, so the only type of data source and query allowed is FetchXML.
    I can't even use a simple SQL query that returns constant values, let alone an actual SQL DB query. It also doesn't seem to be possible to have any custom code in the report, which makes it even more frustrating. FetchXML is just not set up to do things like
    return constant values in a query, or return a dataset which is the set of days in the current month.
    What I do have is two datasets, one of which returns the actual data, which I've used as the first series in the table, and a second dataset that returns a single value that represents the target for the month. There's no way, as far as I'm aware, to cross-join
    that with a set of dates and then use a calculated field in the dataset to turn it into a linear series.
    I've set the min and max values of the X-axis to show me all dates, and my initial solution to the problem was to have a horizontal line at the target value, as shown below (red dotted line). However, I've been asked to change that to the solid red diagonal
    line as shown:
    Series 1 (Total order value) is the RunningValue of the daily order values, summed across the dates. 
    Series 1 data looks something like this:
    [Date] [Order Value]
    1 Mar 100
    3 Mar 20
    3 Mar 35
    24 Mar 400
    Series 2 data just has
    [Target Name] [Target Value]
    Sales Target 25000
    Does anyone have ideas on how I can do this? I'm happy to take any suggestions; the line doesn't have to be interactive or be an action, so it could even be rendered directly onto the chart, if that's possible. The only limitation is that it needs to be
    viewed on screen, and be printable. I'd prefer some sort of elegant approach that allows me to do it as two series on the same chart, but frankly at this point I'm beyond caring how it's done - so long as it works, it can be held together with chewing gum
    and string.

    Hi Anuruddha,
    When you want to see the diagonal line, you should divide the target value with number of values in x-axis,
    let say Month March  has 31 days, your target is 25000
    then 25000/31=806.4516129032258
    But to do dynamic you need to get the number of days in month
    =day(DateAdd("d",-1,DateAdd("M",1,cdate(cstr(Month(First(Fields!workday.Value, "DataSet3")) )+"/01/" + cstr(Year(First(Fields!workday.Value, "DataSet3")))))))
    Create another series like below shown:-
    a Above expression  :-
    = (Sum(Fields!target.Value, "DataSet2")/ (day(DateAdd("d",-1,DateAdd("M",1,cdate(cstr(Month(First(Fields!workday.Value, "DataSet3")) )+"/01/" + cstr(Year(First(Fields!workday.Value, "DataSet3")))))))))*Fields!id.Value
    Run the report:-
    Orange Line is yours previously, Red Line is what you want.
    I am doing calculation in series, so there is no problem for you as you can't write SQL query.
    Below is the RDL code , which will help you to check the expressions.
    <?xml version="1.0" encoding="utf-8"?>
    <Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
    <Body>
    <ReportItems>
    <Textbox Name="textbox1">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>Sparkline</Value>
    <Style>
    <FontFamily>Tahoma</FontFamily>
    <FontSize>12pt</FontSize>
    <FontWeight>Bold</FontWeight>
    <Color>SteelBlue</Color>
    </Style>
    </TextRun>
    </TextRuns>
    <Style>
    <TextAlign>Center</TextAlign>
    </Style>
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>textbox1</rd:DefaultName>
    <Height>0.37in</Height>
    <Width>5in</Width>
    <Style>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    <Chart Name="Chart1">
    <ChartCategoryHierarchy>
    <ChartMembers>
    <ChartMember>
    <Group Name="Chart1_CategoryGroup">
    <GroupExpressions>
    <GroupExpression>=Fields!workday.Value</GroupExpression>
    </GroupExpressions>
    </Group>
    <SortExpressions>
    <SortExpression>
    <Value>=Fields!workday.Value</Value>
    </SortExpression>
    </SortExpressions>
    <Label>=Fields!workday.Value</Label>
    </ChartMember>
    </ChartMembers>
    </ChartCategoryHierarchy>
    <ChartSeriesHierarchy>
    <ChartMembers>
    <ChartMember>
    <Label>value</Label>
    </ChartMember>
    <ChartMember>
    <Label>target</Label>
    </ChartMember>
    <ChartMember>
    <Label>id</Label>
    </ChartMember>
    </ChartMembers>
    </ChartSeriesHierarchy>
    <ChartData>
    <ChartSeriesCollection>
    <ChartSeries Name="value">
    <ChartDataPoints>
    <ChartDataPoint>
    <ChartDataPointValues>
    <Y>=RunningValue(Fields!value.Value,Sum,"DataSet3")</Y>
    </ChartDataPointValues>
    <ChartDataLabel>
    <Style />
    </ChartDataLabel>
    <Style />
    <ChartMarker>
    <Style />
    </ChartMarker>
    <DataElementOutput>Output</DataElementOutput>
    </ChartDataPoint>
    </ChartDataPoints>
    <Type>Line</Type>
    <Style />
    <ChartEmptyPoints>
    <Style />
    <ChartMarker>
    <Style />
    </ChartMarker>
    <ChartDataLabel>
    <Style />
    </ChartDataLabel>
    </ChartEmptyPoints>
    <ValueAxisName>Primary</ValueAxisName>
    <CategoryAxisName>Primary</CategoryAxisName>
    <ChartSmartLabel>
    <CalloutLineColor>Black</CalloutLineColor>
    <MinMovingDistance>0pt</MinMovingDistance>
    </ChartSmartLabel>
    </ChartSeries>
    <ChartSeries Name="IDDetails">
    <ChartDataPoints>
    <ChartDataPoint>
    <ChartDataPointValues>
    <Y>=Sum(Fields!target.Value, "DataSet2")</Y>
    </ChartDataPointValues>
    <ChartDataLabel>
    <Style />
    </ChartDataLabel>
    <Style />
    <ChartMarker>
    <Style />
    </ChartMarker>
    <DataElementOutput>Output</DataElementOutput>
    </ChartDataPoint>
    </ChartDataPoints>
    <Type>Line</Type>
    <Style />
    <ChartEmptyPoints>
    <Style />
    <ChartMarker>
    <Style />
    </ChartMarker>
    <ChartDataLabel>
    <Style />
    </ChartDataLabel>
    </ChartEmptyPoints>
    <ValueAxisName>Primary</ValueAxisName>
    <CategoryAxisName>Primary</CategoryAxisName>
    <ChartSmartLabel>
    <CalloutLineColor>Black</CalloutLineColor>
    <MinMovingDistance>0pt</MinMovingDistance>
    </ChartSmartLabel>
    </ChartSeries>
    <ChartSeries Name="Series">
    <ChartDataPoints>
    <ChartDataPoint>
    <ChartDataPointValues>
    <Y>= (Sum(Fields!target.Value, "DataSet2")/ (day(DateAdd("d",-1,DateAdd("M",1,cdate(cstr(Month(First(Fields!workday.Value, "DataSet3")) )+"/01/" + cstr(Year(First(Fields!workday.Value, "DataSet3")))))))))*Fields!id.Value</Y>
    </ChartDataPointValues>
    <ChartDataLabel>
    <Style />
    </ChartDataLabel>
    <Style />
    <ChartMarker>
    <Style />
    </ChartMarker>
    <DataElementOutput>Output</DataElementOutput>
    </ChartDataPoint>
    </ChartDataPoints>
    <Type>Line</Type>
    <Style />
    <ChartEmptyPoints>
    <Style />
    <ChartMarker>
    <Style />
    </ChartMarker>
    <ChartDataLabel>
    <Style />
    </ChartDataLabel>
    </ChartEmptyPoints>
    <ValueAxisName>Primary</ValueAxisName>
    <CategoryAxisName>Primary</CategoryAxisName>
    <ChartSmartLabel>
    <CalloutLineColor>Black</CalloutLineColor>
    <MinMovingDistance>0pt</MinMovingDistance>
    </ChartSmartLabel>
    </ChartSeries>
    </ChartSeriesCollection>
    </ChartData>
    <ChartAreas>
    <ChartArea Name="Default">
    <ChartCategoryAxes>
    <ChartAxis Name="Primary">
    <Style>
    <FontSize>8pt</FontSize>
    </Style>
    <ChartAxisTitle>
    <Caption>Axis Title</Caption>
    <Style>
    <FontSize>8pt</FontSize>
    </Style>
    </ChartAxisTitle>
    <ChartMajorGridLines>
    <Enabled>False</Enabled>
    <Style>
    <Border>
    <Color>Gainsboro</Color>
    </Border>
    </Style>
    </ChartMajorGridLines>
    <ChartMinorGridLines>
    <Style>
    <Border>
    <Color>Gainsboro</Color>
    <Style>Dotted</Style>
    </Border>
    </Style>
    </ChartMinorGridLines>
    <ChartMinorTickMarks>
    <Length>0.5</Length>
    </ChartMinorTickMarks>
    <CrossAt>NaN</CrossAt>
    <Minimum>NaN</Minimum>
    <Maximum>NaN</Maximum>
    <ChartAxisScaleBreak>
    <Style />
    </ChartAxisScaleBreak>
    </ChartAxis>
    <ChartAxis Name="Secondary">
    <Style>
    <FontSize>8pt</FontSize>
    </Style>
    <ChartAxisTitle>
    <Caption>Axis Title</Caption>
    <Style>
    <FontSize>8pt</FontSize>
    </Style>
    </ChartAxisTitle>
    <ChartMajorGridLines>
    <Enabled>False</Enabled>
    <Style>
    <Border>
    <Color>Gainsboro</Color>
    </Border>
    </Style>
    </ChartMajorGridLines>
    <ChartMinorGridLines>
    <Style>
    <Border>
    <Color>Gainsboro</Color>
    <Style>Dotted</Style>
    </Border>
    </Style>
    </ChartMinorGridLines>
    <ChartMinorTickMarks>
    <Length>0.5</Length>
    </ChartMinorTickMarks>
    <CrossAt>NaN</CrossAt>
    <Location>Opposite</Location>
    <Minimum>NaN</Minimum>
    <Maximum>NaN</Maximum>
    <ChartAxisScaleBreak>
    <Style />
    </ChartAxisScaleBreak>
    </ChartAxis>
    </ChartCategoryAxes>
    <ChartValueAxes>
    <ChartAxis Name="Primary">
    <Style>
    <FontSize>8pt</FontSize>
    </Style>
    <ChartAxisTitle>
    <Caption>Axis Title</Caption>
    <Style>
    <FontSize>8pt</FontSize>
    </Style>
    </ChartAxisTitle>
    <ChartMajorGridLines>
    <Style>
    <Border>
    <Color>Gainsboro</Color>
    </Border>
    </Style>
    </ChartMajorGridLines>
    <ChartMinorGridLines>
    <Style>
    <Border>
    <Color>Gainsboro</Color>
    <Style>Dotted</Style>
    </Border>
    </Style>
    </ChartMinorGridLines>
    <ChartMinorTickMarks>
    <Length>0.5</Length>
    </ChartMinorTickMarks>
    <CrossAt>NaN</CrossAt>
    <Minimum>NaN</Minimum>
    <Maximum>NaN</Maximum>
    <ChartAxisScaleBreak>
    <Style />
    </ChartAxisScaleBreak>
    </ChartAxis>
    <ChartAxis Name="Secondary">
    <Style>
    <FontSize>8pt</FontSize>
    </Style>
    <ChartAxisTitle>
    <Caption>Axis Title</Caption>
    <Style>
    <FontSize>8pt</FontSize>
    </Style>
    </ChartAxisTitle>
    <ChartMajorGridLines>
    <Style>
    <Border>
    <Color>Gainsboro</Color>
    </Border>
    </Style>
    </ChartMajorGridLines>
    <ChartMinorGridLines>
    <Style>
    <Border>
    <Color>Gainsboro</Color>
    <Style>Dotted</Style>
    </Border>
    </Style>
    </ChartMinorGridLines>
    <ChartMinorTickMarks>
    <Length>0.5</Length>
    </ChartMinorTickMarks>
    <CrossAt>NaN</CrossAt>
    <Location>Opposite</Location>
    <Minimum>NaN</Minimum>
    <Maximum>NaN</Maximum>
    <ChartAxisScaleBreak>
    <Style />
    </ChartAxisScaleBreak>
    </ChartAxis>
    </ChartValueAxes>
    <Style>
    <BackgroundGradientType>None</BackgroundGradientType>
    </Style>
    </ChartArea>
    </ChartAreas>
    <ChartLegends>
    <ChartLegend Name="Default">
    <Style>
    <BackgroundGradientType>None</BackgroundGradientType>
    <FontSize>8pt</FontSize>
    </Style>
    <ChartLegendTitle>
    <Caption />
    <Style>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    <TextAlign>Center</TextAlign>
    </Style>
    </ChartLegendTitle>
    <HeaderSeparatorColor>Black</HeaderSeparatorColor>
    <ColumnSeparatorColor>Black</ColumnSeparatorColor>
    </ChartLegend>
    </ChartLegends>
    <ChartTitles>
    <ChartTitle Name="Default">
    <Caption>Chart Title</Caption>
    <Style>
    <BackgroundGradientType>None</BackgroundGradientType>
    <FontWeight>Bold</FontWeight>
    <TextAlign>General</TextAlign>
    <VerticalAlign>Top</VerticalAlign>
    </Style>
    </ChartTitle>
    </ChartTitles>
    <Palette>BrightPastel</Palette>
    <ChartBorderSkin>
    <Style>
    <BackgroundColor>Gray</BackgroundColor>
    <BackgroundGradientType>None</BackgroundGradientType>
    <Color>White</Color>
    </Style>
    </ChartBorderSkin>
    <ChartNoDataMessage Name="NoDataMessage">
    <Caption>No Data Available</Caption>
    <Style>
    <BackgroundGradientType>None</BackgroundGradientType>
    <TextAlign>General</TextAlign>
    <VerticalAlign>Top</VerticalAlign>
    </Style>
    </ChartNoDataMessage>
    <DataSetName>DataSet3</DataSetName>
    <Top>0.59667in</Top>
    <Left>0.24667in</Left>
    <Height>3.55in</Height>
    <Width>4.53667in</Width>
    <ZIndex>1</ZIndex>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <BackgroundColor>White</BackgroundColor>
    <BackgroundGradientType>None</BackgroundGradientType>
    </Style>
    </Chart>
    <Textbox Name="Textbox2">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=day(DateAdd("d",-1,DateAdd("M",1,cdate(cstr(Month(First(Fields!workday.Value, "DataSet3")) )+"/01/" + cstr(Year(First(Fields!workday.Value, "DataSet3")))))))</Value>
    <Style />
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>Textbox2</rd:DefaultName>
    <Top>4.33833in</Top>
    <Left>2.21333in</Left>
    <Height>0.25in</Height>
    <Width>1in</Width>
    <ZIndex>2</ZIndex>
    <Style>
    <Border>
    <Style>None</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </ReportItems>
    <Height>4.71333in</Height>
    <Style />
    </Body>
    <Width>5in</Width>
    <Page>
    <LeftMargin>1in</LeftMargin>
    <RightMargin>1in</RightMargin>
    <TopMargin>1in</TopMargin>
    <BottomMargin>1in</BottomMargin>
    <Style />
    </Page>
    <AutoRefresh>0</AutoRefresh>
    <DataSources>
    <DataSource Name="DataSource1">
    <DataSourceReference>DataSource1</DataSourceReference>
    <rd:SecurityType>None</rd:SecurityType>
    <rd:DataSourceID>6abd5341-c043-4ab1-b449-c32e00efc4ac</rd:DataSourceID>
    </DataSource>
    </DataSources>
    <DataSets>
    <DataSet Name="DataSet1">
    <Query>
    <DataSourceName>DataSource1</DataSourceName>
    <CommandText>SELECT 1 ID, 1 MONTH, 50 VALUE
    UNION
    SELECT 1 ID, 2 MONTH, 30 VALUE
    UNION
    SELECT 1 ID, 3 MONTH, 20 VALUE
    UNION
    SELECT 1 ID, 4 MONTH, 10 VALUE
    UNION
    SELECT 1 ID, 5 MONTH, 25 VALUE
    UNION
    SELECT 1 ID, 6 MONTH, 50 VALUE
    UNION
    SELECT 1 ID, 7 MONTH, 10 VALUE
    UNION
    SELECT 1 ID, 8 MONTH, 20 VALUE
    UNION
    SELECT 1 ID, 9 MONTH, 30 VALUE
    UNION
    SELECT 1 ID, 10 MONTH, 40 VALUE
    UNION
    SELECT 1 ID, 11 MONTH, 45 VALUE
    UNION
    SELECT 1 ID, 12 MONTH, 50 VALUE
    UNION
    SELECT 2 ID, 1 MONTH, 25 VALUE
    UNION
    SELECT 2 ID, 2 MONTH, 30 VALUE
    UNION
    SELECT 2 ID, 3 MONTH, 10 VALUE
    UNION
    SELECT 2 ID, 4 MONTH, 30 VALUE
    UNION
    SELECT 2 ID, 5 MONTH, 45 VALUE
    UNION
    SELECT 2 ID, 6 MONTH, 35 VALUE
    UNION
    SELECT 2 ID, 7 MONTH, 10 VALUE
    UNION
    SELECT 2 ID, 8 MONTH, 50 VALUE
    UNION
    SELECT 2 ID, 9 MONTH, 20 VALUE
    UNION
    SELECT 2 ID, 10 MONTH, 14 VALUE
    UNION
    SELECT 2 ID, 11 MONTH, 40 VALUE
    UNION
    SELECT 2 ID, 12 MONTH, 45 VALUE</CommandText>
    <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
    </Query>
    <Fields>
    <Field Name="ID">
    <DataField>ID</DataField>
    <rd:TypeName>System.Int32</rd:TypeName>
    </Field>
    <Field Name="MONTH">
    <DataField>MONTH</DataField>
    <rd:TypeName>System.Int32</rd:TypeName>
    </Field>
    <Field Name="VALUE">
    <DataField>VALUE</DataField>
    <rd:TypeName>System.Int32</rd:TypeName>
    </Field>
    </Fields>
    </DataSet>
    <DataSet Name="DataSet2">
    <Query>
    <DataSourceName>DataSource1</DataSourceName>
    <CommandText>Select 25000 target</CommandText>
    </Query>
    <Fields>
    <Field Name="target">
    <DataField>target</DataField>
    <rd:TypeName>System.Int32</rd:TypeName>
    </Field>
    </Fields>
    </DataSet>
    <DataSet Name="DataSet3">
    <Query>
    <DataSourceName>DataSource1</DataSourceName>
    <CommandText>
    select 1 id, '03/01/2015' workday , 100 value
    union
    select 2 id, '03/02/2015' workday , 50 value
    union
    select 3 id, '03/03/2015' workday , 400 value
    union
    select 4 id, '03/04/2015' workday , 300 value
    union
    select 5 id, '03/05/2015' workday , 250 value
    union
    select 6 id, '03/06/2015' workday , 200 value
    union
    select 7 id, '03/07/2015' workday , 500 value
    union
    select 8 id, '03/08/2015' workday , 700 value
    union
    select 9 id, '03/09/2015' workday , 50 value
    union
    select 10 id, '03/10/2015' workday , 450 value
    union
    select 11 id, '03/11/2015' workday , 350 value
    union
    select 12 id, '03/12/2015' workday , 100 value
    union
    select 13 id, '03/13/2015' workday , 100 value
    union
    select 14 id, '03/14/2015' workday , 100 value
    union
    select 15 id, '03/15/2015' workday , 200 value
    union
    select 16 id, '03/16/2015' workday , 700 value
    union
    select 17 id, '03/17/2015' workday , 450 value
    union
    select 18 id, '03/18/2015' workday , 100 value
    union
    select 19 id, '03/19/2015' workday , 700 value
    union
    select 20 id, '03/20/2015' workday , 300 value
    union
    select 21 id, '03/21/2015' workday , 100 value
    union
    select 22 id, '03/22/2015' workday , 200 value
    union
    select 23 id, '03/23/2015' workday , 700 value
    union
    select 24 id, '03/24/2015' workday , 100 value
    union
    select 25 id, '03/25/2015' workday , 100 value
    union
    select 26 id, '03/26/2015' workday , 450 value
    union
    select 27 id, '03/27/2015' workday , 200 value
    union
    select 28 id, '03/28/2015' workday , 100 value
    union
    select 29 id, '03/29/2015' workday , 450 value
    union
    select 30 id, '03/30/2015' workday , 300 value
    union
    select 31 id, '03/31/2015' workday , 700 value</CommandText>
    </Query>
    <Fields>
    <Field Name="id">
    <DataField>id</DataField>
    <rd:TypeName>System.Int32</rd:TypeName>
    </Field>
    <Field Name="workday">
    <DataField>workday</DataField>
    <rd:TypeName>System.String</rd:TypeName>
    </Field>
    <Field Name="value">
    <DataField>value</DataField>
    <rd:TypeName>System.Int32</rd:TypeName>
    </Field>
    </Fields>
    </DataSet>
    </DataSets>
    <Language>en-US</Language>
    <ConsumeContainerWhitespace>true</ConsumeContainerWhitespace>
    <rd:ReportUnitType>Inch</rd:ReportUnitType>
    <rd:ReportID>59e8101c-8585-409d-82e7-c6719e928567</rd:ReportID>
    </Report>
    Thanks
    Prasad
    Mark this as Answer if it helps you to proceed on further.

  • Change Color from grid lines in Flash 2D Line Chart

    Hi,
    does anybody know how to change the color from the grid lines in 2D Line Chart?
    The color is always black (000000), I will use gray (CCCCCC).
    I can use a custom XML. Can you give me an example please???
    Where can I read something about the possible XML-Tags in Custom XML for Charts?
    Best regards
    Simona

    Simona,
    anychart.com has XML reference you can use for the charting engine in APEX.
    Try using custom XML and sticking this inside the grid > values tag:
    <lines color='0xCCCCCC' />- Marco

Maybe you are looking for