2013-04-05 30 views

Trả lời

8

Bạn nên luôn hiển thị một số công việc khi đăng lên tràn ngăn xếp. Nó giúp chúng tôi hiểu vấn đề của bạn.

I nghĩ bạn đang gặp sự cố với EnhancedLedgendRenderer dựa trên mô tả của bạn.

Đây là mã của tôi trông như thế nào để đạt được chú thích 1 hàng, 3 cột.

  legend: { 
     // This renderer is needed for advance legends. 
     renderer: jQuery.jqplot.EnhancedLegendRenderer, 
     show: true, 
     location: 's', 
     placement: 'outside', 
     // Breaks the ledgend into horizontal. 
     rendererOptions: { 
      numberRows: '1', 
      numberColumns: '3' 
     }, 
     seriesToggle: true 
     }, 

Ngoài ra, bạn có thể bị bỏ phiếu vì dấu chấm câu và thiếu viết hoa.

0

thay đổi tùy chọn vị trí thành bên ngoài ra ngoàiGrid

legend: { 
    renderer: jQuery.jqplot.EnhancedLegendRenderer, 
    show: true, 
    location: 's', 
    placement: 'outsideGrid', 
    rendererOptions: { 
     numberRows: '1', 
    }, 
    }, 
Các vấn đề liên quan