M
M
Marina2021-10-24 16:24:15
Java
Marina, 2021-10-24 16:24:15

How to create a line array graph in Java?

There is a one-dimensional array with temperature data for a period. You need to create a 2D graph. In x-coordinates - cell number, in y-coordinates - data from the cell.
How to implement? (examples which classes to use)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Cheremisin, 2021-10-24
@PersonalAngel

What are your plans for the schedule? On web, swing, javafx, swt, android?
For FX and swing, see here - https://www.jfree.org/jfreechart/
Of course, store data in an Array or Vector, or in a simple two-dimensional array.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question