Creating Spark Win/Loss Charts

As an example, we will create a spark win/loss chart to show the score-card of Bobby Fischer (vs. Spassky) from the World Chess Championship of 1972.

A spark win/loss chart rendered to show Bobby Fischer’s score-card looks like this:

FusionCharts should load here..

Given below is a brief description of the attribute used to render a spark win/loss chart:

Attribute Name Description
value It is used to show the value for a column on the spark win/loss chart. This attribute takes the values W, L, and D. W indicates win, L indicates loss, D indicates draw, e.g. W.

The data structure needed to render a spark win/loss chart to show Bobby Fischer’s score-card is given below:

...

There! You have now seen how you can create a simple spark win/loss chart.