Introduce ChartItems instead of Json API

Different nvd3 charts require different JSON formats. Don't let the
application developer deal with these.

Provide a simple data model for chart data, with immutable item objects
that can be shared between sessions. These objects don't have a remote
counterpart, they're rendered as JSON on setItems().

Change-Id: I48bc7f5239698ea2b0c1634c900846233d631ad8
22 files changed
tree: 315fd187adac8635b0628463f7df458723be88d6
  1. .gitignore
  2. bundles/
  3. component.xml
  4. examples/
  5. releng/
  6. tests/