ansys / ansys/Visual-Interactive-Simulation-Object-Renderer

Legend controls: second pass

未关闭
#75 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
functional
主要语言
Python
星标
0
派生
0
平均合并
1 天 10 小时
30 天内合并 PR
37

描述

### User Story Description

The MVP list contained the legend panel. That panel for the MVP had minimal functionality. New functionalities need to be added, in particular:

- control orientation of the legend (horizontal / vertical)
- color palette (select from a list of palettes. Note: usually tools show both the name and a schema of the palette)
- control number of palette levels. You can control the number of levels, value at each level and exact color
- type of interpolation (linear vs log) between palette levels
- color to use for undefined value. The user should set from the color wheel or RGB
- pick the interpolation type for the palette: continuous, banded, constant

### Acceptance Criteria

Launch a VISOR session. Color one part by a variable. In the legends panel, all the new functionalities are available and work.

Save a state file. Launch a new VISOR session. Load the state file. Verify that all the legend advanced options are stored correctly.

### Additional Links

_No response_

### Requires new or update to third party ? If "yes" add the name(s) and the version(s) of the Third Party Software.

No

### Name and Version for Third Parties

_No response_

贡献指南

打开贡献指南

调研方向

Launch a VISOR session and inspect the existing legends panel and state-file workflow first. Implementing the requested orientation, palette, levels, interpolation, undefined-value color, and persistence options is done when they work for a colored variable and reload correctly from a saved state file.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
data-visualization, frontend
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
活跃
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。