作者:lanterwhile_557 | 来源:互联网 | 2023-05-18 03:59
OhlcChartModelmodelnewOhlcChartModel();DateAxisaxisXnewDateAxis(Date);model.getAxes(
OhlcChartModel model = new OhlcChartModel();
DateAxis axisX = new DateAxis("Date");
model.getAxes().put(AxisType.X, axisX);
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
model.add(new OhlcChartSeries(formatter.format(seriesDate), openValue,
highValue, lowValue, closeValue);
did anyone manage to make ohlc chart work with dates ?
有没有人设法使日期图表工作?
1 个解决方案