Thursday, 22 May 2014

NextCharts: Indicator

Indicators are special widgets that were added in 6.0 version of NextReports. You can read about them here.

Because NextCharts HTML5 library appeared in 7.0 version, it was time to move our indicator to NextCharts. So, NextCharts 1.2 will contain a new nextWidget function and this will be used by NextReports Server from 7.2 version.

A sample Json object for indicator is like:
{
     "title": "Balance", 
     "description":"monthly",
     "unit":"$",
     "value":200,
     "min":0,
     "max":1000,
     "showMinMax":true,                         
     "color":"blue"            
 }
with following result:


You can view an HTML test in NextCharts github repository.

No comments:

Post a comment