|
OpenPine C++ API
C++ wrapper for the OpenPine Pine Script VM
|
Represents background-colors settings in a chart. More...
#include <background_colors.hpp>
Public Member Functions | |
| BackgroundColors (const ffi::BackgroundColors *p) | |
| int32_t | offset () const |
| Returns the background-colors offset. | |
| bool | editable () const |
| Returns whether background-colors are editable. | |
| std::optional< uintptr_t > | showLast () const |
| Gets the show_last value, if set. | |
| std::optional< std::string_view > | title () const |
| Gets the title of the background-colors series. | |
| Display | display () const |
| Gets the display bitmask. | |
| bool | forceOverlay () const |
| Gets whether the background colors are forced to render as overlay. | |
| std::optional< uint32_t > | color (uintptr_t idx) const |
| Gets the background color at the specified index. | |
Represents background-colors settings in a chart.
Definition at line 27 of file background_colors.hpp.
|
inline |
Definition at line 32 of file background_colors.hpp.
|
inline |
Gets the background color at the specified index.
| idx | The bar index. |
Definition at line 85 of file background_colors.hpp.
|
inline |
Gets the display bitmask.
Definition at line 72 of file background_colors.hpp.
|
inline |
Returns whether background-colors are editable.
Definition at line 42 of file background_colors.hpp.
|
inline |
Gets whether the background colors are forced to render as overlay.
Definition at line 77 of file background_colors.hpp.
|
inline |
Returns the background-colors offset.
Definition at line 37 of file background_colors.hpp.
|
inline |
Gets the show_last value, if set.
Definition at line 47 of file background_colors.hpp.
|
inline |
Gets the title of the background-colors series.
Definition at line 60 of file background_colors.hpp.
References openpine::detail::refToView().