DEV Community

Cover image for Releasing LightningChart Python Trader 1.1
Omar Urbano
Omar Urbano

Posted on

Releasing LightningChart Python Trader 1.1

In this version, LightningChart Python Trader introduces different features including drawing tool pointer events, chart-level pointer events, and value label controls. For more information, read the full release note.

Drawing Tool Pointer Events

Drawing-Tool-Pointer-Events
Pointer events are signals that let you interact with and modify the drawing tools on a chart. LightningChart Python Trader introduces new comprehensive events allowing for custom interactions and dynamic chart updates. The new events are:

on_pointer_down(): Triggered when clicking on a drawing tool
on_pointer_up(): Triggered when releasing the mouse button
on_pointer_enter(): Triggered when the cursor enters the tool area
on_pointer_leave(): Triggered when the cursor exits the tool area
on_drawing_tool_moved(): Triggered when the tool position changes

Chart-Level Pointer Events

Chart-Level-Pointer-Events
Similar to drawing tool events, this release introduces pointer events at the chart level:

on_pointer_down(): Triggered when clicking on a drawing tool
on_pointer_up(): Triggered when releasing the mouse button
on_pointer_move(): Triggered when the cursor moves

Value Label Controls

Value-Label-Controls
Value label controls allow customizing how the latest price and indicator values are displayed. The new available controls are:

show_value_labels(bool): Show/hide all value labels
set_latest_value_label_type(str): Control the latest price label display

New Visual Customization Methods

We have introduced new styling methods to provide greater control over how the chart looks.

LC-Python-Trader-1.1-Visual-Customization


Get Started with LightningChart Python Trader

LightningChart Python Trader is the most complete Python Library for visualizing financial data and creating Fintech applications.

Request 7-day free trial

Top comments (0)