# M Features - Realtime data

This modules provides models, services, directive, component and more to work with the realtime API endpoint.

The `mf-realtime-data` component is a generic wrapper to handle the display of the realtime data.

A strategy system is used to handle multiple sort, data processing.
You can define custom strategies to handle your own cases.
Their is 2 default strategies:

* chrono, that processing the data to display 1 realtime data information at a time with chronological sort.
* per-lines, that group by 2 realtime data and use a line's name sort.



## Module configuration

| Name                      | Description                                                                  |
| ------------------------- | ---------------------------------------------------------------------------- |
| `STRATEGY_CHRONO_OPTIONS` | The available strategies, useful to allow user to choose between strategies. |
