Optimized Trapping of Undefined-like Values In JavaScript

FusionCharts

While working on the FusionCharts JavaScript charts, there was a frequent need to test whether a variable was null, undefined, NaN or an empty string. The “frequent” need was so frequent that the probing function alone took up 15% of the chart’s execution time.

December 30, 2010 0 comments

Dynamically Update FusionCharts XML Attributes

FusionCharts
Thumbnail image for Dynamically Update FusionCharts XML Attributes

This snippet of code adds the functionality to dynamically update FusionCharts DataXML root attributes (also known as “chart attributes”) on-the-fly using JavaScript.

In case user requires to update chart cosmetics like turn off animation or change chart caption, this script will allow developers to do that in one line of code!

May 30, 2010 1 comment

The Best In Me

Philosophies

Joy brings out the best of my mind and sorrow brings out the best of my soul.

 …

May 15, 2010 0 comments

Desert From The Other World

Poetry
Desert From the Outer World

As world transpires into a moonlit desert –
Chilly, gray and with hints of colour.
The pale lush of the thorns,
Marking the edges of an otherwise serene horizon.

The cool breeze from the mellows of the dunes,
Carrying hope in form of whiffs from the sea.
Making me imagine myself walking barefoot
On the boundary of this world.

May 9, 2010 0 comments

Making FusionCharts Occupy 100% Width and Height of Container

FusionCharts

Under certain circumstances, one may want FusionCharts to occupy 100% (or a certain percentage) width and height of the container element. This can be achieved using two methods using the jQuery Plugin for FusionCharts.

March 30, 2010 6 comments

Convert HTML Tables to Animated Charts

FusionCharts

Most of us already have data on our web-pages in form of tables. With the release of the jQuery Plugin for FusionCharts, giving life to tabular data couldn’t have been easier. With just one line of code, one can convert HTML tables into animated FusionCharts.

March 23, 2010 2 comments