As the very name suggests, the Stock Java Chart is useful to display information about stock and financial data. A Stock Java chart component, which is also a part of ElegantJ Charts Library, can chart information about the high, low, opening and closing values of the stocks. The look of the stock bar depends on the use of the sub type.
Stock charts can be used for:
Displaying daily stock prices over time
Displaying statistical data with a confidence range over time
Components and functions of Stock Charts:
Each data item in a Stock Chart is displayed with a stock bar that can represent the high and
low prices for the day and the opening and closing prices for the day.
There can be infinite number of categories in this type of chart, but only one data item or a
stock bar can be displayed per category in a Stock Java Chart.
This chart could also display each category to represent the prices for a separate stock,
which will allow you to compare prices for separate stocks on a single day.
Data items in Stock chart must have at least two values: The high value and the low value.
The open value and the close value may be optional, depending on the chart sub type.
For the Stock chart, the following statistics can be calculated:
Sum: The sum value in the series.
Count: The count value in the series.
Valid Count: The valid count value in the series.
Average: The average value in the series.
Valid Average: The valid average value in the series.
Maximum: The maximum value in the series.
Minimum: The minimum value in the series.
ElegantJ Charts offers these sub-types of Stock Charts: