MCPcopy Create free account
hub / github.com/KaisenAmin/c_std / plot_get_series_count

Function plot_get_series_count

plot/plot.c:1073–1079  ·  view source on GitHub ↗

* @brief Number of series currently attached to the plot. * * Returns the live seriesCount field. The result is bounded above by * the compile-time constant PLOT_MAX_SERIES; if it equals * PLOT_MAX_SERIES then any further plot_add_series() / plot_add_line() * / plot_add_bar() / plot_add_scatter() call will fail with -1. * * @param plot Plot to query. May be NULL. * * @return The series co

Source from the content-addressed store, hash-verified

1071 *
1072 * Deep-copies @p title into the plot, then frees the previous title
1073 * string. Passing NULL stores the empty string "" (which renders as
1074 * a blank title bar) rather than leaving the field NULL — so the
1075 * renderer can always safely dereference @c plot->title.
1076 *
1077 * Ownership semantics: the caller may free its copy of @p title
1078 * immediately after this call returns. On allocation failure the
1079 * previous title is preserved unchanged.
1080 *
1081 * @param plot Target plot. Must be non-NULL.
1082 * @param title New title text, or NULL to clear it.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected