Comments (3)
Thanks for bringing this up, we're looking into it. Some preliminary remarks:
- javafx-web: removed with only minor changes
- fastutils: low usage because it was added only recently. "A type-specific array-based list; provides some additional methods that use polymorphism to avoid (un)boxing" <- our usecase, DGrowArray is missing a lot of features that we want to have + we want to concentrate on charting instead of primitive data types.
- svg: is an inhouse functional requirement (remaining pngs will also be migrated to vector based)
- jfxtras: currently used in DataViewer, will probably be removed after overhaul of that class.
- java's NumberFormatter is actually a lot less suited for formating axis labels, where we need to control the number of digits and dynamically switch to exponential representations. -> nontrivial change affecting core usecases of our library
- slf4j: slf4j is the standard logging solution in chart-fx's main application, so we will not get rid of it, but we aim to provide better out of the box experience by providing sample/default configuration.
from chart-fx.
-
fastutils: In my use case I assume that ProGuard can shrink away whatever isn't used, so I'm not all that worried about it. It does noticeably increase packaging time, but that's not a deal breaker.
-
svg: I've spent several hours today trying to get all the dependencies sorted out in ProGuard, but so far I haven't managed to produce an executable that still works. I realize that this is a functional requirement for you, but would it be possible to turn this into an optional feature? For example,
// Pseudo code (maybe reflection or explicit install by user)
static {
// check if SvgImageLoaderFactory is on classpath
// If so -> install support for .svg
}
// API with fallback
public Image getIcon(String name) {
try {
return read(name + ".svg");
}catch(cant-read-svg-exception e){
return read(name + ".png");
}
}
This way you automatically get svg support if the library is on the classpath, or if a user installs support in some other way. It's your library, so it's obviously your call, but if possible I'd really like to avoid having to maintain a fork. This seems like a really small change and I'm probably not the only user who will run into this.
from chart-fx.
I was able to work around this by excluding everything that isn't absolutely necessary. My only remaining issue is that I've so far been unable to remove or shrink com.ibm.icu
. ~15MB total is already a lot more reasonable though.
from chart-fx.
Related Issues (20)
- Listener to react on mouse clicks on data points HOT 1
- Auto Ranging is doing unpredictable things HOT 2
- Application does not exit with chartfx HOT 4
- getXValues/getYValues returns extra values not included in the data HOT 2
- [10pt, 10pt]Restructure layout computations to make rendered output more consistent HOT 3
- If the dataset is round-trip, when i zoom the chart, the line will disapear. HOT 4
- Feature request (bug?) center handle position in HeatmapChart Pixels HOT 1
- Feature Request: allow explicit setting of axis' tick marks HOT 1
- Moving XYCharts to a new scene causes improper scaling between the axis and series/gridlines HOT 4
- DragResizerUtil dont resize on south HOT 1
- ShortTimeFourierTransform: Amplitude change with zero padding
- Customize color schema of XYChart HOT 2
- Axis display problem HOT 2
- Noob developer
- Change CachedDataPoints access modifier to public
- Notes for future work past 11.3 HOT 1
- Eclipse cannot handle 11.3.0 for some reason HOT 19
- Several questions about axis HOT 2
- The Zoomer plugin has some problems when using the mouse wheel HOT 2
- Fix usage of `renderer.getAxes` in `DataPointToolTip` and other plugins
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chart-fx.