[{"name":"Graph","comment":" **Graph** is a bare-bones package for rendering data as\nline and bar charts, both as HTML and as SVG.\n\nFor examples, see the REAdME.\nFor a demo, see https://jxxcarlson.github.io/app/gamblers_ruin.html\n\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.\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.\n","type":"Graph.GraphAttributes -> List.List Basics.Float -> Svg.Svg msg"},{"name":"lineChart","comment":" Render a list of points (pairs of floats)\nto Html as a line chart.  using the parameters\nof GraphAttributes.  GraphAttributes controls\nthe appearance of the graph -- width, height, color,\ntick marks on the axes.   The x-coordinates of the\ndata are assumed to be in increasing order.\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":" This function is like lineChart, but with the additional\nDataWindow parameter.  A DataWindow defines the range of\nx and y coordinates that are displayed.  In lineChart, the\nDataWindow is deduced from the data presented.\n","type":"Graph.DataWindow -> Graph.GraphAttributes -> List.List Graph.Point -> Html.Html msg"}],"binops":[]}]