duanguo7021 2014-01-10 09:38
浏览 134
已采纳

在高图中改变x轴标签与轴的距离

I want to increase the distance of the x axis title from x axis in highchart.

following is my x axis code.But using this code title is too close to the x axis.

I try with x and y values but no difference in output.

    xAxis:
            {
                categories: [<?php echo $ffdat;?>],
                title:
                {
                    text: 'Overall Average Mean Time Between Failures: <?php echo round($avg, 2);?> Hrs.'
                },
            },
  • 写回答

1条回答 默认 最新

  • dth34653 2014-01-10 09:44
    关注

    use margin property to provide spacing between axis and title

    title:{
       margin: 60
    }
    

    here is a working example for it http://jsfiddle.net/5kZbG/

    Hope this will solve your issue.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 ue5 .3之前好好的现在只要是激活关卡就会崩溃
  • ¥50 MATLAB实现圆柱体容器内球形颗粒堆积
  • ¥15 python如何将动态的多个子列表,拼接后进行集合的交集
  • ¥20 vitis-ai量化基于pytorch框架下的yolov5模型
  • ¥15 如何实现H5在QQ平台上的二次分享卡片效果?
  • ¥15 python爬取bilibili校园招聘网站
  • ¥30 求解达问题(有红包)
  • ¥15 请解包一个pak文件
  • ¥15 不同系统编译兼容问题
  • ¥100 三相直流充电模块对数字电源芯片在物理上它必须具备哪些功能和性能?