Any good examples of the JFreechart extension? #488
wigoe
started this conversation in
General, ojAlgo and related code
Replies: 1 comment 1 reply
-
ojAlgo in no way incorporates jfreechart. The ojAlgo-jfreechart extension artifact contains some standardsed chart builders/factories. Some of which make use of ojAlgo data types (like time series). The chart in the lower part of this screenshot is produced using high level code like this: public static JFreeChartAdaptor makeHistoryAndForecast(final BLMarket market) {
HistoryAndForecastBuilder retVal = new HistoryAndForecastBuilder();
for (BLAssetClassCategory instrument : market.getAssetClassCategories()) {
CalendarDateSeries<RandomNumber> series = instrument.getSeriesWithForecast();
retVal.add(series);
}
retVal.legend(false);
return retVal.build();
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I use JFreechart quite a bit and wanted to see how ojalog incorporates it into its algorithms/code. Any examples?
Beta Was this translation helpful? Give feedback.
All reactions