Jump to content
Software FX Community

bfollek

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by bfollek

  1. Is there any easy way to generate a thumbnail for a chart? Simply sizing height and width down to thumbnail size doesn't seem to do the trick. TIA
  2. In a line graph, I get a gap between the Y-Axis and the start of the line, and a gap between the end of the line and the rightmost vertical border of the graph (the inner border). How can I eliminate these gaps?
  3. I have a 3D stacked bar chart that I created in the Designer. At run-time, I load the XML and pass data with a ResultSet. The X-axis labels are years. They appear slightly to the left of the bars. How can I center them under the bars?
  4. >... there is no way to close them after you call getHtmlData. I'm calling getHtmlData() in a try block, and closing the jdbc objects in the finally block. Seems to be working - print statements in the finally block go to the console, so I know it's running.
  5. Thanks. I'm trying to pinpoint when the ChartServer object actually reads the ResultSet. This seems to be at getHtmlData() time. This matters for jdbc cleanup. Closing the connection, but hoping the resultset will still be there...I wouldn't want to depend on that behavior. At any rate, I like to explicitly close the resultset, then the stmt, then the connection.
  6. I'm using JDBCDataProvider and setDataSource() to create a bar chart in a servlet. I want to change the colors of the bars to red. Do I have to loop through all the points and setPoint() each point with an appropriate PointAttributes object, or is there some better way to do this? TIA
  7. I'm using JDBCDataProvider and setDataSource() to create a chart in a servlet. I write the chart to the browser using getHtmlData(). In my testing, it seems that I have to keep the resultset open till after my getHtmlData() call or I get a 500 error. But some of the examples seem to close the connection right after setDataSource(). What am I missing? TIA
×
×
  • Create New...