BoxPlotLayout

Package: Libraries.Interface.Layouts · Inherits from: Libraries.Language.Object, Libraries.Interface.Layouts.Layout, Libraries.Interface.Layouts.ChartLayout

This class determines the visual layout for the chart.

Example Code

use Libraries.Compute.Statistics.DataFrame
use Libraries.Compute.Statistics.Charts.BoxPlotCreator
use Libraries.Interface.Controls.Charts.BoxPlot
use Libraries.Game.Game

class Main is Game
    action Main
        StartGame()
    end

    action CreateGame
        DataFrame frame
        frame:Load("Data/Data.csv")
        BoxPlotCreator creator
        creator:AddColumn(2)
    
        BoxPlot chart = cast(BoxPlot,frame:CreateChart(creator))
        chart:SetPercentageWidth(1)
        chart:SetPercentageHeight(1)
        chart:SetTitle("Sample Title")
        chart:SetXAxisTitle("X-axis Variable")
        chart:SetYAxisTitle("Y-axis Variable")
        Add(chart)
    end
end

Actions

LayoutChartContent(Libraries.Interface.Controls.Charts.Chart control, Libraries.Interface.Controls.Control chartAreaContainer)

This action determines the layout of the chart area

Parameters

Inherited Actions

6 actions from Libraries.Interface.Layouts.ChartLayout
3 actions from Libraries.Language.Object