Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angular/28.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angular 水平方向上的文字长度问题(角度6+;)_Angular_Plotly_Plotly Dash - Fatal编程技术网

Angular 水平方向上的文字长度问题(角度6+;)

Angular 水平方向上的文字长度问题(角度6+;),angular,plotly,plotly-dash,Angular,Plotly,Plotly Dash,我使用Plotly(在angular 6+项目中)生成图表,我希望图例位于图表下方的水平位置。这是我通过给予实现的 legend: { 'orientation': 'h' } 当前的问题是当图例文本较长时,两个图例之间的间距 我将如何避免这种重叠。此外,图表的整个宽度也不是由图例表示的 chart width is layout = {width: 1000} 我试着用css来做,但都没用 我如何解决这个问题 文本较长时两个图例文本的重叠 使用1000的图表宽度 提前谢谢

我使用Plotly(在angular 6+项目中)生成图表,我希望图例位于图表下方的水平位置。这是我通过给予实现的

legend: { 'orientation': 'h' }
当前的问题是当图例文本较长时,两个图例之间的间距

我将如何避免这种重叠。此外,图表的整个宽度也不是由图例表示的

chart width is

layout = {width: 1000}
我试着用css来做,但都没用

我如何解决这个问题

  • 文本较长时两个图例文本的重叠
  • 使用1000的图表宽度
  • 提前谢谢