F# Charting - 当列数超过 9 时,柱形图不会标记所有列名

F# Charting - Column chart doesn't label all column names when there are more than 9 columns

我正在尝试使用 FSharp.Charting 柱形图绘制一些 category/count 数据,一切都按我预期的方式工作,除非柱数达到 10 或更多。

来自 http://fslab.org/FSharp.Charting/BarAndColumnCharts.html.

        let data = 
            [ "Africa", 1033043; 
              "Asia", 4166741; 
              "Europe", 732759; 
              "South America", 588649; 
              "North America", 351659; 
              "Oceania", 35838]
        let chart = Chart.Column data
        chart.ShowChart()

明确地说,上面的代码很好,但是如果我再添加 4 个地区,我就不会得到 所有 标签....

        let data = 
            [ "Africa", 1033043; 
              "Asia", 4166741; 
              "Europe", 732759; 
              "South America", 588649; 
              "North America", 351659; 
              "Oceania", 35838;
              "Africa2", 1033043; 
              "Asia2", 4166741; 
              "Europe2", 732759;
              "South America2", 456789 
              ]
        let chart = Chart.Column data
        chart.ShowChart()

有谁知道如何让所有列名称显示出来?我在文档中看不到任何有帮助的内容。

看看这个问题:

简而言之(重要的部分是区间):

data
    |> Chart.Column
    |> Chart.WithXAxis (LabelStyle = ChartTypes.LabelStyle(Angle = -45, Interval = 1.0))