Xcelcius Line Chart in SWF Loader - Bug ?
Sometimes SWF Generated by Xcelcius (SAP Business Object Dashboards) display result like picture below .. randomly.
My Version is the latest version 14.1.3.1334 SAP BO 4.1 Support Pack 3 Patch 2.
It is bug .. or something wrong in my xlf ?
I can't find any thing in the forums about this. Thanks
To me it works perfectly alright, as discussed earlier I would suggest you to raise a ticket on this to SAP.
Similar Messages
-
It looks like I may have found a bug in the swf loader. Before I submit this problem I want to make sure there is not something I'm missing in my code. I wrote this class to load a tutorial when the user first launches a sub application in a project I'm working on. This is a simplified version of the class that exemplifies the problem. The same methods I use to launch the swf from within an mxml work just fine, but when I externalize the process in this class, I can hear the tutorial, but I get no visual. Is this a bug or am I missing something?
Here is the tutorial launcher class:
package proj.fuego.utils
import flash.events.Event;
import mx.controls.SWFLoader;
import mx.flash.UIMovieClip;
public class TutPlayerSimple extends UIMovieClip
private var gutLoader:SWFLoader;
public function TutPlayerSimple(fullTutorialPath:String)
gutLoader = new SWFLoader();
gutLoader.addEventListener(Event.COMPLETE, addToStage);
gutLoader.load(fullTutorialPath + ".swf");
//addChild(gutLoader);
private function addToStage(evt:Event):void
addChild(evt.target.content);
This is my mxml:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" minWidth="1024" minHeight="768" applicationComplete="application1_applicationCompleteHandler(event)">
<mx:Script>
<![CDATA[
import mx.controls.SWFLoader;
import mx.events.FlexEvent;
import proj.fuego.utils.TutPlayerSimple;
private var fullTutorialPath:String = "ll_tut";
private var tutPlayer:TutPlayerSimple;
protected function application1_applicationCompleteHandler(event:FlexEvent):void
// TODO Auto-generated method stub
var context:LoaderContext = new LoaderContext();
tutPlayer = new TutPlayerSimple(fullTutorialPath);
//context.checkPolicyFile = true;
//gutLoader.loaderContext = context;
trace("Loading Tut:", fullTutorialPath + ".swf");
addChild(tutPlayer);
]]>
</mx:Script>
</mx:Application>That didn't look right. You'll need to addChild SWFLoader. Not sure what will happen if you just try to add its content. There might also be issues putting Flex components inside a UIMovieCip.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui -
Flex 3 locale swf loading bug on firefox
Hi all
I REALLY need your help here
if anyone knows this bug or have any idea how to deal with it, it would really mean a lot to me
i've been tring everything
description:
i'm building an application using flex 3, where all texts are being localized via the locale loaded at runtime
i suspect that for some reason the locale swf i'm loading isn't updating elements of the page
as you can see in the image below, texts appear cut off.
this happens to me only in firefox, no matter which page of the app is being displayed
any ideas?
appreciate your time in answering
Yariv GiladHello and thank you for your quick answer
the text is indeed right, and what you say make sense to me
how can i proceed from here though?
how can i fix the "sizing and positioning problem" ?
the UI components are there and are being populated dynamically through the locale
is there a way to force them to update?
is this the right direction at all?
any other ideas?
just to note that if i hard-code the text into the components they are rendered perfectly
so i don't see a reason to change their position or size...
thank you for your time
Yariv Gilad -
Line Chart creation bug?
In HTML DB release 1.6.0.00.87 when I create a new line chart for some reason the Application Builder brings in copies of all the series from all my other line charts in the application. So each time I create a new line chart I have to delete all the additional series the Builder added.
Is this a bug? If so, is it fixed in release 2.0?I just created a line chart and, under Build In, I don't see a "grow" option. Are you using Keynote '09?
-
Possible Bug when selecting the "text" tab on a Line Chart
Thought I would pass this on. Not sure if it has been logged yet or not. Sometimes when building a line chart, the properties field locks up when I try and select the "text" tab. The dialog boxes in the "text" tab do not show up and the "layout" tab is also highlighted. I do not know what causes this, but it has happened to me numerous times. The only solution is to totally delete the line chart and start all over. It may be related to copying and pasting. I set up a chart the way I need it and then copy/paste it rather than making all the changes on a default settings chart when I need another chart.
StanHi Stan,
Are you encountering this problem in the RTM version or SP1?
Can you list the exact steps to reproduce this problem in the most simple case?
Example: add line chart, bind to data, copy, paste, click on text tab...............
Thanks,
Gerrit -
Hi...really perturbed by this.
I'm trying to animate a line chart with the "grow" Build in, but it appears to blink right at the end of the animation. I've tried doing it with a brand new line chart using the default data as well as with custom data. Anyone had a similar problem with blinking animation? Thanks!I just created a line chart and, under Build In, I don't see a "grow" option. Are you using Keynote '09?
-
Chart preview (swf file) doesn't scale Y axis correctly, shows 0 to 6 only!
Hi Everybody
This is my first post on this forum.
I am trying to generate an interactive chart using the most simple functionality of using 2 comboboxes and 1 line chart.
The selected values from the 2 comboboxes are supposed to go in to 2 cells on the spreadsheet. The spreadsheet cells that are used to create the chart are then updated. The updated chart can be seen on the canvas with proper values along the Y (Values) axis. However, when I click on the "Preview" button - as it generates the swf file, it shows the comboboxes with the correct labels and it permits to change my selection therein but the chart is always blank because the scale of the Y axis is from 0 through to 6 - and no values for any combination of the 2 comboboxes fall within 0 and 6.
What do I need to do to address this Y axis scaling problem? The current setting for scaling is Auto with 'Linear' entered for "Fixed label size".
Please help - I am desperate to know what is happening here! The Excel formula works, the chart on the canvas is updated but not on the preview. I am using Xcelcius Engage 2008 application.
Best regards
Deepak AgarwalHello RashmiG
I doubt if the problem relates to the size of the chart. I believe that the problem could be related to the installation not being complete (since the key that we currently have is a temporary key only provided by SAP) or something of the sort - the reason I say that is because whilst the chart did not get updated with the combobox component, it did get updated with the filter component ((I used it on 3 tab sheets with varying number of variables in the filter ranging from 2 to 3). With the the filter component (with 2 or even 3 variables) it all worked ok. So I resigned myself to using the filter component instead of the combobox.
Whilst I have got you, could you advise me of the advantage that a component offers over the other - in this case, the filter over the combobox or the other way around?
One other thing, if I may ask you - is it possible to drive Xcelsius using Excel VBA. The reason I want to do this is to be able to do the following from with Excel VBA:-
1. Open Xcelsius
2. Import a spreadsheet in to Xcelsius
3. Export the dashboard in the desired format
I can do everything else that I would need to do to update the input spreadsheet from within Excel VBA with the exception of the above 3 tasks.
If you or anyone can help me realize the above, that would be a monumental assitance. The same shall be highly valued.
Best regards
Deepak Agarwal -
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); -
<Data>
<Brand BName='ICICI Bank' MainId='276439c0a2e886311a426147'>
<Name Main='(author unknown)' Count='305' />
<Name Main='intellibitz' Count='30' />
<Name Main='bankcodes' Count='25' />
<Name Main='info2india' Count='24' />
<Name Main='amitkarnani' Count='9' />
</Brand>
<Brand BName='Yes Bank' MainId='276439cd8a4514807d7180d0'>
<Name Main='(author unknown)' Count='32' />
<Name Main='STOCKSTIPS' Count='5' />
<Name Main='stockezymobile' Count='4' />
<Name Main='Intraday Ideas' Count='4' />
<Name Main='Infopiper' Count='3' />
</Brand>
</Data>
This is my xml data.It can bo vary as per data changes.but i need to draw linechart by using actionscript.In this case draw two line .But if Brand will increases
the a line is automatically increase.
PLease help me for making a line chart.....
please reply anybodyYou should learn
- how to load an XML file (URLLoader class)
- read XML data (XML class)
- draw lines (graphics class) -
Line chart's marker size is not changing
Hi,
I am using Crystal Reports 2008 and trying to change a Line Chart's marker size. The default size is 35, but every time I change it, it returns back to 35 again. Is there a bug in the application?
Thanks,
AlHello Al,
You need to turn of Auto Arrange in Chart Expert > Options > Layout
Changing the marker size conflicts with the Auto Arrange so it is not possible to change the Marker size with it enabled. -
How to convert from line chart data to CSV format
Hi ,
I am using Flex 3 and AS.
I am getting data from MS SQL and display the data as line
chart this is ok.
But i want to convert this line chart data to CSV or .xsl
format.I find one example in fourms the from data grid to CSV
For this URL is
http://www.abdulqabiz.com/blog/archives/flash_and_actionscript/datagriddataexporter.php
But i want Line chart to CSV.Please help me.Line chart is a just a visual representation of some data
that's sitting in your database. Isn't it? You load this in Flex,
probably using HTTPService class, and pass it to some chart object.
Now when use says that she needs it in CSV format, you're
gonna have to send another request to the server to produce the
same data, convert into CSV or XLS format and let user download it.
Of course, if use doesn't want to download, you don't have to
go to the server, at least for CSV format. You can convert the same
data that used plot the chart to convert to CSV.
Am I missing something here?
ATTA -
Data Disappears from Line Chart in Preview Mode
Help! Line chart data present in design mode, but disappears when in preview mode. I have a dashboard that I update monthly. Simple line charts. Now, the line chart data is visible while in the design view, but does not show up when in the preview view or even when converting it to a PDF or Powerpoint. SWF issue? Inputs are needed!
Thanks,
StanHi Stan,
The answer to, why the data disappears in runtime mode, depends on how you retrieve the data in your dashboard.
It seems that you have some sample static data in your spreadsheet that shown in design mode. But chances are that this data is set to be overwritten in runtime mode, if you import your data using QAAWS, Live Office or similar.
I would suggest you to add a "spreadsheet table" component (found in the bottom of the Selectors category in the components browser) to your dashboard. Set the spreadsheet table to display some of the cells in the spreadsheet that you expect to get populated during runtime.
In this way you can verify if data is actually present in the relevant cells during runtime.
By the way - this is also a best practice method to test data-retrieval in Xcelsius.
I hope this helps.
Kind Regards,
Simon -
How to make use of a different data model for a line chart?
I have a datamodel which is a sql query. I have a line chart on my template which is using some "Start Time" field as X-Axis. There is a chance that "Start Time" is null. In such cases the plotted point doesn't appear with x-coordinate. But I can't change the X_Axis field to some other not-null attribute due to business requirement.
I am thinking to create another datamodel which filters all "Start Time"s which are nulls and use that datamodel for the line chart that has "Start Time" as X-axis. But I don't know how to do this as whenever I try to insert a line chart from BIPublisher menu in MS_Word, I am not prompted to select the datamodel.
Can anybody tell me what I am trying is possible? If so how? If not, how do I have "Start Time" as X-axis without hassles?
Thanks,
-Vijay-Are you able to extract the data based on the new data model in an XML file? If so, in BI publisher desktop, are you able to load the XML data via Add-Ins ->Data -> Load XML Data?
If you have been able to load the data successfully, then you need to Select Chart from the Insert Menu. When you do that, you should be able to see the Data layout on the left side of the chart dialog box. Then you should be able to drag and drop fields as necessary to create the chart. Are you having issues doing this part?
You will not be prompted to select the data model. Hope I haven't misunderstood your question.
Thanks! -
HTMLDB Line Chart Problem in Version 2.0
After upgrading to 2.0, several of our line charts stopped rendering.
It seems that if a datapoint's value is equal to zero, the line will not render.
However if I filter out all records > 0, then the chart works fine.
I requested a workspace(OTN) and tried it out there and ended up with the same results.
Is this bug in the charting engine or am I missing something?? Thanks for any help.
- George
Steps to reproduce:
CREATE TABLE TEST01
(MONTH VARCHAR2(15),
JCOUNT NUMBER);
INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('OCT-04',30);
INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('NOV-04',40);
INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('DEC-04',30);
INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('JAN-05',145);
INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('FEB-05',60);
INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('MAR-05',50);
INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('APR-05',161);
INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('MAY-05',82);
INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('JUN-05',177);
INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('JUL-05',213);
INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('AUG-05',122);
INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('SEP-05',140);
INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('OCT-05',70);
INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('NOV-05',67);
INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('DEC-05',27);
INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('JAN-06',46);
INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('FEB-06',31);
INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('MAR-06',17);
INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('APR-06',15);
INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('MAY-06',9);
INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('JUN-06',5);
INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('JUL-06',5);
INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('AUG-06',1);
INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('SEP-06',5);
INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('OCT-06',0);
INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('NOV-06',0);
INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('DEC-06',0);
ADD A REGION TO PAGE CONTAINING A LINE CHART;
HERE'S THE SELECT:
SELECT NULL LINK,MONTH,JCOUNT FROM TEST01;
MAKE SURE TO SET THE MAXIMUM RECORD COUNT TO 50;
THEN RUN THE PAGE
EXPECTED RESULTS: LINE CHART WILL RENDER
ACTUAL RESULTS: LINE CHART DOES NOT RENDERLooks like a bug. Oracle may be aware of it. The best workaround I could come up with is adding a very small amount to your value (JCOUNT).
SELECT *
FROM (SELECT NULL link,
month,
CASE WHEN jcount = 0 then .00001
ELSE jcount END jcount
FROM TEST01
ORDER BY TO_DATE(month,'MON-RR'))Only problem you have with this is if you display data point values. The value for zero JCOUNTs will display as .00001. You can work around that by picking a format mask for the "Data Label Format" value for your series.
Mike -
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,
KrishnaHey 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
-
I was wondering if anyone knows if there is a way to set your Macbook so that when you use Webex and share your desktop you can broadcast any number of the multiple desktops on the Mac. Yesterday I found myself needing to share my desktop on a Webex.
-
Like the title says, why when I record a video, it is saved like a photo and not like a video. I mean that if I go in video app, I can't see my video that I just recorded, I have to search in my photos, but this is a video. I don't understand. Thanks
-
How do I modify confirmDelete.js?
I would like to add a line to delete the APEX user when the js is deleting the row in a table.
-
m using BAm 11g.I am getting exception while importing the files.can u please guide me. D:\Fusion11g\Middleware_WLS\Oracle_SOA1\bam\bin>icommand -cmd import -file "D:\ BAM-ExportedFile\SLA_Endtime_dataobject.xml" -username system Oracle BAM Command U
-
SLT Replication for the same table from Multiple Source Systems
Hello, With HANA 1.0 SP03, it is now possible to connect multiple source systems to the same SLT Replication server and from there on to the same schema in SAP HANA - does this mean same table as well? Or will it be different tables? My doubt: Consid