Copy & paste from chartbuilder doc
==============================
Known Problems and Restrictions
This section describes known problems or restrictions for Chart Builder:

  a.. When encoding a buffered image using indexed color on Windows NT, JRE
1.2.2 fails to render any graphics that have been anti-aliased.

  This bug is most likely to arise when creating a GIF file, because GIF
files require an 8-bit image type. When creating a GIF file, you have two
choices for the image type:

    a.. 8-bit Color, which is specified by defining the buffered images
using BufferedImage.TYPE_BYTE_INDEXED

    b.. 8-bit Gray Scale, which is specified by defining the buffered images
using BufferedImage.TYPE_BYTE_GRAY

  On Windows NT systems, all anti-aliased graphics will be missing from any
image encoded with BufferedImage.TYPE_BYTE_INDEXED. Use one of the following
methods to work around this problem:

    a.. Upgrade to JRE 1.3.1. This is highly recommended. Download the
software at

    http://java.sun.com

    b.. Run your code on Unix instead of Windows NT.

    c.. Use gray scale instead of color.

    d.. Run on Windows NT, but disable anti-aliasing, using code similar to
the following:

myAxisChart = new AxisChart();
...
// Disable line anti-aliasing.
//
RenderingHints hints = new
                       RenderingHints(RenderingHints.KEY_ANTIALIASING,
                       RenderingHints.VALUE_ANTIALIAS_OFF);
myAxisChart.setRenderingHintsLine(hints);


  b.. The default font is a sans serif font, LucidaSansRegular, which is
included in the JDK or JRE software.

  c.. The Java runtime environment assumes that your application code is
threadsafe. However, because more than one process could use a thread at the
same time, statements are not guaranteed to execute in order. Chart Builder
requires the setup statements, such as setYSeries( ) and setXSeries to be
completed before the paint( ) or drawBuffer( ) methods are called. If they
are not, you may receive an error.

----- Original Message -----
From: "Next Step" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 25, 2002 11:02 AM
Subject: Orcale Chartbuilder


> Dear all,
>
> Did anyone here has experience using oracle chartbuilder? i'm able to
> export to jpg file and its working fine except the quality is low, but
when
> exporting to gif file, the output file is there but image can not
displayed
> in browser, very strange.
>
> TIA.
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to