0

我需要用户设置一些百分比值,这些百分比值应该总是加起来 100%。归档这个的标准方法是什么?我想出了以下内容:

1)为您需要设置的每个值都有一个标准滑块控件。移动一个滑块将自动调整所有其他滑块,因此总和始终为 100%。您可以使用旁边显示的复选框来修复单个滑块。只有剩余的“免费”滑块可以调整。

Pro:完全由用户已经知道的标准小部件组成

缺点:很多小部件,大量使用的屏幕空间,当你有很多滑块时看起来很丑,因此百分比值很低,标准化到 100% 并不是很明显。

2) 有一个带有多个滑动旋钮的滑块控件。

优点:归一化隐含明显,因为滑块的长度是固定的,相对权重一目了然

缺点:非标准,旋钮很容易相互重叠,旋钮不容易固定,没有明显的地方可以为每个间隔/百分比放置文本/数字表示

3) 显示标准饼图。

优点:归一化是隐含明显的,相对权重很容易看出

缺点:非标准的交互式使用,难以进行直观的切片大小调整工作,没有地方为每个切片放置文本/数字表示

4) ... ?

我对其中任何一个都不满意,因此我在这里提出问题。有更好的想法吗?我在富 Windows 客户端(即不是 Web)上处理 3-10 个单独的百分比值。

干杯,

Sören
4

3 回答 3

1

垂直滑块呢?就像一个混音器。我认为它看起来比 10 个水平滑块的列表要好得多。

Or fixed width bar with several sliders on them, a bit like the gradient control of Photoshop if you know it.

于 2009-02-04T14:56:13.123 回答
1

Similar to the timeline idea, how about a slider like the partitioning interface in GParted or similar disk partitioning tools?

You could display the percentage values and actual numbers above the dynamically resizing bars to allow the user to edit them numerically instead of using the sliders if they want to configure it manually.

于 2010-05-25T14:04:07.903 回答
0

How about a time line view; (gantt chart) kind of like in Microsoft Expression Blend or in flash where you have multiple layers for each action and each action can be within a range on the scale from 0 to 100.

于 2009-02-04T14:56:20.613 回答