# lv_chart_private.h (/api/private/widgets/chart/lv_chart_private_h)



<RelatedHeaders name="lv_chart.h" isPrivate="true" />

<ApiSummary structs="3" />

Structs [#structs]

<ApiMember kind="struct" name="_lv_chart_series_t">
  \_lv_chart_series_t [#_lv_chart_series_t]

  Descriptor a chart series

  | Member               | Type                          | Description |
  | -------------------- | ----------------------------- | ----------- |
  | `x_points`           | `int32_t *`                   |             |
  | `y_points`           | `int32_t *`                   |             |
  | `color`              | <ApiLink name="lv_color_t" /> |             |
  | `start_point`        | `uint32_t`                    |             |
  | `hidden`             | `uint32_t`                    |             |
  | `x_ext_buf_assigned` | `uint32_t`                    |             |
  | `y_ext_buf_assigned` | `uint32_t`                    |             |
  | `x_axis_sec`         | `uint32_t`                    |             |
  | `y_axis_sec`         | `uint32_t`                    |             |
</ApiMember>

<ApiMember kind="struct" name="_lv_chart_cursor_t">
  \_lv_chart_cursor_t [#_lv_chart_cursor_t]

  | Member     | Type                                                               | Description                        |
  | ---------- | ------------------------------------------------------------------ | ---------------------------------- |
  | `pos`      | <ApiLink name="lv_point_t" />                                      |                                    |
  | `point_id` | `int32_t`                                                          |                                    |
  | `color`    | <ApiLink name="lv_color_t" />                                      |                                    |
  | `ser`      | <ApiLink name="lv_chart_series_t" display="lv_chart_series_t *" /> |                                    |
  | `dir`      | <ApiLink name="lv_dir_t" />                                        |                                    |
  | `pos_set`  | `uint32_t`                                                         | 1: pos is set; 0: point\_id is set |
</ApiMember>

<ApiMember kind="struct" name="_lv_chart_t">
  \_lv_chart_t [#_lv_chart_t]

  | Member             | Type                                      | Description                                           |
  | ------------------ | ----------------------------------------- | ----------------------------------------------------- |
  | `obj`              | <ApiLink name="lv_obj_t" />               |                                                       |
  | `series_ll`        | <ApiLink name="lv_ll_t" />                | Linked list for series (stores lv\_chart\_series\_t)  |
  | `cursor_ll`        | <ApiLink name="lv_ll_t" />                | Linked list for cursors (stores lv\_chart\_cursor\_t) |
  | `ymin`             | `int32_t[2]`                              |                                                       |
  | `ymax`             | `int32_t[2]`                              |                                                       |
  | `xmin`             | `int32_t[2]`                              |                                                       |
  | `xmax`             | `int32_t[2]`                              |                                                       |
  | `pressed_point_id` | `int32_t`                                 |                                                       |
  | `hdiv_cnt`         | `uint32_t`                                | Number of horizontal division lines                   |
  | `vdiv_cnt`         | `uint32_t`                                | Number of vertical division lines                     |
  | `point_cnt`        | `uint32_t`                                | Number of points in all series                        |
  | `type`             | <ApiLink name="lv_chart_type_t" />        | Chart type                                            |
  | `update_mode`      | <ApiLink name="lv_chart_update_mode_t" /> |                                                       |
</ApiMember>

Dependencies [#dependencies]

<FileIncludes includes="[&#x22;lv_obj_private.h&#x22;, &#x22;lvgl_public.h&#x22;]" includedBy="[&#x22;lvgl_private.h&#x22;]" transitiveIncludes="[&#x22;lv_array.h&#x22;, &#x22;lv_event_private.h&#x22;]" />
