[{"name":"Graph","comment":" Graph is a bare-bones package for rendering data as\n    line and bar charts.\n\n    lineChart : GraphAttributes -> List Point -> Html msg\n\n    barChart : GraphAttributes -> List Float -> Html msg\n\nFor a demo, see https://jxxcarlson.github.io/app/gamblers_ruin.html\n\n**Line Chart Example**\n\n Let\n\n    data =\n        [(0,0), (10, 10), (20,0), (30,15), (40,0)]\n\n    graphAttributes =\n         {   graphHeight = 100\n           , graphWidth = 400\n           , options = [ ]\n         }\n\n    lineChart graphAttributes data\n\nFor more control over the part of the data displayed, use `lineChartWithDataWindow`.\nTo customize the appearance of the graph, use the options field -- change the color of the\nline, place tick marks on the x and y axes.  For example, one could say `options = [Color \"blue\"]`.\n\n**Bar Chart Example**\n\nLet\n\n    data = [5, 10, 20, 30, 20, 20, 5]\n\n    graphAttributes =\n        {   graphHeight = 100\n          , graphWidth = 400\n          , options = [Color \"rgb(200,0,0)\", DeltaX 15,  XTickmarks 2, YTickmarks 5]\n        }\n\n    barChart graphAttributes data\n\n@docs lineChart, lineChartWithDataWindow,  barChart,  Point, DataWindow, GraphAttributes, Option, lineChartAsSVG, lineChartAsSVGWithDataWindow, barChartAsSVG\n\n\n","unions":[{"name":"Option","comment":" Use the options field to customize the line chart.\nExamples: (1) [Color \"blue\"] makes the charted line\n blue (2) [Color \"blue\", XTickmarks 10, YTickmarks 5]\n  places 10 tick marks along the x-axis and 5\n tick marks along the y-axis, (3) options = [ ]\n produces a bare-bones graph.\n\n The DeltaX option is used to specify the distnce\n from the leading edge of one bar to the next\n in bar graph.\n","args":[],"cases":[["Color",["String.String"]],["XTickmarks",["Basics.Int"]],["YTickmarks",["Basics.Int"]],["DeltaX",["Basics.Float"]]]}],"aliases":[{"name":"DataWindow","comment":" A DataWindow is a rectangle which determines\nthe x and y ranges of the data to be displayed..\n","args":[],"type":"{ xMax : Basics.Float, xMin : Basics.Float, yMax : Basics.Float, yMin : Basics.Float }"},{"name":"GraphAttributes","comment":" A GraphAttributes value defines the size on\nthe screen occupied by the graph and the color of the\nline.\n\n","args":[],"type":"{ graphHeight : Basics.Float, graphWidth : Basics.Float, options : List.List Graph.Option }"},{"name":"Point","comment":"  The data to be graphed by Graph.asHtml is\na List Point.\n\n","args":[],"type":"( Basics.Float, Basics.Float )"}],"values":[{"name":"barChart","comment":" Render a list of numbers to Html as a bar chart using the parameters\nof GraphAttributes and DataWindow.  If desired, the data window\ncan be set from the list of points using getDataWindow.\n","type":"Graph.GraphAttributes -> List.List Basics.Float -> Html.Html msg"},{"name":"barChartAsSVG","comment":" Render a list of numbers to Svg as a bar chart using the parameters\nof GraphAttributes and DataWindow.  If desired, the data window\ncan be set from the list of points using getDataWindow.\n","type":"Graph.GraphAttributes -> List.List Basics.Float -> Svg.Svg msg"},{"name":"lineChart","comment":" Render a list of points to Html as a line chart using the parameters\nof GraphAttributes.\n","type":"Graph.GraphAttributes -> List.List Graph.Point -> Html.Html msg"},{"name":"lineChartAsSVG","comment":" Render a list of points to SVG as a line chart using the parameters\nof GraphAttributes.\n","type":"Graph.GraphAttributes -> List.List Graph.Point -> Svg.Svg msg"},{"name":"lineChartAsSVGWithDataWindow","comment":" Render a list of points to Svg as a line chart using the parameters\nof GraphAttributes and DataWindow.\n","type":"Graph.DataWindow -> Graph.GraphAttributes -> List.List Graph.Point -> Svg.Svg msg"},{"name":"lineChartWithDataWindow","comment":" Render a list of points to Html as a line chart using the parameters\nof GraphAttributes and DataWindow.\n","type":"Graph.DataWindow -> Graph.GraphAttributes -> List.List Graph.Point -> Html.Html msg"}],"binops":[]}]