Comments (6)
Good idea. I'm first working on replacing the CSS positioning with translations when transforms are available. I suppose I should have 3 options: canvas, HTML with CSS translations, and plain HTML.
from flot-axislabels.
I think graceful degradation is the way to go, and instead of html or css or canvas options, make the only option
yaxis: {
axisLabelAngle = horizontal
}
defaulting to vertical
from flot-axislabels.
I wonder, though, if it would be more pain than it's worth to have a mix of canvas and HTML, given that the default fonts are quite different, and I'm not sure how much value there is to having half the axes' labels selectable and the other half not. I want to keep the ability to force specific types of rendering too. Maybe I will implement both the simple horizontal/vertical option and the forcing of specific renderers.
Anyway for now I have pushed support for graceful fallback. All the latest major browsers default to CSS transforms, a few go back to canvas, and IE 8 goes back to the DXImageTransform for rotation and CSS positioning for translation ('cause Matrix is awful and I don't care to learn it). I haven't tried it, but I assume very old browsers would go back to HTML.
from flot-axislabels.
I like "Maybe I will implement both the simple horizontal/vertical option and the forcing of specific renderers." that method
from flot-axislabels.
Sorry haven't gotten back to this... not much time to concentrate on this plugin for a while. Feel free to submit a patch if you want. :)
from flot-axislabels.
With axis-label support going into flot core in 0.9, I don't think it's worthwhile to further complicate this plugin, so I'm going to close this.
from flot-axislabels.
Related Issues (20)
- Internet Explorer 8 throws "Expected identifier" when loading HOT 3
- flot-axislabels fails to load in IE10 HOT 1
- Verify flot-axislabels 2.0 is MIT for all contributors HOT 2
- chart label doesn't look right after applying html2canvas HOT 3
- Enhancement: draw label below axis? HOT 4
- Remove inline css color from CssTransformAxisLabel.prototype.draw
- axisLabelColour => axisLabelColor
- Typo in README HOT 1
- Turning axis on and off dynamically
- Drawing at Half Pixel Positions Causes Blurring
- yaxis label is cut off (or partially outside of the drawing area)
- add a screenshot
- add a LICENSE HOT 1
- One data set, multiple axis labels
- superscript and subscript in labels
- responsive labels
- Please include a bower.json file
- Can't set tickColor to white when using yaxis label on line graph
- multiple axes label fuzzy
- Axis Labels show up in a separate legend block instead of around the graph HOT 1
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 flot-axislabels.