PhilJay / MPAndroidChart

A powerful 🚀 Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, panning and animations.
Other
37.53k stars 9.01k forks source link

Using library for a native PC/Mac Java application. #2294

Open moon47usaco opened 7 years ago

moon47usaco commented 7 years ago

I am using this library and the iOS-charts(Charts: https://github.com/danielgindi/Charts) to create iOS and Android charts as well as a native OS X application.

I would like to be able to use this library to build a Desktop app in Java so that all applications have the basic functionality and similar underlying library base.

Is this possible or is the library completely dependent on Android libraries to work?

moon47usaco commented 7 years ago

From my minimal testing it looks fairly dependent on Android.

How difficult would it be to port this to a standard Java library that does not depend on Android libraries?

michaelmensinger commented 6 years ago

I have the same question. Java graphing libraries are terrible out there. Would love to use this library in my Java web application. I don't even need any interactions, just static chart generation.

MGaetan89 commented 6 years ago

This library completely depends on Android for drawing the chart and interacting with them. Making it work in pure Java application would require a full rewrite dedicated to desktop application I guess.