473,473 Members | 2,207 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

drawing images or charts with javascript

228 New Member
I cant find any information about drawing bitmaps with javascript.

At the moment my website creates charts using PHP I want to get rid of it from the server and do it on client side (transfer / computer power).

Anyone know something about it or could you point out a good source to start with?
May 12 '07 #1
3 2120
gits
5,390 Recognized Expert Moderator Expert
good evening ... it's late here and i hope i don't give you a bad recommendation ;) ... but i faced that problem once and looked for something that does the job you want ... there are some libraries out there ... google for them ... i remember plotkit for instance:

http://www.liquidx.net/plotkit/

or simple google 'charts with javascript' for example

http://www.developertutorials.com/scripts/7/134/

a lot of them seems to do very well ... but i think you should choose the one you like ... the time i needed to use that, i only needed bargraphs ... that is relativly easy to do by yourself ... so i wrote my own barchart-script ... it did only simple vertical or horizontal barcharts ... and was not able to do some things that you need for a real cool lib ... like simple (generic) creation, simple passing of data ... ideally in native js-array/object notation ... all together: you may find a lot of scripts out there that will help you ... and some produce real slick output :) ... if you prefer to 'selfcode', it would be possible too ...

but remember ... javascript doesn't have the ability to produce bitmaps ... all 'javascript-graphics' are limited to the creation of dom-elements (divs, lines, spans together with styles etc.) ... that gives you the advantage of creating interactive charts (attach event-handlers to a bar - a div with width and height) ... but no bitmap ... thats not possible ... i think ;)
May 12 '07 #2
jx2
228 New Member
thanks a lot
that was very helpful - thats a pity its not suported by not that old IE 6 :)
May 13 '07 #3
tomaszwor
1 New Member
It makes nice charts and it's customizable.

http://code.google.com/p/flot/
http://itprolife.worona.eu/2009/08/s...g-to-flot.html
Mar 6 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Lothar Scholz | last post by:
Hello, is there something like "JpGraph" for python ? For those who don't know this PHP library: It is a high level drawing library that generates gif files with all kind of charts. Or (maybe...
1
by: zengou | last post by:
My application have many picturebox objects,when run it ,sometimes i will have a strange error,how to work out ,help me please!(in windows98,the error cause frequently than in windowsxp) ...
61
by: phil-news-nospam | last post by:
Why does SVG need a different tag than other images? IMHO, SVG should be implemented as an image type just like any other image type, allowing it to work with <img> tags, and ... here is the...
3
by: pradnyapatil29 | last post by:
I am trying to draw a chart similar to GANTT chart in asp.net. Right now, I am drawing the rectangles on bitmap...but I dont want to use bitmap . Coz loading bitmap takes time...Is there...
9
by: julierbriggs | last post by:
hi, is there a pure javascript code (no Java applets), for painting or drawing using a e-pencil or something, in a defined space on the screen? best regards-(:JB:)
5
by: marko | last post by:
Hi everyone, I'm looking for a way to draw a line that will zig-zag its way thru an image randomly, crisscrossing itself many times, based on random numbers _and_ php. To give you an idea of...
2
by: avlee | last post by:
Hello Do you know any easy to use php library which could be used for drawing many types of nice looking charts ? (i know i could use gd directly, but maybe there's no need to invent wheel...
4
by: Andrea Scharfe | last post by:
Hi there, I am writing a PHP script which generates some charts using gnuplot. This generates quite a large number of temporary image files. My problem is that I do not know how to delete these...
2
by: ThatsIT.net.au | last post by:
I have this code that writes a pie chart in a asp.net page, but I want to use it in a server control. When I try I get a error on the last line "Response.OutputStream" Obviously there is no...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.