Author Topic: Those tiny graphs...  (Read 41 times)

dreadnaut

  • Helen`s Lover
  • **
  • Posts: 693
    • View Profile
    • chezDreadnaut
Those tiny graphs...
« on: September 12, 2018, 02:21:20 PM »
This might not be very interesting, but it's quite satisfying if you are a data nerd.

You know those little bar charts at the top of the News Archive? The ones that show the number of posts per day — like the one in the attachment.

Well, these used to be little PNG images, created on the fly. But now they are little SVG images, created on the fly :D

They look exactly the same as before, but they are part of the page (no extra server request), they scale to any size without blurring, and... try to move the mouse over one of the columns!

Cas

  • Bernie's Brother
  • **
  • Posts: 248
    • View Profile
    • Dimioca Labs
Re: Those tiny graphs...
« Reply #1 on: September 12, 2018, 08:23:07 PM »
Ah, that's really cool!  I had not given much attention to them before, but now I went right away to test them XD
Precisely, I was thinking that the next step in my learning PHP will be image synthesis. There are a number of things I'm not sure about. I'll be asking you tons of things, ha, ha.
Earth is my country. Science is my religion.

afullo

  • Stunts Maniac
  • *
  • Posts: 98
    • View Profile
    • DoomItalia
Re: Those tiny graphs...
« Reply #2 on: September 12, 2018, 11:22:58 PM »
While vector is better than raster, but not Vector the troll appeared here in 2015...  :D