Bug 548226: [Charting] figure() throws NPE seems that some IDs are not available in the model and need to be queried from the view registry Change-Id: I8a390340a5099b6a3ff838be8cfbad1500a6117c