链接到传奇无效的高级版

时间:2018-02-22 08:36:08

标签: r highcharts r-highcharter

我尝试重新创建此示例: http://jsfiddle.net/6gw5P/239/

highchart() %>%  
  hc_chart(type=list('bar')) %>%
  hc_xAxis(list(categories=c('Apples', 'Oranges', 'Pears', 'Grapes', 'Bananas'))) %>%
  hc_plotOptions(bar=list(stacking = 'normal')) %>%
  hc_series(
    list(
      name =  'John and Joe',
      data = c(5, 3, 4, 7, 2),
      stack = 'Male'
    ),
    list(
      linkedTo ='Previous',
      name = "Joe",
      data =c(2, 5, 6, 2, 1),
      stack = 'Male'
      ),
      list(
        name =  'Jane and Janet',
        data = c(2, 5, 6, 2, 1),
        stack = 'Female'
      ),
      list(
        linkedTo ='Previous',
        name = "Janet",
        data =c(3, 0, 4, 4, 3),
        stack = 'Female'
      ))

它的工作原理是没有为Joe和Janet显示的图例,但是当点击图例时de(de)选择对两者都不起作用。这还没有整合到higcharter吗?

0 个答案:

没有答案