数据可视化工具LightningChart Python v2.2 现已发布!构建更具响应性的仪表板
<div class="et_pb_with_border et_pb_column_2_3 et_pb_column et_pb_column_0 et_pb_css_mix_blend_mode_passthrough"><div class="et_pb_module et_pb_text et_pb_text_0 et_pb_text_align_left et_pb_bg_layout_light">
<div class="et_pb_text_inner">
<h1>LightningChart Python v 2.2 现已发布!</h1>
</div>
</div>
<div class="et_pb_module et_pb_text et_pb_text_1 et_pb_text_align_left et_pb_bg_layout_light">
<div class="et_pb_text_inner">
<p>推出具有更丰富的用户界面控件的新产品功能,用于构建更具响应性的仪表板。</p>
</div>
</div>
</div>
<div class="et_pb_section et_pb_section_1 et_pb_with_background et_section_regular">
<div class="et_pb_row et_pb_row_1 row-width-news et_pb_gutters1">
<div class="et_pb_column et_pb_column_2_3 et_pb_column_2 et_pb_css_mix_blend_mode_passthrough">
<div class="et_pb_with_border et_pb_module et_pb_text et_pb_text_2 et_pb_text_align_left et_pb_bg_layout_light">
<p style="text-align: center"><span style="color: rgba(230, 126, 35, 1)"><strong>获取LightningChart Python v2.2新版试用,请联系慧都科技>>></strong></span></p>
<h2>新功能</h2>
</div>
<div class="et_pb_module et_pb_text et_pb_text_3 et_pb_text_align_left et_pb_bg_layout_light">
<div class="et_pb_text_inner">
<p>此版本扩展了 <strong>LightningChart Python</strong> 的交互式工具包,新增了更丰富的 UI 控件、更深入的光标自定义功能和更智能的数据查询方式。现在,您可以使用可切换的复选框和瞬时按钮框操作构建响应更迅速的仪表板,实现光标的端到端自定义,并使用新的 getter 方法读取组件状态。</p>
<p>新版本还添加了工作流辅助函数,例如 用于动态布局的swap_axes 和 用于程序化拾取的solve_nearest 。这有助于您更轻松地构建和维护高级交互。</p>
</div>
</div>
<div class="et_pb_module et_pb_text et_pb_text_4 et_pb_text_align_left et_pb_bg_layout_light">
<div class="et_pb_text_inner">
<h3>光标</h3>
<p><strong>LightningChart Python </strong>现在支持完整的光标自定义功能。光标模式现在更容易理解和控制。您可以启用/禁用它们、重新设置它们的样式,甚至可以用手动光标替换内置光标,并通过编程方式移动它们。</p>
<p>此外,还为光标的所有组成部分添加了完整的样式 API:包括光标标记、十字线网格线、坐标轴刻度标记和结果表格。您可以自定义字体、边框、渐变、自动调整大小以及边距/原点位置等属性。</p>
<p>Cursor 现在支持 HTML 格式回调,您还可以为每个系列应用不同的格式覆盖。这意味着您的工具提示可以显示丰富的内容,例如 KPI、状态徽章或取决于系列或图表类型的额外元数据。</p>
<p>手动光标现在是核心功能之一。您可以创建多个光标,根据事件移动它们,并将它们用于独立于悬停光标的自定义注释。</p>
</div>
</div>
<div class="et_pb_module et_pb_code et_pb_code_2">
<div class="et_pb_code_inner"> </div>
</div>
<div class="et_pb_module et_pb_text et_pb_text_5 et_pb_text_align_left et_pb_bg_layout_light">
<div class="et_pb_text_inner">
<h3>可指向的文本框</h3>
<p>使用内置的方向指针添加交互式标注。PointableTextBox 扩展了标准 TextBox 的功能,增加了箭头/指针功能,非常适合突出显示特定数据点、创建工具提示或添加与图表元素视觉上相关的解释性注释。</p>
</div>
</div>
<div class="et_pb_module et_pb_image et_pb_image_0"><span class="et_pb_image_wrap "><img src="https://lightningchart.com/wp-content/uploads/2026/04/LightningChart-Python-Pointable-Textbox.avif"></span></div>
<div class="et_pb_module et_pb_text et_pb_text_6 et_pb_text_align_left et_pb_bg_layout_light">
<div class="et_pb_text_inner">
<h3>复选框</h3>
<p>直接在图表和仪表盘上添加持久的、可切换的 UI 开关。复选框在点击后会保持其开启/关闭状态,支持文本、样式、背景和指针事件,非常适合“显示网格”或“启用光标”等选项。</p>
<h3>按钮盒</h3>
<p>添加具有自动回弹功能的瞬时操作按钮。ButtonBox 使用与 CheckBox 相同的 API 和样式,但每次按下后都会重置为“关闭”状态。这使其非常适合“重置视图”或“应用筛选器”等一次性操作。</p>
</div>
</div>
<div class="et_pb_module et_pb_image et_pb_image_1"><span class="et_pb_image_wrap "><img src="https://lightningchart.com/wp-content/uploads/2026/04/LightningChart-Python-Pointable-Checkbox.avif"></span></div>
<div class="et_pb_with_border et_pb_module et_pb_text et_pb_text_7 et_pb_text_align_left et_pb_bg_layout_light">
<div class="et_pb_text_inner">
<h2>其他改进</h2>
</div>
</div>
<div class="et_pb_module et_pb_text et_pb_text_8 et_pb_text_align_left et_pb_bg_layout_light">
<div class="et_pb_text_inner">
<p>本次版本更新主要有三项改进:刻度标签方法、热图扁平数组输入以及更优的调色板着色方法。以下是概要:</p>
</div>
</div>
<div class="et_pb_module et_pb_text et_pb_text_9 et_pb_text_align_left et_pb_bg_layout_light">
<div class="et_pb_text_inner">
<div>
<h3>Getter 方法</h3>
<p>扩展了 Python API,新增了 getter 方法,方便在运行时读取当前状态和样式。这不仅改进了调试功能,还允许您将 UI 与外部控件同步,并实现无需手动跟踪的状态感知交互。</p>
</div>
</div>
</div>
<div class="et_pb_module et_pb_text et_pb_text_10 et_pb_text_align_left et_pb_bg_layout_light">
<div class="et_pb_text_inner">
<div>
<h3>交换轴</h3>
<p>交换同一平面上的两个坐标轴(X↔X 或 Y↔Y)可以快速重新排列坐标轴的位置和堆叠顺序,而无需重新构建图表。此功能适用于动态布局或多轴仪表板。</p>
</div>
</div>
</div>
<div class="et_pb_module et_pb_text et_pb_text_11 et_pb_text_align_left et_pb_bg_layout_light">
<h3>求解最近邻数据</h3>
<p>以编程方式查询给定屏幕坐标处的最近/指向数据,支持最近、指向或所有序列等模式。非常适合自定义工具提示、拾取和十字准星式交互。</p>
<p> </p>
<h2>高性能可视化正成为数字化核心能力</h2>
<p>在工业数字化与实时数据驱动的趋势下,传统图表组件已难以满足“高频+大数据+实时响应”的需求。LightningChart 通过 GPU 加速与极致性能设计,为企业提供了面向未来的数据可视化基础能力。</p>
<p><span style="color: rgba(230, 126, 35, 1)"><strong>获取LightningChart Python v2.2新版试用,请联系慧都科技>>></strong></span></p>
</div>
</div>
</div>
</div><br><br>
来源:https://www.cnblogs.com/software-Development/p/19860017
頁:
[1]