# orca.chart

> A module of Orca's API.

Runs per day, drawn as SVG on the server for the home page: one bar a day, stacked by how the runs ended.

## Structs

### `DayRuns`

```mojo
struct DayRuns
```

Implements: `Copyable`, `Movable`

Fields:

- `day: String`: `YYYY-MM-DD`, UTC.
- `succeeded: Int`
- `failed: Int`
- `other: Int`: Queued, running or cancelled.

#### `total`

```mojo
def total(self) -> Int
```

## Functions

### `runs_chart`

```mojo
def runs_chart(days: List[DayRuns]) -> String
```
