ronith

Initiate
Is there a workaround for adding a graphical realtime statistic / Chart to show the online clients per hour für the last seven days on my website? Google was not very helpful.

thank you
 
You could record the statistics server-side and have it build and cache an http response in the data format you need; html, xml, json, etc.

C# can be used to host a simple Http Listener to serve these requests and it can even be used to generate the graphs (there are some native WinForms features to help with this), then it would be a case of simply serving the image as the Http response :)
 
If you have a shard listed with us here at ServUO then you can check your shard statistics on the graphs page. In the near future you will be able to export those statistics with our api and use them on your own website much in the same way you can grab json or xml current statistics.

For example of the current stat exports:

Json: https://www.servuo.com/shards/Vita-Nex: Freedom.24/export
Xml: https://www.servuo.com/shards/Vita-Nex: Freedom.24/exportxml

/edit did not mean to give you a bad rating on your post, I must have clicked it by accident.
 
Last edited:

Active Shards

  • Unchained
    Custom (Classic)
    • Players
    • 138 Online
    • 273 Peak
  • UO Eventine
    Custom (Classic)
    • Players
    • 90 Online
    • 137 Peak
  • The Crossroads
    Mondain's Legacy
    • Players
    • 87 Online
    • 190 Peak
  • Insane UO
    Endless Journey
    • Players
    • 83 Online
    • 105 Peak
  • UO: New Renaissance
    Custom (Classic)
    • Players
    • 33 Online
    • 85 Peak
  • CALYPSO
    Custom (Modern)
    • Players
    • 28 Online
    • 30 Peak
  • Arth
    Custom (Modern)
    • Players
    • 22 Online
    • 34 Peak
  • Heritage
    New Legacy
    • Players
    • 20 Online
    • 41 Peak
  • UO Phoenix
    Custom (Classic)
    • Players
    • 19 Online
    • 48 Peak
  • UO Enigma
    Custom (Modern)
    • Players
    • 19 Online
    • 172 Peak

Donations

Total amount
$0.00
Goal
$500.00
Back