Skip to content

Cannot find a few things in the documentation #272

@thomasd3

Description

@thomasd3
  • Displaying a range of dates:

    Chart.withXAxis (LayoutObjects.LinearAxis.init(Range = ?)

How can I set from DateTime A to DateTime B?

The StyleParam.Range type seems to want floats, but the comments in the code say:

If the axis typeis "date", it should be date strings, like date data, though Date objects and unix milliseconds will be accepted and converted to strings.

  • Sizing subplots:

      [
          chart1
          chart2  |> Chart.withSize(Height = 200)    <- this will get ignored
      ]
      |> Chart.SingleStack(Pattern= LayoutGridPattern.Coupled)
      |> Chart.withSize(Width = 1600, Height= 800)
      |> Chart.show
    

I can't find where I can set a size for each plot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions