Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am looking for a Library that allows me to create Charts like the "Annotated Time Lines" that are e.g. used on Google Finance. I can't use the Google API because it relies on Flash and my chart should not only work on all common browsers but also be usable with mobile devices like the ipad.
I don't need all of the features of Google's Solution, but displaying linked event flags in the chart is an essential requirement and the ability to arbitrarily zoom and pan the chart would also be nice, the latter feature is however not a must on mobile devices and older browsers.
A serverside solution that transparently generates plain image charts if flash (or other client features like canvas-elements) is not available on the client would also be ok, I have asp.net mvc 2 running on the serverside.
An open source solution would be great, but a commercial library or component is also an option.
Any Suggestions?
What about http://highcharts.com, their API is very complete
A popular opensource Javascript plotting library is the flot library (JQuery plugin). More information:
Flot Sample with a basic annotated time line
Flot usage on the web (many samples)
www.hightcharts.com is amazing
mmm, I think you can extend the Highcharts library with no hassle, they have pretty good documentation, and also Is really easy to understand their api and code. I suggest you, first implement the linked events, and then with some free time study the code to add that functionality.
I recommend http://g.raphaeljs.com/
(I've used Raphael.js extensively for http://radiancejs.com.)
You'll have to do the scrolling to zoom thing yourself, however.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I've been looking all over the internet for this. I'd like to know if there is any Node.js packages/bindigs/libraries that allow you to make an application that draws on the screen without node-webkit(NW.js)/Electron or other implementations based on browsers. Maybe something that binds to opengl with support for 2D graphics?
Let me know if you know some names or links. If not I might have to write something myself.
Thank you guys.
There is an experimental project : https://github.com/creationix/node-sdl
This basically provides bindings to the SDL library:
Simple DirectMedia Layer is a cross-platform development library
designed to provide low level access to audio, keyboard, mouse,
joystick, and graphics hardware via OpenGL and Direct3D.
If you can get it compiled, you can try the example scripts in nodejs.
node-opencv or OpenCV in general should allow you this. At least it has a HighGUI class, which gives you native window contexts to display image data. With a lot of hacking you can build something you require. But I would suggest using browser contexts and HTMLCanvas anyhow. It gives you all you need out of the box. You just need to set it up properly.
Edit:
As per #Zorgatone's suggestion, GTK could be a very good library for that purpose, though node bindings are very stale.
There are projects that brings
QT bindings to node.js - https://github.com/arturadib/node-qt
GTK bindings - https://github.com/Tim-Smart/node-gtk
WxWidgets bindings - https://github.com/joeferner/wxNode
but unfortunately the last commits seem to be for old node.js versions.
It will be substantial work to make the bindings work with a recent version of node but those a interesting starting points.
V8-GL intends to provide bindings for creating 2D-3D graphics on the desktop with javascript.The Status is not completed yet, but maybe it is enough for what you are trying to do https://github.com/philogb/V8-GL
Another thing i just found out is, that it actually uses immediate mode, which is deprecated but still works.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I have done POC with highcharts and works fine and looks great.
I am looking for better open source library/framework using which i can develop my dashboard showing different graphs.
The UI framework must handle the real time data (like Ajax calls or REST).
Any helpful suggestion appreciated.
D3 (Data-Driven Documents) is excellent if you have a bit of time to learn it.
Some examples:
http://bl.ocks.org/3287802
http://jondot.github.com/graphene/
After you pick your graphing solution (plots, charts, ...) some drag-and-droop grid to put it all together on one dashboard:
gridster.js (MIT licensed) may come in handy
Packery non-profit GPL v3 licensed or one-time purchase for a commercial license
here's another awesome looking one (quite win8 themed) : dashing
http://www.flotcharts.org/ provides a popular open source javascript charts library.
There are many charts plugins out there. http://www.queness.com/post/10781/13-chart-and-graph-plotting-javascript-plugins
My recommendations:
JQPlot: jQuery plugin. Uses canvas element or VML
gRaphael: uses raphaeljs JS library. SVG W3C Recommendation and VML as a base for creating graphics. - Lots of options.
If you only need an charts api
try https://developers.google.com/chart/
Its also support real-time updates
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I have to create an interface similar to what http://www.madeiracloud.com provides for drawing a network architecture (for different purposes than what they are doing).
Basically users should be able to drag & drop elements to a canvas and connect them using directional arrows.
What library should I use for this? I'm looking at d3, raphael and ocanvas.
Raphaël ( http://raphaeljs.com/ )in combination with the Dracula Graph Library( http://dracula.ameisenbar.de/ ) will get you started.
and also thejit is perfect:
Multi-Trees
The JavaScript InfoVis Toolkit provides tools for creating Interactive Data Visualizations for the Web.
http://thejit.org/
Edit:
you can also take a look at Processing.js
http://processingjs.org/
Processing.js is the sister project of the popular Processing visual programming language, designed for the web. Processing.js makes your data visualizations, digital art, interactive animations, educational graphs, video games, etc. work using web standards and without any plug-ins. You write code using the Processing language, include it in your web page, and Processing.js does the rest.
You should take a look at the MindMap project which use Raphael.js internally.
You can find the demo at http://kenneth.kufluk.com/google/js-mindmap/
In a commercial context you should also take a look at what yFiles for HTML has to offer.
It's a generic graph drawing and editing javascript library which solves your "drag and drop and connect" use-case easily. There is also a specific mind map example available online:
but in this application nodes are not created via drag and drop. This however of course is possible, too, as can be seen in this online demo.
The specific strengths of that library are automatic layout/arrangement of nodes and connections, so if you are creating larger networks or populating the graph automatically from an external data-source these come in very handy. However if you don't require this feature set, simpler solutions may work, too, of course. Note that d3 has the focus on viewing data, and is not so much about user interaction and creating graphs interactively.
Disclaimer: I work for the company that creates that library, however I do not represent my employer on SO. My comments are my own.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I'm trying to visualize data like in this spreadsheet https://docs.google.com/spreadsheet/ccc?key=0AhtsNUEmDE6MdE0ybXppcG1jampsVnBfZWpEZm9vbmc .
So I would have columns for each person and hours on the left hand side. And the ability to color the columns like in the spreadsheet.
I know about raphaeljs or flot ... but I'm not seeing in the examples something that fits with what I need.
Or maybe I'm not looking at it the right way.
Any suggestions about what to use and how to best display what I want ?
Thank you.
EDIT
http://www.saltycrane.com/blog/2010/03/jquery-flot-stacked-bar-chart-example/
I just found this .. and it seems to have everything I described in the spreadsheet.
Thank you for your answers.
Have a look at these links
High-charts - Interactive JavaScript charts for your web pages.
Open Flash Chart 2 - Server side PHP, Perl, Python, Ruby, .NET, Google Web Toolkit and JAVA.
Google Charts - Display live data on your site
zingchart - Build Flash or HTML5 charts and graphs with the latest & greatest features and technologies
pchart - pChart is a PHP class oriented framework designed to create aliased charts
fusioncharts - It can render over 90 charts and gauges in JavaScript (HTML5) and Flash, along with 550 data-driven maps
Try these ones:
http://www.highcharts.com/
http://www.jqchart.com/samples/ChartTypes/StackedColumn
I see in your latest comment you found the stacked bar chart will fit your needs. Most JavaScript charting libraries can accommodate that.
This chart shows a list of libraries and the chart types they support -- http://en.wikipedia.org/wiki/Comparison_of_JavaScript_charting_frameworks
Your selection of one of these tools will come down to how you want to render the chart once you've made it, and how you'd like your users to be able to interact with/share the chart.
Hmm .. I think flot will actually do all that I need : http://www.saltycrane.com/blog/2010/03/jquery-flot-stacked-bar-chart-example/ - this is a great example and seems to match what I described.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
My friend and I have plan to build a web shop. One of the shop's main feature is the ability for the customer to design their own stuff. My friend took polyvore website as an example.
The above link point to an editor page. In polyvore, the customer can drag and drop items from right-hand side to a 'canvas' in the left-hand side of the page. the image have simple handler for resizing, rotate and move.
This is the main feature that we want to achieve. I want to know if there are any free JavaScript library out there that provide these functionality? We don't need too advance stuffs, because the goal is not making something like online Photoshop application. The polyvore editor has most of the features that we need.
When it comes to transformations, fabricJS looks very good: http://fabricjs.com/
For effects, CamanJS seems to give a lot of control and also includes preset filters : http://camanjs.com/examples/
Pixastic has a simple Javascript image editor that uses Canvas.
You can use DarkRoom. it's a simple and powerful image editor in the web. you can find it from the below link :
https://mattketmo.github.io/darkroomjs/
If you develop your app using a full-featured JavaScript-based framework, like Cappuccino or SproutCore, this kind of lightweight image manipulation should be trivial to implement.
If you want a bit more flexibility with the site implementation, go with a smaller library like jQuery UI or Interface Elements (that's a very incomplete list - there are tons of similar libraries around).
This won't be a full answer, but should guide you. Ext-js has an object called Ext.Resizable, http://www.extjs.com/deploy/dev/docs/?class=Ext.Resizable, you can apply it to any node and it will add handles for resizing it. This is not present in their core (jsquery-like) distro, you need the full distribution.
Rotating the images is quite more complicated as that is not supported in all browsers (webkit allows rotation through css). What I suggest is that you use a cross browser canvas library, like http://me.eae.net/projects/iecanvas/demo.html, that allows you to rotate images that are drawn on the canvas. However, you can't really combine the two that I've mentioned, I suggest you look at both of them for inspiration and roll out your own (unless somebody else finds a tool that does it already)