In ChartView (and VLegend) check if the data provider is a pivot
chart data provider and get the pivot table field names to create
the buttons on the UI.
Change-Id: I08faaa17c953f0f40180e1ac1b0cb1dc6471607e