Chart.generateHistogram Method

Generates a new chart adapter displaying a histogram formula metric set based on the data displayed by the specified adapter.
 
 
Static This method is static.

Parameters

adapter

Type: Adapter
An adapter with a metric set binding displaying at least one measure.
seriesIndex

Type: Number (Integer)
An optional zero-based index of the series that contains a measure for which to generate a histogram.
Optional: True

Return Value


Type: jQuery.promise
A promise object that will resolve when the adapter has been added to the canvas. Callback methods 
 will be passed a plain object with the properties:
     adapter   [type: dundas.view.controls.Chart]    - The generated histogram chart adapter.