In this blog entry, we look at the ShieldUI empty point feature.

The
Shield UI charting component has full support for empty, or null
points. Null points are commonly declared in the underlying datasource
as follows:
1
2
3
4
5
6
7
| dataSeries: [ { collectionAlias: "Weekly Report" , seriesType: 'area' , data: [233, 123, 345, 34, null , 56, 23] } ] |
One
can choose how this null value from the underlying datasource is
interpreted. The value can either be skipped, resulting in a gap in the
graph. Or, the two adjacent points can be joined together, creating the
visual effect as though there is a valid data entry. This is handled by
enabling the drawNullValues property.
Няма коментари:
Публикуване на коментар