placement

Java Grid Layout Direction Issue

Column Image please help. the following: private GridLayout columnHeaderLayout = new GridLayout(7,1); results in a vertical placement (image) instead of horizontal. what am i doing wrong? thank you. EDIT: just found out GridLayout takes in (row, then col) switched! this is very annoying! ...

Smart pie chart label placement algorithms?

Hi all, I am building a custom chart library for my company. I'm having troubles finding / inventing a good algorithm to place the chart labels so that the following requirements are met: Labels should not overlap Labels should remain as close as possible to the related slice If a label must be moved away from its slice, it should pref...

javascript - events - where to place them?

Hello, I'm hopping that around the community of js developers we can have a consensus around this: Should we declare or onclick, onkeyup... etc... events inside or outside our HTML document? 1) I do prefer to have them separate. True. 2) I'm also aware that HTML5 adds some new interactive elements on the game... Regards, MEM ...