How to get started with JFreeChart?

前端 未结 2 1866
离开以前
离开以前 2021-01-21 06:48

I have downloaded the latest version of JFreeChart (1.0.14) and want to start using it. I only have imported standard Java packages like java.io.* before and never

相关标签:
2条回答
  • 2021-01-21 07:27

    You have to add a library's jar file into both compile-time and run-time CLASSPATH. In jGRASP you can do it through "Settings > PATH/CLASSPATH > Workspace" dialog. See HOWTO, Control Panel and Settings for more details.

    0 讨论(0)
  • 2021-01-21 07:48

    By adding both jar libraries:

    \jfreechart-1.0.14\lib\jfreechart-1.0.14.jar and
    \jfreechart-1.0.14\lib\jcommon-1.0.17.jar 
    

    into CLASSPATH, you will be able to use the library straight forward.

    0 讨论(0)
提交回复
热议问题