-
Method Name Description Parameters Return Type get_lines_dataRetrieves data points for all lines within a specified range with an optional step value. start: int
end:int
step:intDict[ctkchart.CTkLine, Tuple[int]]get_line_dataRetrieves data points for a specific line within a specified range and step. line: ctkchart.CTkLine
start:int
end:int
step:intTuple[int | float]get_x_axis_visible_point_countRetrieves the maximum number of data points that can be visible along the X-axis. - intget_lines_visible_dataRetrieves currently visible data points for all lines based on the maximum data length and visible points. - Dict[ctkchart.CTkLine, Tuple[int | float]]get_line_visible_dataRetrieves currently visible data points for a specific line. line: ctkchart.CTkLineTuple[int | float] -
Method Name Description Parameters Return Type get_dataRetrieves data points from a specified range with an optional step value. If no parameters are given, it returns all available data. start: int
end:int
step:intTuple[int | float]get_current_visible_dataReturns the currently visible data points based on the maximum data length across all lines and the maximum number of visible points. - Tuple[int | float]get_x_axis_visible_point_countRetrieves the maximum number of data points that can be visible along the X-axis. - int
-
Method Name Description Parameters Return Type clear_dataClears the data for all lines within the chart, ensuring that only the most recent visible data points are retained. If the total data points exceed the maximum visible points, the older data is removed from each line's data. This method ensures that the chart displays only the relevant portion of data based on the maximum visible range. - None -
Method Name Description Parameters Return Type clear_dataClears the data for a specific line, ensuring that only the most recent visible data points are retained. If the line's data exceeds the maximum visible points, the older data is trimmed. This method allows each line to independently clean its data, ensuring it remains within the visible range. - None
-
Method Name Description Parameters Return Type get_line_areaGet the are of specific line line: ctkchart.CTkLinefloatget_lines_areaGet the are of all lines - float
-
Method Name Description Parameters Return Type destroyDestroy the line chart, along with its lines - None -
Method Name Description Parameters Return Type destroyDestroy the line object - None
-
Method Name Description Parameters Return Type cgetGet the value of the specified parameter attribute_name: str | "__all__"anyset_visibleChange the visibility of the line state: boolNoneget_visibilityGet the visibility of the line - bool -
Method Name Description Parameters Return Type set_lines_visibilityChange the visibility of all the lines state: boolNoneset_line_visibilityChange the visibility of a specific line line: ctkchart.CTkLine
state:boolNoneget_line_visibilityGet the visibility of a specific line line: ctkchart.CTkLineboolcgetGet the value of the specified parameter attribute_name: str | "__all__"anyplace_infoGet info about place attribute_name: str | "__all__"anypack_infoGet info about pack attribute_name: str | "__all__"anygrid_infoGet info about grid attribute_name: str | "__all__"any -
Method Name Description Parameters Return Type hide_all Hide all the lines state: boolNone hide hide a specific line line: ctkchart.CTkLine
state:boolNone