I require a Java command line program that creates a Timeline chart from an Excel File and produces a PNG file. The program should use Java 8.
The java program must be custom written (no charting/graphing libraries allowed).
The java program should take the following parameters:
Java -jar [login to view URL] title width height color startyear stopyear yearincrement filename
Java -jar [login to view URL] “My Title” 600 300 blue 1990 2010 2 [login to view URL]
Title: Is the Title of the Chart to be displayed on the PDF
Width: is the width of the PNG to be created
Height: is the height of the PNG to be created.
Color: is the color of the lines to be created
Startyear: is the first year to be displayed
StopYear:is the last year to be displayed
Yearincrement: is the year increment to be used (i.e. if 10 then 1900, 1910, 1920, etc)
Filename: is the excel data file to be loaded
See attached PNG as an example. This is the kind of chart I want produced.
The format (columns) of the Excel file are:
Height: range from positive number (height above Year line) or negative number (height below Year line)
Deliverables include the following:
Source code with documentation