dongzan0108 2016-03-03 09:05 采纳率: 0%
浏览 49
已采纳

如何在Yii2 Highcharts扩展中正确创建PHP格式化程序的功能

I have to display some special information when my mouse is over a concrete point in a chart that is provided by Highcharts. I am using the Highcharts extension for Yii2.

My Code

'tooltip' => [
               'enabled' => true,
               'footerFormat' => true,
               'formatter' => "js:function() {
                    return 'my special information';
                }"
             ],

The data that comes from controller is correct. However there is nothing different - tooltip is still the default

What am I doing wrong?

  • 写回答

1条回答 默认 最新

      报告相同问题?

      相关推荐 更多相似问题

      悬赏问题

      • ¥20 如何按照企业名字进行爬虫
      • ¥15 关于#单片机#的问题,如何解决?
      • ¥100 制作短链接和api接口的
      • ¥15 星河亮点sp9500测试指导
      • ¥15 dataframe 某列数据分列
      • ¥15 风扇导入fluent后仿真压力和速度数据卡在旋转域
      • ¥15 echarts中dataZoom报错
      • ¥15 求解答:《前端综合基础》作为一门课程的话,应该包含哪些内容?
      • ¥15 软件原型系统开发+实例测试
      • ¥50 C#上位机调试Win USB