emmerich / flot-orderbars Goto Github PK
View Code? Open in Web Editor NEWFork of the Flot OrderBars plugin found here: http://www.benjaminbuffet.com/public/js/jquery.flot.orderBars.js
Fork of the Flot OrderBars plugin found here: http://www.benjaminbuffet.com/public/js/jquery.flot.orderBars.js
When having an empty data object in the series orderBars generated error:
fiddle:
http://jsfiddle.net/xtr5sqhs/
please see this issue on stackoverflow
xaxis.min seems to be set to zero. This looks nasty when using time series. Can you detect the best min value for the xaxis?
You can see what I mean by feeding your example with this data:
data.push({
data: [[1388530800000,102.406],[1391209200000,165.44],[1393628400000,223.588],[1396303200000,null],[1398895200000,null],[1401573600000,null],[1404165600000,null],[1406844000000,null],[1409522400000,null],[1412114400000,null],[1414796400000,null],[1417388400000,null]]
});
data.push({
data: [[1388530800000,null],[1391209200000,null],[1393628400000,null],[1396303200000,null],[1398895200000,115.734],[1401573600000,609.038],[1404165600000,667.849],[1406844000000,559.338],[1409522400000,319.527],[1412114400000,221.966],[1414796400000,82.8976],[1417388400000,136.818]]
});
Hi,
Its not a issue.. but did not know where to put it..
Can you please tag atleast latest commits.. ?
When the bars are ordered, the x coordinate appears changed. Can't we order bars without changing the x value?
I was searching for a way to get both stacked and ordered bar charts using Flot and I had hoped this was the answer. However, at least based on your example, it does not work the way that most stacked and ordered bar charts work.
See the question I posted here: http://stackoverflow.com/questions/27726417/multi-dimensional-stacked-bar-chart-with-zingchart about ZingCharts and the answer that was provided. The answer shows how it should look. As you can see, every bar chart in that example has the same series of data. There is a red, yellow, blue and green component to every bar, because you are examining the same series of data across both the xaxis dimension and the extra dimension.
In your example, each bar per X axis tick holds different data. Order 0/Stack 1, holds the data for series 1 and 2 and Order 1/Stack 2 holds the data for series 3 and 4.
Any idea how to get this to work the way that I was hoping?
Is it possible to provide a minified version of the plugin?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.