-
Method Name Description Parameters Return Type configure_widthConfigure the width of the chart width: intNoneconfigure_heightConfigure the height of the chart height: intNoneconfigure_axis_sizeConfigure the size of the axis axis_size: intNoneconfigure_bg_colorConfigure the background color of the chart bg_color: strNoneconfigure_fg_colorConfigure the foreground color of the chart fg_color: strNoneconfigure_axis_colorConfigure the color of the axis axis_color: strNoneconfigure_data_font_styleConfigure the font style for data labels data_font_style: Tuple[str, int, str]Noneconfigure_axis_font_styleConfigure the font style for axis labels axis_font_style: Tuple[str, int, str]Noneconfigure_y_axis_valuesConfigure the minimum and maximum values for y-axis y_axis_values: Tuple[int | float, ...]Noneconfigure_y_axis_precisionConfigure the precision for y-axis values y_axis_precision: intNoneconfigure_y_axis_font_colorConfigure the font color for y-axis labels y_axis_font_color: strNoneconfigure_y_axis_data_font_colorConfigure the font color for y-axis data label y_axis_data_font_color: strNoneconfigure_y_axis_label_countConfigure the number of y-axis labels y_axis_label_count: intNoneconfigure_y_axis_dataConfigure the value for y-axis data label y_axis_data: anyNoneconfigure_y_axis_data_positionConfigure the position of y-axis data label y_axis_data_position: strNoneconfigure_y_axis_section_countConfigure the number of sections on the y-axis y_axis_section_count: intNoneconfigure_y_axis_section_colorConfigure the color of sections on the y-axis y_axis_section_color: strNoneconfigure_y_axis_section_styleConfigure the style of sections on the y-axis y_axis_section_style: strNoneconfigure_y_axis_section_style_typeConfigure the style type for sections on the y-axis y_axis_section_style_type: Tuple[int, int]Noneconfigure_y_spaceConfigure the space between y-axis and chart area y_space: intNoneconfigure_x_axis_dataConfigure the data label for x-axis x_axis_data: strNoneconfigure_x_axis_data_positionConfigure the position of x-axis data label x_axis_data_position: strNoneconfigure_x_axis_font_colorConfigure the font color for x-axis labels x_axis_font_color: strNoneconfigure_x_axis_data_font_colorConfigure the font color for x-axis data label x_axis_data_font_color: strNoneconfigure_x_axis_label_countConfigure the number of x-axis labels x_axis_label_count: intNoneconfigure_x_axis_section_countConfigure the number of sections on the x-axis x_axis_section_count: intNoneconfigure_x_axis_section_colorConfigure the color of sections on the x-axis x_axis_section_color: strNoneconfigure_x_axis_section_styleConfigure the style of sections on the x-axis x_axis_section_style: strNoneconfigure_x_axis_section_style_typeConfigure the style type for sections on the x-axis x_axis_section_style_type: Tuple[int, int]Noneconfigure_x_axis_display_values_indicesConfigure the indices of values to display on the x-axis x_axis_display_values_indices: Tuple[int, ...]Noneconfigure_x_axis_point_spacingConfigure the spacing between points on the x-axis x_axis_point_spacing: int | strNoneconfigure_x_spaceConfigure the space between x-axis and chart area x_space: intNoneconfigure_pointer_stateConfigure the state of the pointer pointer_state: strNoneconfigure_pointer_colorConfigure the color of the pointer pointer_color: strNoneconfigure_pointer_sizeConfigure the size of the pointer pointer_size: intNoneconfigure_pointer_lockConfigure the state of pointer lock pointer_lock: strNoneconfigure_pointing_values_precisionConfigure the precision for pointing values pointing_values_precision: intNoneconfigure_pointing_callback_functionConfigure the callback function for pointer pointing_callback_function: callableNone -
Method Name Description Parameters Return Type configure_colorConfigure the color of the line color: strNoneconfigure_sizeConfigure the size of the line size: intNoneconfigure_styleConfigure the style of the line style: strNoneconfigure_style_typeConfigure the style type for the line style_type: Tuple[int, int]Noneconfigure_point_highlightConfigure the state of point highlighting point_highlight: strNoneconfigure_point_highlight_sizeConfigure the size of the highlighted point point_highlight_size: intNoneconfigure_point_highlight_colorConfigure the color of the highlighted point point_highlight_color: strNoneconfigure_fillConfigure the state of filling fill: strNoneconfigure_fill_colorConfigure the color of the fill fill_color: strNone
-
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[tkchart.Line, Tuple[int]]get_line_dataRetrieves data points for a specific line within a specified range and step. line: tkchart.Line
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[tkchart.Line, Tuple[int | float]]get_line_visible_dataRetrieves currently visible data points for a specific line. line: tkchart.LineTuple[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: tkchart.Linefloatget_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: tkchart.Line
state:boolNoneget_line_visibilityGet the visibility of a specific line line: tkchart.LineboolcgetGet 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: tkchart.Line
state:boolNone