# lv_chart_private.h (/api/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`           | <ApiLink name="int32_t" display="int32_t *" /> |             |
  | `y_points`           | <ApiLink name="int32_t" display="int32_t *" /> |             |
  | `color`              | <ApiLink name="lv_color_t" />                  |             |
  | `start_point`        | <ApiLink name="uint32_t" />                    |             |
  | `hidden`             | <ApiLink name="uint32_t" />                    |             |
  | `x_ext_buf_assigned` | <ApiLink name="uint32_t" />                    |             |
  | `y_ext_buf_assigned` | <ApiLink name="uint32_t" />                    |             |
  | `x_axis_sec`         | <ApiLink name="uint32_t" />                    |             |
  | `y_axis_sec`         | <ApiLink name="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` | <ApiLink name="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`  | <ApiLink name="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` | <ApiLink name="int32_t" />                |                                                       |
  | `hdiv_cnt`         | <ApiLink name="uint32_t" />               | Number of horizontal division lines                   |
  | `vdiv_cnt`         | <ApiLink name="uint32_t" />               | Number of vertical division lines                     |
  | `point_cnt`        | <ApiLink name="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;lv_chart.h&#x22;]" transitiveIncludes="[&#x22;lv_anim.h&#x22;, &#x22;lv_area.h&#x22;, &#x22;lv_array.h&#x22;, &#x22;lv_assert.h&#x22;, &#x22;lv_bidi.h&#x22;, &#x22;lv_color.h&#x22;, &#x22;lv_color_op.h&#x22;, &#x22;lv_conf_internal.h&#x22;, &#x22;lv_conf_kconfig.h&#x22;, &#x22;lv_display.h&#x22;, &#x22;lv_draw.h&#x22;, &#x22;lv_draw_arc.h&#x22;, &#x22;lv_draw_blur.h&#x22;, &#x22;lv_draw_buf.h&#x22;, &#x22;lv_draw_image.h&#x22;, &#x22;lv_draw_label.h&#x22;, &#x22;lv_draw_line.h&#x22;, &#x22;lv_draw_rect.h&#x22;, &#x22;lv_draw_triangle.h&#x22;, &#x22;lv_event.h&#x22;, &#x22;lv_ext_data.h&#x22;, &#x22;lv_flex.h&#x22;, &#x22;lv_font.h&#x22;, &#x22;lv_fs.h&#x22;, &#x22;lv_grad.h&#x22;, &#x22;lv_grid.h&#x22;, &#x22;lv_group.h&#x22;, &#x22;lv_image_decoder.h&#x22;, &#x22;lv_image_dsc.h&#x22;, &#x22;lv_indev.h&#x22;, &#x22;lv_layout.h&#x22;, &#x22;lv_ll.h&#x22;, &#x22;lv_log.h&#x22;, &#x22;lv_math.h&#x22;, &#x22;lv_matrix.h&#x22;, &#x22;lv_mem.h&#x22;, &#x22;lv_obj.h&#x22;, &#x22;lv_obj_class.h&#x22;, &#x22;lv_obj_draw.h&#x22;, &#x22;lv_obj_event.h&#x22;, &#x22;lv_obj_pos.h&#x22;, &#x22;lv_obj_property.h&#x22;, &#x22;lv_obj_property_names.h&#x22;, &#x22;lv_obj_scroll.h&#x22;, &#x22;lv_obj_style.h&#x22;, &#x22;lv_obj_style_gen.h&#x22;, &#x22;lv_obj_tree.h&#x22;, &#x22;lv_palette.h&#x22;, &#x22;lv_profiler.h&#x22;, &#x22;lv_profiler_builtin.h&#x22;, &#x22;lv_sprintf.h&#x22;, &#x22;lv_string.h&#x22;, &#x22;lv_style.h&#x22;, &#x22;lv_style_gen.h&#x22;, &#x22;lv_style_properties.h&#x22;, &#x22;lv_symbol_def.h&#x22;, &#x22;lv_text.h&#x22;, &#x22;lv_tick.h&#x22;, &#x22;lv_timer.h&#x22;, &#x22;lv_types.h&#x22;]" />
