【问题标题】:Content of highchart tooltip getting overflowhighchart 工具提示的内容溢出
【发布时间】:2021-12-10 08:28:21
【问题描述】:

即使没有应用外部样式,工具提示的内容也会溢出。

tooltip: {
            useHTML: true,
            style: {
                width: '100px',
                whiteSpace: 'normal'
            },
            
            borderWidth: 0.5,
            borderColor: '#DEDFE0',
            backgroundColor: '#FFFFFF',
            borderRadius: 1,

请帮我修复模态框内的内容。

【问题讨论】:

  • 您能否在某些在线编辑器上使用示例数据重现您的问题?

标签: javascript highcharts salesforce bubble-chart


【解决方案1】:

您将宽度固定为 100 像素。您应该尝试删除 fixed with 或尝试使用 max-width 之类的方法。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-05-30
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多