Will this program work on other computers that may (or may not) have a version of JFreeChart installed (or any at all).
No. Java programs need to ship their dependencies (except for the JVM itself and its libraries) with them. You can bundle them all together in one executable jar file.