HTML Growth Chart Symbols Misleading

yehster wrote on Thursday, August 08, 2013:

I’m currently implementing percentiles for BMI, and to check my numbers I’ve been looking at the corresponding HTML version of the growth charts. Something that I believe is a bit of an issue is that point on the chart which corresponds to the value is actually the upper left corner of the image and not the center. Since the image is a circle dot, where one tends to look is the center of the dot which is actually a bit to the right and down from the true value.

blankev wrote on Thursday, August 08, 2013:

If your statement is correct the calculations have to be corrected. One of my observations was that when the HTML graphic file in new windows is not completely opened, without scroll bars, the name of the client is not correctly placed on the field and this could also be the problem for the red dot´s?

It might be of some importance for the earliest stages of live, but imho for grownup´s the difference can be neglected as a non/issue.

aethelwulffe wrote on Monday, August 12, 2013:

It’s not the calculations, it is the implementation of the drawing origin point.
Yeah, just one of many sorta goofy bits. Posting an image at the 0,0 location on a point scale chart without a 50%/50% offset is not a very clean implementation. Another reason to bring in some game developers. Not a mistake a good isometric game designer would make. The children our our future, and video games are what they are all about. :stuck_out_tongue:
I guess we need to take the absolute position values and tweak those into a css using “clip” to set the bounding box of the image dimensions. I seem to remember doing that somewhere. Wish you could just define a resource with attributes to draw how you wanted for HTML. Really could use a whole new MIME type that is intended just for that, with “origin” values. Should have attributes in the tag really.