Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bjarne Fyrstenborg 1284 posts 4038 karma points MVP 8x c-trib
    Jan 08, 2014 @ 01:09
    Bjarne Fyrstenborg
    0

    Perhaps interactive options?

    Great package for simple Analytics data inside Umbraco :)

    I'm not sure if it's a specific graph plugin that is used and which options it has.. but perhaps some future ideas could be to display som interactive options? Like show the values when hovering the dots (tooltip) and display what which color bar/curves represent (perhaps possibility to disable other data bars/curves). E.g. something like this?

    http://www.highcharts.com/demo/

    Futhermore the label "Vists" .. I think you mean "Visits" :) ..  or is there a reason to save the "i"? :)

    /Bjarne

  • Comment author was deleted

    Jan 08, 2014 @ 13:11

    Sounds good, if you are up for it you can always submit a pull request :) https://github.com/warrenbuckley/Analytics

  • Warren Buckley 2106 posts 4836 karma points MVP 7x admin c-trib
    Jan 08, 2014 @ 16:33
    Warren Buckley
    0

    I looked at highcharts its not opensource and requires a license, which is a shame.

    Cheers
    Warren

  • Bjarne Fyrstenborg 1284 posts 4038 karma points MVP 8x c-trib
    Jan 08, 2014 @ 16:39
    Bjarne Fyrstenborg
    0

    Hi Warren

    Highcharts was just an example to demonstrate the interactive functionality.. not necessarily a requirement to use that one.. I think there a other plugins as well, also open source plugins that have some of the basic option.. Highcharts have also quite advanced options and I like that Analytics plugin for Umbraco just is kept simple :)

    What about Google Charts perhaps? https://developers.google.com/chart/

    /Bjarne

  • Bjarne Fyrstenborg 1284 posts 4038 karma points MVP 8x c-trib
    Jan 08, 2014 @ 16:49
    Bjarne Fyrstenborg
    0

    I think the Analytics package already is using Google Charts on the map of the world, where you see the visits from different countries and there is a bit of interactive on hovering each country :)

  • Warren Buckley 2106 posts 4836 karma points MVP 7x admin c-trib
    Jan 08, 2014 @ 17:01
    Warren Buckley
    0

    Hi Bjarne,
    Yes we use the Google GeoMap chart for the countries view and could use it across all charts instead. I think I originally chose ChartJS.org as it looked a little prettier & had some nice canvas animation when it loads the data, but is missing the data on hover, which is a shame.

    @Tim do you agree to move everything over to use Google Charts?

  • Bjarne Fyrstenborg 1284 posts 4038 karma points MVP 8x c-trib
    Jan 08, 2014 @ 17:14
    Bjarne Fyrstenborg
    1

    Okay I see :)

    But a issue might be that those plugins not include all options or Google develop new features and those plugins need to be updated to include the new features..

    A big advantage with Google chart is also that they have indicators on what the colors bars/curves represent, like on the right side here: https://google-developers.appspot.com/chart/interactive/docs/gallery/barchart#SimpleExample

    Furthermore the axis interval values listed is text, where it graphic in Chart.js, e.g. month names..

  • Bjarne Fyrstenborg 1284 posts 4038 karma points MVP 8x c-trib
    Jan 08, 2014 @ 17:26
    Bjarne Fyrstenborg
    1

    Another issue with Chart.js I think is that sometimes the text on the axis are really close to each other (mostly an issue on x-axis).. it's hard to see in this example below that it says "01/2011", next "02/2011"... etc..

     

    Futhermore Google Charts have some animation: https://developers.google.com/chart/interactive/docs/animation#Examples
    Perhaps you could make some simular animation as Chart.js has.. 

    /Bjarne

  • Comment author was deleted

    Jan 08, 2014 @ 17:58

    Yeah might be good to move to google charts

  • Warren Buckley 2106 posts 4836 karma points MVP 7x admin c-trib
    Jan 09, 2014 @ 09:41
    Warren Buckley
    0

    Ok I will look into switching over to Google Charts perhaps today's lunchtime hack, if not it will be next week as Friday lunchtime is uHangout time :)

  • Roel Snetselaar 151 posts 305 karma points
    Feb 15, 2014 @ 15:43
    Roel Snetselaar
    0

    Google Charts looks nice. Did you give it a try Warren?

  • Warren Buckley 2106 posts 4836 karma points MVP 7x admin c-trib
    May 25, 2014 @ 23:17
    Warren Buckley
    0

    Hey Roel, Sorry for the really late reply, I don't seem to be getting all notifications correctly atm.
    But no unfortunately I did not switch it out, happy to collab with you if you wish?

    Thanks,
    Warren

  • Bjarne Fyrstenborg 1284 posts 4038 karma points MVP 8x c-trib
    Jul 06, 2014 @ 13:33
    Bjarne Fyrstenborg
    101

    For now I have submitted a pull request https://github.com/warrenbuckley/Analytics/pull/6 which use a newer version of Chart.js which have new features (Responsive, Modular, Interactive) so it display tooltips on hover in e.g. the line chart or bar chart.

    Furthermore I have added some minor changes..

    /Bjarne

  • Warren Buckley 2106 posts 4836 karma points MVP 7x admin c-trib
    Jul 06, 2014 @ 18:20
    Warren Buckley
    0

    Hey Bjarne,
    I will try & check your pull request later today & do a minor release if all is good.

    Thanks for getting involved & helping out.
    I love Open Source!

    Cheers,
    Warren :)

  • Bjarne Fyrstenborg 1284 posts 4038 karma points MVP 8x c-trib
    Jul 06, 2014 @ 18:30
    Bjarne Fyrstenborg
    0

    Hi Warren

    Sounds great .. no rush :)

    But it seems to give some extra nice new features :)

    Thanks,
    Bjarne 

Please Sign in or register to post replies

Write your reply to:

Draft