Jump to content
Software FX Community

rubyrubin

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by rubyrubin

  1.  Hi -

    How would you recommend deploying the ZoomChart sample provided in a production environment?  The sample provided uses scriptlets inside a jsp, but this will fail if the web server needs to serialize the session.  In other more explicit words, the session contains a reference to the inner class (the UserCallbackEventHandler), which keeps a reference to its container class, which contains a reference to a ChartServer, which is not serializable.  The web server will serialize sessions in production environments when memory is running low.

    At the moment, this is preventing us from considering deployment on a production level...I had also written a post asking if there was a flash version of the zoomchart (this feature is highly sought after by our customers).

     

     - Aaron

  2.  Are there any examples allowing the user to modify or edit (or even show the toolbar)?  I can't seem to get it to work (the below code doesn't allow the user to show the toolbar or modify the text annotation):

      annotation.Annotations annots;    annots = new annotation.Annotations();    chart1.getExtensions().add(annots);    annotation.AnnotationText text;    text = new annotation.AnnotationText();    text.setText("This is an Annotation Text2");    text.setTop(120);    text.setLeft(100);    text.setAllowModify(true);    annots.getList().add(((annotation.AnnotationObject)text));    annots.setEnableUI(true); annots.getToolBar();

  3.  I found it.  It actually resides in com.softwarefx.chartfx.server.annotation. 

     

    The code  snippet in the programmer's guide shows the following (and many more lines of code after it):

     

    Annotation.Annotations annots;
    annots = new Annotation.Annotations();
     .
    .
    .
     
    I changed the upper cases to lower cases as follows:
     
    annotation.Annotations annots;
    annots = new annotation.Annotations(); 

     

  4.  I am experimenting with the demo of ChartFX for Java Server.  I've seen a couple of blurbs about annotations and wanted to see its capabilities. Unfortunately, I cannot find the extension.  Where can I find it?  Thanks!

     - Aaron

     p.s. I was mostly interested in the annotations the  user can put on the chart and wanted to be able to save them (if possible).

×
×
  • Create New...