Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
399 views
in Technique[技术] by (71.8m points)

javascript - React-vis:是否可以为verticalBarSeries条设置最小高度?(React-vis: Is it possible to set a minimum height to verticalBarSeries bars?)

I'm building a stacked vertical bar series chart with values that oscillate between 1 and 1.000.000, so the bars that show really low values can't be seen (the values in the top x-axis are divided by 1.000).

(我正在构建一个堆叠的垂直条形图,其值在1到1.000.000之间波动,因此看不到显示出非常低的值的条形图(顶部x轴的值除以1.000)。)

在此处输入图片说明

Is it possible to set a minimum height for all bars?

(是否可以为所有钢筋设置最小高度?)

I tried editing the library directly, and it is possible to set a minimun height, but because the chart shows multiple bar sets, each with their own coordinates relative to the chart, they overlap.

(我尝试直接编辑库,可以设置最小高度,但是由于图表显示了多个条形图集,每个条形图具有相对于图表的各自坐标,因此它们会重叠。)

在此处输入图片说明

Thank you!

(谢谢!)

  ask by diegoolavarriau translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...