wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes Dynamic graphs in web page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Dynamic graphs in web page" Watch "Dynamic graphs in web page" New topic
Author

Dynamic graphs in web page

william chaple
Ranch Hand

Joined: Mar 08, 2013
Posts: 119
http://www.adhamdannaway.com/about

I am creating a graph similar to this guy at the end ( if you scroll down) and notice how the bar gragphs display one at a time in a continuous motion. Any idea what language or where that's from?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61082
    
  66

It is achievable with JavaScript and CSS. At first glance I'd assume he's using simple jQuery animations.

There are many advanced JavaScript charting packages out there. I've used highcharts.js in the past.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
william chaple
Ranch Hand

Joined: Mar 08, 2013
Posts: 119
Awesome thank you. I thought it was something he copied from microsoft words graph or something ha ha. I am going to attempt something similar. Have any recommendations? I only know the basics of javascript, but doing my own portfolio for fun and practice
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61082
    
  66

I cover jQuery animation in chapter 5 of jQuery in Action (2nd Ed). Or you can look here.

Personally, for charting, I'd not re-invent the wheel.
william chaple
Ranch Hand

Joined: Mar 08, 2013
Posts: 119
Awesome!! charts are cool lol. thanks a loT!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61082
    
  66

Yeah, it is rather amazing what can be accomplished with just JavaScript in the browsers these days.
william chaple
Ranch Hand

Joined: Mar 08, 2013
Posts: 119
Bear Bibeault wrote:Yeah, it is rather amazing what can be accomplished with just JavaScript in the browsers these days.

ye sit is I am facinated!

Actually, I saw something thats not a big deal, but I guess have an eye for them

I noticed when I zoom in and out of the page, everything is always centered. however, in my case, when I zoom out, everything goes to the sides. I have some pics involved so you guys can see what Im talking about. when I am zoomed 100% everything is centers and aligned.

Could this be a server this, or css code involved?



[Thumbnail for 1.JPG]


[Thumbnail for 2.JPG]


[Thumbnail for 3.JPG]

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61082
    
  66

It's CSS.

(P.S. It's best to start new topics for, well, new topics.)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamic graphs in web page