> ## Documentation Index
> Fetch the complete documentation index at: https://chart-spec.enchor.us/llms.txt
> Use this file to discover all available pages before exploring further.

# ChartStats

Statistics about a chart's gameplay.

## Properties

| Property | Modifier | Type | Description |
| - | - | - | - |
|  `drumType` | `readonly` | [`DrumType`](https://chart-spec.enchor.us/scan-chart/api/index/type-aliases/DrumType) \| `null` | The type of drums that are charted. `null` if drums are not charted. |
|  `has2xKick` | `readonly` | `boolean` | If a 2x kick note occurs in any drums track. |
|  `hasFlexLanes` | `readonly` | `boolean` | If a roll or trill lane occurs in any track. |
|  `hasForcedNotes` | `readonly` | `boolean` | If a note in any track is forced to the other of HOPO or strum than it would naturally be. |
|  `hasLyrics` | `readonly` | `boolean` | If the chart contains any lyric events. |
|  `hasOpenNotes` | `readonly` | `boolean` | If an open note occurs in any track. |
|  `hasSolos` | `readonly` | `boolean` | If a solo occurs in any track. |
|  `hasTapNotes` | `readonly` | `boolean` | If a tap note occurs in any track. |
|  `hasVocals` | `readonly` | `boolean` | If the chart has a vocal part with a vocal note. |
|  `instruments` | `readonly` | readonly ( \| `"guitar"` \| `"guitarcoop"` \| `"rhythm"` \| `"bass"` \| `"drums"` \| `"keys"` \| `"guitarghl"` \| `"guitarcoopghl"` \| `"rhythmghl"` \| `"bassghl"` \| `"keysghl"`)\[] | The instruments that have a track. |
|  `maxNps` | `readonly` | readonly \{ `difficulty`: `"expert"` \| `"hard"` \| `"medium"` \| `"easy"`; `instrument`: \| `"guitar"` \| `"guitarcoop"` \| `"rhythm"` \| `"bass"` \| `"drums"` \| `"keys"` \| `"guitarghl"` \| `"guitarcoopghl"` \| `"rhythmghl"` \| `"bassghl"` \| `"keysghl"`; `msTime`: `number`; `nps`: `number`; }\[] | The one-second window in each track where the notes per second are highest. |
|  `noteCounts` | `readonly` | readonly \{ `count`: `number`; `difficulty`: `"expert"` \| `"hard"` \| `"medium"` \| `"easy"`; `instrument`: \| `"guitar"` \| `"guitarcoop"` \| `"rhythm"` \| `"bass"` \| `"drums"` \| `"keys"` \| `"guitarghl"` \| `"guitarcoopghl"` \| `"rhythmghl"` \| `"bassghl"` \| `"keysghl"`; }\[] | The number of notes in each track: drum notes counted one by one, fret note groups as one each. |
|  `noteSpanMs` | `readonly` | `number` | The time between the first and the last note start across every track, in milliseconds, rounded to 3 decimal places. The song.ini `song_length` when the chart has no notes. |
|  `tempoMarkerCount` | `readonly` | `number` | The number of tempo markers. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.