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. bundles/
  2. examples/
  3. releng/
  4. tests/
  5. .gitignore
  6. component.xml