Friday, April 19, 2013

Enkitec Sparklines Plug-in for APEX in the Wild

If you were fortunate enough to attend Kscope in 2012, you may have caught Doug Gault's excellent presentation titled "Creating a SparkLine Plugin From Scratch". I remember being there and being really intrigued by the concept of "sparklines". Here's a little bit about them for those that don't know:
Edward Tuft, who both invented and coined the term sparkline, described them as "data-intense, design-simple, word-sized graphics". Sparklines are the perfect tool to present trends or variations in data “at a glance”. Unlike the charts commonly used in APEX, sparklines are very small in size, often presented alongside or within text. Also, sparklines rarely contain scale or axis data and single data points are rarely singled out. To put it another way, charts provide the detail whereas sparklines provide a snapshot.
And for those of you who simply prefer pictures, here they are:
Neat huh?!? Well, now that Doug is my boss, you can imaging how much arm twisting it took (none really) for him to convince me to wrap this one up and get it out the door as the 3rd plug-in under the Enkitec name. The plug-in currently supports line, bar, and tristate sparklines and it makes many options declarative and easy to adjust. It also adds a new "Sparkline Click" event to the dynamic action framework in your application so you can respond to clicks when needed.

If you're interested in learning more go to and click on help or demo on the right.