Interface SparklineData

Hierarchy

  • SparklineData

Properties

Properties

data: number[]
xAxis: number[]

The termCodes that the data field correspond to. All sparklines in CougarGrades have the same domain (set of possible x-values). The domain is generated by the earliest semester available and the latest semester available.

yAxis: { avg: number; max: number; median: number; min: number; stddev: number }

This is the range (set of possible y-values). This is different depending on the data. For courses, the upper range is the max value that a course had enrollment in a single semester. For instructors, the upper range is the max value that a instructors had enrollment in a single semester. The lower range for both is (presumably) zero.

Type declaration

  • avg: number
  • max: number
  • median: number
  • min: number
  • stddev: number

Generated using TypeDoc