• Content count

  • Joined

  • Last visited

About dk7g

  • Rank
    Forum Newbie
  1. (NB 18/09/09: Added some updates as I realised that I didn't mention the third point, and I forgot to use IFCode for the tags so they don't get displayed...) Thank you so much Srividya, I got the RichFaces modalPanel working now, and it looks great!!! Derek PS: Interestingly though, this is what I needed to do: 1. I have to use fc:render in the small plots and not fc:renderHTML or symptoms persist (maybe it means fc:renderHTML doesn't work with WMode?). And certainly, windowMode has to be set to "opaque". 2. The chart in the modalPanel has to be rendered with fc:renderHTML and not fc:render, or one'll only see a string in the panel -- "Chart." 3. In FusionCharts.js, I'll have to have this.addParam('WMode', 'opaque'); Hope this bit of instructions will be useful to others
  2. Thanks a lot srividya, I gave the library a try but this is what I got: An Error Occurred: 8 Stack Trace: java.lang.ArrayIndexOutOfBoundsException: 8 at com.fusioncharts.jsf.UIHTMLChart.saveState( at javax.faces.component.UIComponentBase.processSaveState( at javax.faces.component.UIComponentBase.processSaveState( at javax.faces.component.UIComponentBase.processSaveState( at javax.faces.component.UIComponentBase.processSaveState( at javax.faces.component.UIComponentBase.processSaveState( at org.ajax4jsf.application.AjaxStateManager.getComponentStateToSave( at org.ajax4jsf.application.AjaxStateManager.buildViewState( at org.ajax4jsf.application.AjaxStateManager$SeamStateManagerWrapper.saveView( at org.jboss.seam.jsf.SeamStateManager.saveView( ... I'm just thinking, would it have anything to do with the fact that I'm using Java 6? Cheers, Derek
  3. Thanks very much Srividya!
  4. Hi, I'm using Seam + Facelet + PowerCharts Professional for my web development, and I actually come across the same issue with charts floating above the modal panel. And I'm just wondering if anyone can give me some insights. Attached in model-panel.txt is the code snippet I have in an xhtml file, to allow a blown up view of the same chart in a modal panel. Then I used both methods suggested by pickpeters and but the problem persists. The blown up chart will sit on top, followed by the smaller charts that are supposedly on the main screen, before the modal panel background (as shown in modal-panel-prob.jpg). Any suggestions will be greatly appreciated. Derek modal-panel.txt
  5. Tooltip/Data point/Vline issue

    A sudden urge drew me back here today and saw your updates. Indeed it's a tricky one when I need to remove the dots on the plot. Thank you so much for your help! It's much appreciated! Derek
  6. Tooltip/Data point/Vline issue

    Thanks very much Pallav! Best regards, Derek
  7. Tooltip/Data point/Vline issue

    Thanks a lot for the reply Rahul. The problem is that we cannot increase the chart width too much for the current project. Besides, increasing the chart width can only improve the situation somewhat. I tried increasing the width to 1600 (larger than my screen resolution) but there are still places with 1 hour lags -- the lines that are meant to be between 23:45 and 00:45 are now between 00:45 and 01:45. Once I thought I put the tags at wrong places but they were alright when I checked. Any ideas? Thanks again, Derek
  8. I have been trying out PowerCharts for some time now, using the trial version. We are fairly satisfied with the product so far and are seriously considering a purchase. However I recently found a potential bug with the tool which I would like to bring to your attention. The first attachment, tooltip.jpg, shows a 30-day time series that uses spline plot from PowerCharts, while the top of the screen is its magnification for one of the affected areas. code.xml shows the specification of the data set being used. There is meant to be a vertical separator (vLine) between the last recorded time of any given day and the first recorded time for the next day. However, when tooltip is enabled, it looks at if the vertical line has a 1-2 hours lag from the data points to the tooltip, as shown on tooltip.jpg. Further investigation shows that plots with small data sets are slightly less affected but is fairly obvious with larger ones, as in the current situation. Thank you for your attention, and your feedback will be greatly appreciated. Best regards, Derek