Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 9 of 9
Like Tree2Likes
  • 1 Post By TheGAME1264
  • 1 Post By TheGAME1264

Thread: Creating dashboard with widgets, like google analytics - how to go about?

  1. #1
    Junior Member
    Join Date
    Jul 2013
    Posts
    5
    Member #
    36825

    Question Creating dashboard with widgets, like google analytics - how to go about?

    Hello all,
    So - I came across google analytics the other day and I really liked their dashboard.

    For those who havent seen it - shortly:
    The user can choose a layout (2 columns, 3 columns etc) and then adds "widgets" (boxes with information).

    Their version allows to specificy calculations for these widgets - but my requirements is only to have pre-defined boxes with like names. The user should be able to pick a layout, 2-3-4 columns etc. Then be able to add element (boxes) and move them around between the columns.

    1) Is this difficult to do for an experienced developer? Aprox hours?
    2) Is it JavaScript and css or?
    3) Does anyone know if there are any ready soloutions already out there to adapt to your own?
    Tried searching dashboard and widgets but couldnt find much...

    Would appreciate any tips and ideas no this, thanks!

  2.  

  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    1) It can be, depending on exactly what the calculation you're talking about and what exactly you want to do besides "add elements and move them around." It's hard to estimate hours or difficulty because of that. It definitely wouldn't fall under the "easy" category...it would be somewhere between "moderately difficult" and "oh my GOD will this ever END why can't I DO this WAAAAAAAAAAAAAAAAAAAHHHHHHHHHHHHH!"

    2) Mostly Javascript. I haven't looked into how Analytics handles it, but the jQuery UI includes a draggable interaction with snapping. CSS would be involved to style the boxes, but this is the general idea.

    3) Nope...mostly because no one's really doing this.
    Gislo likes this.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  4. #3
    Junior Member
    Join Date
    Jul 2013
    Posts
    5
    Member #
    36825
    Thanks TheGame1264!

    1) Guess I could be a bit clearer.
    - Made an illustration here: <removed, source down>

    So the "problem" originates from users having different requirements on data/ information.
    One soloution could be to have ready templates, and/ or prepare these widgets on Before hand and then just somehow assign to a user.
    But best case scenario the users themselves would be able to move around the objects, change layout and add/ remove widgets over time as they "grow".

    What i meant by calculations being ready is that the database is known, the Connection exists and depending on widget X/ Y or Z the calculations and data are already there and same for all users. Not sure if that helps but, I would think so right? Makes it less "unknown" in a way.

    Another OK to soloution would be if lets say there are 20 gauges and the users click the ones they want - and the interface is changed accordingly. If they dont, they will see 20 gauges on the dashboard. (or start with 0, and then have to add....).
    Last edited by Gislo; Jul 27th, 2013 at 09:56 AM.

  5. #4
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    Based on that diagram, there's some Javascript involved, I'd still say some jQuery to organize the boxes, some AJAX (to gather user-specific data), and some other things.

    That definitely isn't an easy task, no matter how you slice it. You're not going to find anything premade for that. That's custom work, that's scratch work, and that's hard work.
    Gislo likes this.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  6. #5
    Junior Member
    Join Date
    Jul 2013
    Posts
    5
    Member #
    36825
    Thanks again TheGame, it helps a lot!

  7. #6
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    No problem, dude. I just wish I could have told you more than I did. Unfortunately, that's all I can tell you and all you'll probably get from most people.

    The good news is that if / when you figure out how to do what you want, you'll put yourself in rare air.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  8. #7
    Junior Member
    Join Date
    Jul 2013
    Posts
    5
    Member #
    36825
    Found something like it, a good start:
    http://modeln.github.io/sDashboard/example/ex.html

    If someone else is interested

  9. #8
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    Cool example - wish I could figure out where to check out the code!
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  10. #9
    Junior Member
    Join Date
    Jul 2013
    Posts
    5
    Member #
    36825
    Quote Originally Posted by AlphaMare View Post
    Cool example - wish I could figure out where to check out the code!
    Download it from here: https://github.com/modeln/sDashboard
    (Download as Zip to the right)

    Got another tip, havent checked it out yet:
    Dashing - The exceptionally handsome dashboard framework.
    Demos:
    http://dashingdemo.herokuapp.com/sampletv
    http://dashingdemo.herokuapp.com/sample

    Working on some sketchups now, this is gonna be awesome - in theory, in practice not sure who will build this
    Last edited by Gislo; Jul 31st, 2013 at 12:37 PM. Reason: Demos


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Tags for this Thread

All times are GMT -6. The time now is 05:12 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com