2016-08-02 4 views
0

私は剣道図の問題を解決しようとしています。シリーズホバーでは、ムースがセリフをホバリングしてもうまく動作しますが、ライン上の値を知りたいときには表示されず、理由もわかりません。剣道図表とシリーズホバー

$("#chart1").data("kendoChart").setOptions({ 
     categoryAxis: [{ 

      majorGridLines: { 
       visible: true, 
       step: 10 
      }, 
      line: { 
       visible: false 
      }, 
      labels: { 
       rotation: 'auto' 
      }, 
      notes: { 
       icon: { 
        type: 'square', 
       }, 
       data:[{ 
        value: this.selectionPosStart, 
        label: { 
         text: 'P', 
         background: color1, 
         color: 'white' 
        }, 
        line: { 
         color: color1, 
         length: lenght, 
         width: 2, 
        } 
       }, { 
        value: this.selectionPosEnd, 
        label: { 
         text: 'D', 
         background: color2, 
         color: 'white' 
        }, 
        line: { 
         color: color2, 
         opacity: 0.5, 
         length: length, 
         width: 2 
        } 
       }], 
      } 
     }], 
     valueAxis: { 
      majorUnit: 1 
     },  
    }); 

ありがとうございます!

答えて

0

あなたはツールチップattrを使用していません。

tooltip: { 
        visible: true, 
        template: "#= series.name #: #= value #" 
       } 
関連する問題