From the category archives:

Technical Publications

This JavaScript code adds the functionality to transpose a two-dimensional JavaScript array (array within array). Transposing, in simple terms, is to interchange rows and columns of a matrix (two-dimensional array).

It also extends jQuery to allow transposing of arrays using common jQuery syntax.

Continue reading

{ 1 comment }

Manually installing FusionCharts in your WordPress blog is extremely easy. One requires nothing more than copy-paste skills to create lovely animated charts in one’s WordPress blog using FusionCharts.

Here are eleven simple and direct steps that would make your WordPress blog (or any other blog) up and running with FusionCharts in minutes.

Continue reading

{ 3 comments }

Executing jQuery Within FusionCharts Link Attribute

Technical Publications

FusionCharts Flash charting suite has an amazing integration with JavaScript. It allows charts to be created using JavaScript, raises appropriate JavaScript events, allows charts to be updated using its simple JavaScript API and a lot more. There is a blog post on FusionCharts blog, describing the same.

February 14, 2010 1 comment

Chart Type Aliases for FusionCharts DOM

Technical Publications
Thumbnail image for Chart Type Aliases for FusionCharts DOM

FusionCharts DOM uses an alias, instead of SWF file names, for every chart type. This is done to address certain issues in order to improve usability:

December 9, 2009 0 comments

JavaScript Optimization – Destructive Vs Indexed Array Iteration

Technical Publications

In number of JavaScript applications, developers are found to use destructive array iteration for the sake of readability and simplicity of codes. However, usage of the same is not always conducive towards the performance of the code.

November 22, 2009 1 comment

Convert FusionCharts Data-XML To JavaScript Array

Technical Publications
Thumbnail image for Convert FusionCharts Data-XML To JavaScript Array

This is a snippet of JavaScript that would allow you to easily retrieve all “set” values from a FusionCharts data-XML in form of an Array.
One can use it to perform various mathematical or visual operations by retrieving the data-XML from FusionCharts object using the getXMLData() method and then passing on the same to this function.

November 14, 2009 0 comments

String Reversing Algorithm Performance In JavaScript

Technical Publications

Wherever performance is the key factor, choosing the right algorithm, (in a very unbiased fashion,) is a very crucial factor. And generally for reversing string in JavaScript applications, I endorse this petite string reversal algorithm using Array.reverse() method.

September 24, 2009 0 comments

Fast Algorithm To Find Unique Items in JavaScript Array

Technical Publications
Thumbnail image for Fast Algorithm To Find Unique Items in JavaScript Array

When I had the requirement to remove duplicate items from a very large array, I found out that the classic method to be not optimized as it took a pretty long time than desired. So, I devised this new algorithm that can sort a large array in a fraction of the original time.

September 6, 2009 6 comments

Notepad Mobile 1.6 Released

Technical Publications
Thumbnail image for Notepad Mobile 1.6 Released

With every new release, Notepad Mobile becomes more usable than before. But  with this release, Notepad Mobile has also reached a new milestone — Windows Mobile 6.5 compatibility.
In a nutshell, the change-log would read: (1) Windows Mobile 6.5 support, (2) Fullscreen text viewing and (3) Word count.

August 30, 2009 4 comments

Generating Pareto Chart Data for FusionCharts

Technical Publications
Thumbnail image for Generating Pareto Chart Data for FusionCharts

As soon as I read about Pareto Charts on FusionCharts blog and how it uses cumulative percentage on a dual-y axes graph to allow users to summarize data into segments, I realized that a simple script to generate the FusionCharts XML would help users generate such graphs.
For those who do not know what is FusionCharts, [...]

August 26, 2009 2 comments