philogb/jit — pull request #149 by bor0 (2013-05-22 00:46:19+00:00)
Title: Added optional parameter 'id' to JSON

Added optional parameter 'id' to Jit BarChart, because the previous implementation was not allowing two or more same labels.
If an id is not specified, it is using key => value, where key is the label, and for two same labels it would not count the second one.
If an id is specified, it will use id => value.

E.g. one can use the following JSON code to display the same label:
'values': [
{
'id':'a',
'label': 'date A',
'values': [20, 40, 15, 5]
},
{
'id':'b',
'label': 'date A',
'values': [30, 10, 45, 10]
}]