new require("examsAvgChartView")() → {function}
Average exams chart
- Source:
- See:
Requires:
- module:chartView
- module:chartView
- module:underscore
- module:utils
Returns:
Backbone.View constructor
- Type
- function
- Source:
Extends
Members
-
dataproc :object
-
Data processing helpers
Type:
- object
- Source:
-
examType :string
-
Exam type declaration
Type:
- string
- Source:
-
options :object
-
Chart config extension object
Type:
- object
- Source:
-
type :string
-
Chart type
Type:
- string
- Source:
Methods
-
dataproc@respDivider(dividends, divisors, range, shift)
-
Series data formatter. Divides 1st array elements by 2nd's elements with same index
Parameters:
Name Type Argument Description dividendsarray Dividends array divisorsarray Divisors array rangearray Intersection indexes shiftnumber <optional>
- Source:
-
update(data) → {object|undefined}
-
Updates chart state by new data
Parameters:
Name Type Argument Description dataarray <optional>
new data - Source:
Returns:
chart.series or undefined- Type
- object | undefined