Chart 1.8.3 → 1.9
raw patch · 4 files changed
+94/−56 lines, 4 filesdep +semigroupsdep ~basePVP ok
version bump matches the API change (PVP)
Dependencies added: semigroups
Dependency ranges changed: base
API changes (from Hackage documentation)
+ Graphics.Rendering.Chart.Geometry: instance Data.Semigroup.Semigroup Graphics.Rendering.Chart.Geometry.Path
+ Graphics.Rendering.Chart.Plot.Annotation: [_plot_annotation_background] :: PlotAnnotation x y -> Rectangle
+ Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_background :: forall x_aCKw y_aCKx. Lens' (PlotAnnotation x_aCKw y_aCKx) Rectangle
+ Graphics.Rendering.Chart.Renderable: drawRectangle :: Point -> Rectangle -> BackendProgram (PickFn a)
- Graphics.Rendering.Chart.Axis.Floating: la_labelf :: forall a_a10gl a_a11HM. Lens (LinearAxisParams a_a10gl) (LinearAxisParams a_a11HM) ([a_a10gl] -> [String]) ([a_a11HM] -> [String])
+ Graphics.Rendering.Chart.Axis.Floating: la_labelf :: forall a_a11u5 a_a12VA. Lens (LinearAxisParams a_a11u5) (LinearAxisParams a_a12VA) ([a_a11u5] -> [String]) ([a_a12VA] -> [String])
- Graphics.Rendering.Chart.Axis.Floating: la_nLabels :: forall a_a10gl. Lens' (LinearAxisParams a_a10gl) Int
+ Graphics.Rendering.Chart.Axis.Floating: la_nLabels :: forall a_a11u5. Lens' (LinearAxisParams a_a11u5) Int
- Graphics.Rendering.Chart.Axis.Floating: la_nTicks :: forall a_a10gl. Lens' (LinearAxisParams a_a10gl) Int
+ Graphics.Rendering.Chart.Axis.Floating: la_nTicks :: forall a_a11u5. Lens' (LinearAxisParams a_a11u5) Int
- Graphics.Rendering.Chart.Axis.Floating: loga_labelf :: forall a_a10gk a_a11Ju. Iso (LogAxisParams a_a10gk) (LogAxisParams a_a11Ju) ([a_a10gk] -> [String]) ([a_a11Ju] -> [String])
+ Graphics.Rendering.Chart.Axis.Floating: loga_labelf :: forall a_a11u4 a_a12Xi. Iso (LogAxisParams a_a11u4) (LogAxisParams a_a12Xi) ([a_a11u4] -> [String]) ([a_a12Xi] -> [String])
- Graphics.Rendering.Chart.Axis.Types: axis_grid :: forall x_aLWU. Lens' (AxisData x_aLWU) [x_aLWU]
+ Graphics.Rendering.Chart.Axis.Types: axis_grid :: forall x_aNav. Lens' (AxisData x_aNav) [x_aNav]
- Graphics.Rendering.Chart.Axis.Types: axis_labels :: forall x_aLWU. Lens' (AxisData x_aLWU) [[(x_aLWU, String)]]
+ Graphics.Rendering.Chart.Axis.Types: axis_labels :: forall x_aNav. Lens' (AxisData x_aNav) [[(x_aNav, String)]]
- Graphics.Rendering.Chart.Axis.Types: axis_ticks :: forall x_aLWU. Lens' (AxisData x_aLWU) [(x_aLWU, Double)]
+ Graphics.Rendering.Chart.Axis.Types: axis_ticks :: forall x_aNav. Lens' (AxisData x_aNav) [(x_aNav, Double)]
- Graphics.Rendering.Chart.Axis.Types: axis_tropweiv :: forall x_aLWU. Lens' (AxisData x_aLWU) (Range -> Double -> x_aLWU)
+ Graphics.Rendering.Chart.Axis.Types: axis_tropweiv :: forall x_aNav. Lens' (AxisData x_aNav) (Range -> Double -> x_aNav)
- Graphics.Rendering.Chart.Axis.Types: axis_viewport :: forall x_aLWU. Lens' (AxisData x_aLWU) (Range -> x_aLWU -> Double)
+ Graphics.Rendering.Chart.Axis.Types: axis_viewport :: forall x_aNav. Lens' (AxisData x_aNav) (Range -> x_aNav -> Double)
- Graphics.Rendering.Chart.Axis.Types: axis_visibility :: forall x_aLWU. Lens' (AxisData x_aLWU) AxisVisibility
+ Graphics.Rendering.Chart.Axis.Types: axis_visibility :: forall x_aNav. Lens' (AxisData x_aNav) AxisVisibility
- Graphics.Rendering.Chart.Layout: laxis_generate :: forall x_a1iLH. Lens' (LayoutAxis x_a1iLH) (AxisFn x_a1iLH)
+ Graphics.Rendering.Chart.Layout: laxis_generate :: forall x_a1jZP. Lens' (LayoutAxis x_a1jZP) (AxisFn x_a1jZP)
- Graphics.Rendering.Chart.Layout: laxis_override :: forall x_a1iLH. Lens' (LayoutAxis x_a1iLH) (AxisData x_a1iLH -> AxisData x_a1iLH)
+ Graphics.Rendering.Chart.Layout: laxis_override :: forall x_a1jZP. Lens' (LayoutAxis x_a1jZP) (AxisData x_a1jZP -> AxisData x_a1jZP)
- Graphics.Rendering.Chart.Layout: laxis_reverse :: forall x_a1iLH. Lens' (LayoutAxis x_a1iLH) Bool
+ Graphics.Rendering.Chart.Layout: laxis_reverse :: forall x_a1jZP. Lens' (LayoutAxis x_a1jZP) Bool
- Graphics.Rendering.Chart.Layout: laxis_style :: forall x_a1iLH. Lens' (LayoutAxis x_a1iLH) AxisStyle
+ Graphics.Rendering.Chart.Layout: laxis_style :: forall x_a1jZP. Lens' (LayoutAxis x_a1jZP) AxisStyle
- Graphics.Rendering.Chart.Layout: laxis_title :: forall x_a1iLH. Lens' (LayoutAxis x_a1iLH) String
+ Graphics.Rendering.Chart.Layout: laxis_title :: forall x_a1jZP. Lens' (LayoutAxis x_a1jZP) String
- Graphics.Rendering.Chart.Layout: laxis_title_style :: forall x_a1iLH. Lens' (LayoutAxis x_a1iLH) FontStyle
+ Graphics.Rendering.Chart.Layout: laxis_title_style :: forall x_a1jZP. Lens' (LayoutAxis x_a1jZP) FontStyle
- Graphics.Rendering.Chart.Layout: layout_background :: forall x_a1iLC y_a1iLD. Lens' (Layout x_a1iLC y_a1iLD) FillStyle
+ Graphics.Rendering.Chart.Layout: layout_background :: forall x_a1jZK y_a1jZL. Lens' (Layout x_a1jZK y_a1jZL) FillStyle
- Graphics.Rendering.Chart.Layout: layout_bottom_axis_visibility :: forall x_a1iLC y_a1iLD. Lens' (Layout x_a1iLC y_a1iLD) AxisVisibility
+ Graphics.Rendering.Chart.Layout: layout_bottom_axis_visibility :: forall x_a1jZK y_a1jZL. Lens' (Layout x_a1jZK y_a1jZL) AxisVisibility
- Graphics.Rendering.Chart.Layout: layout_grid_last :: forall x_a1iLC y_a1iLD. Lens' (Layout x_a1iLC y_a1iLD) Bool
+ Graphics.Rendering.Chart.Layout: layout_grid_last :: forall x_a1jZK y_a1jZL. Lens' (Layout x_a1jZK y_a1jZL) Bool
- Graphics.Rendering.Chart.Layout: layout_left_axis_visibility :: forall x_a1iLC y_a1iLD. Lens' (Layout x_a1iLC y_a1iLD) AxisVisibility
+ Graphics.Rendering.Chart.Layout: layout_left_axis_visibility :: forall x_a1jZK y_a1jZL. Lens' (Layout x_a1jZK y_a1jZL) AxisVisibility
- Graphics.Rendering.Chart.Layout: layout_legend :: forall x_a1iLC y_a1iLD. Lens' (Layout x_a1iLC y_a1iLD) (Maybe LegendStyle)
+ Graphics.Rendering.Chart.Layout: layout_legend :: forall x_a1jZK y_a1jZL. Lens' (Layout x_a1jZK y_a1jZL) (Maybe LegendStyle)
- Graphics.Rendering.Chart.Layout: layout_margin :: forall x_a1iLC y_a1iLD. Lens' (Layout x_a1iLC y_a1iLD) Double
+ Graphics.Rendering.Chart.Layout: layout_margin :: forall x_a1jZK y_a1jZL. Lens' (Layout x_a1jZK y_a1jZL) Double
- Graphics.Rendering.Chart.Layout: layout_plot_background :: forall x_a1iLC y_a1iLD. Lens' (Layout x_a1iLC y_a1iLD) (Maybe FillStyle)
+ Graphics.Rendering.Chart.Layout: layout_plot_background :: forall x_a1jZK y_a1jZL. Lens' (Layout x_a1jZK y_a1jZL) (Maybe FillStyle)
- Graphics.Rendering.Chart.Layout: layout_plots :: forall x_a1iLC y_a1iLD. Lens' (Layout x_a1iLC y_a1iLD) [Plot x_a1iLC y_a1iLD]
+ Graphics.Rendering.Chart.Layout: layout_plots :: forall x_a1jZK y_a1jZL. Lens' (Layout x_a1jZK y_a1jZL) [Plot x_a1jZK y_a1jZL]
- Graphics.Rendering.Chart.Layout: layout_right_axis_visibility :: forall x_a1iLC y_a1iLD. Lens' (Layout x_a1iLC y_a1iLD) AxisVisibility
+ Graphics.Rendering.Chart.Layout: layout_right_axis_visibility :: forall x_a1jZK y_a1jZL. Lens' (Layout x_a1jZK y_a1jZL) AxisVisibility
- Graphics.Rendering.Chart.Layout: layout_title :: forall x_a1iLC y_a1iLD. Lens' (Layout x_a1iLC y_a1iLD) String
+ Graphics.Rendering.Chart.Layout: layout_title :: forall x_a1jZK y_a1jZL. Lens' (Layout x_a1jZK y_a1jZL) String
- Graphics.Rendering.Chart.Layout: layout_title_style :: forall x_a1iLC y_a1iLD. Lens' (Layout x_a1iLC y_a1iLD) FontStyle
+ Graphics.Rendering.Chart.Layout: layout_title_style :: forall x_a1jZK y_a1jZL. Lens' (Layout x_a1jZK y_a1jZL) FontStyle
- Graphics.Rendering.Chart.Layout: layout_top_axis_visibility :: forall x_a1iLC y_a1iLD. Lens' (Layout x_a1iLC y_a1iLD) AxisVisibility
+ Graphics.Rendering.Chart.Layout: layout_top_axis_visibility :: forall x_a1jZK y_a1jZL. Lens' (Layout x_a1jZK y_a1jZL) AxisVisibility
- Graphics.Rendering.Chart.Layout: layout_x_axis :: forall x_a1iLC y_a1iLD. Lens' (Layout x_a1iLC y_a1iLD) (LayoutAxis x_a1iLC)
+ Graphics.Rendering.Chart.Layout: layout_x_axis :: forall x_a1jZK y_a1jZL. Lens' (Layout x_a1jZK y_a1jZL) (LayoutAxis x_a1jZK)
- Graphics.Rendering.Chart.Layout: layout_y_axis :: forall x_a1iLC y_a1iLD. Lens' (Layout x_a1iLC y_a1iLD) (LayoutAxis y_a1iLD)
+ Graphics.Rendering.Chart.Layout: layout_y_axis :: forall x_a1jZK y_a1jZL. Lens' (Layout x_a1jZK y_a1jZL) (LayoutAxis y_a1jZL)
- Graphics.Rendering.Chart.Layout: layoutlr_background :: forall x_a1iLz y1_a1iLA y2_a1iLB. Lens' (LayoutLR x_a1iLz y1_a1iLA y2_a1iLB) FillStyle
+ Graphics.Rendering.Chart.Layout: layoutlr_background :: forall x_a1jZH y1_a1jZI y2_a1jZJ. Lens' (LayoutLR x_a1jZH y1_a1jZI y2_a1jZJ) FillStyle
- Graphics.Rendering.Chart.Layout: layoutlr_bottom_axis_visibility :: forall x_a1iLz y1_a1iLA y2_a1iLB. Lens' (LayoutLR x_a1iLz y1_a1iLA y2_a1iLB) AxisVisibility
+ Graphics.Rendering.Chart.Layout: layoutlr_bottom_axis_visibility :: forall x_a1jZH y1_a1jZI y2_a1jZJ. Lens' (LayoutLR x_a1jZH y1_a1jZI y2_a1jZJ) AxisVisibility
- Graphics.Rendering.Chart.Layout: layoutlr_grid_last :: forall x_a1iLz y1_a1iLA y2_a1iLB. Lens' (LayoutLR x_a1iLz y1_a1iLA y2_a1iLB) Bool
+ Graphics.Rendering.Chart.Layout: layoutlr_grid_last :: forall x_a1jZH y1_a1jZI y2_a1jZJ. Lens' (LayoutLR x_a1jZH y1_a1jZI y2_a1jZJ) Bool
- Graphics.Rendering.Chart.Layout: layoutlr_left_axis :: forall x_a1iLz y1_a1iLA y2_a1iLB. Lens' (LayoutLR x_a1iLz y1_a1iLA y2_a1iLB) (LayoutAxis y1_a1iLA)
+ Graphics.Rendering.Chart.Layout: layoutlr_left_axis :: forall x_a1jZH y1_a1jZI y2_a1jZJ. Lens' (LayoutLR x_a1jZH y1_a1jZI y2_a1jZJ) (LayoutAxis y1_a1jZI)
- Graphics.Rendering.Chart.Layout: layoutlr_left_axis_visibility :: forall x_a1iLz y1_a1iLA y2_a1iLB. Lens' (LayoutLR x_a1iLz y1_a1iLA y2_a1iLB) AxisVisibility
+ Graphics.Rendering.Chart.Layout: layoutlr_left_axis_visibility :: forall x_a1jZH y1_a1jZI y2_a1jZJ. Lens' (LayoutLR x_a1jZH y1_a1jZI y2_a1jZJ) AxisVisibility
- Graphics.Rendering.Chart.Layout: layoutlr_legend :: forall x_a1iLz y1_a1iLA y2_a1iLB. Lens' (LayoutLR x_a1iLz y1_a1iLA y2_a1iLB) (Maybe LegendStyle)
+ Graphics.Rendering.Chart.Layout: layoutlr_legend :: forall x_a1jZH y1_a1jZI y2_a1jZJ. Lens' (LayoutLR x_a1jZH y1_a1jZI y2_a1jZJ) (Maybe LegendStyle)
- Graphics.Rendering.Chart.Layout: layoutlr_margin :: forall x_a1iLz y1_a1iLA y2_a1iLB. Lens' (LayoutLR x_a1iLz y1_a1iLA y2_a1iLB) Double
+ Graphics.Rendering.Chart.Layout: layoutlr_margin :: forall x_a1jZH y1_a1jZI y2_a1jZJ. Lens' (LayoutLR x_a1jZH y1_a1jZI y2_a1jZJ) Double
- Graphics.Rendering.Chart.Layout: layoutlr_plot_background :: forall x_a1iLz y1_a1iLA y2_a1iLB. Lens' (LayoutLR x_a1iLz y1_a1iLA y2_a1iLB) (Maybe FillStyle)
+ Graphics.Rendering.Chart.Layout: layoutlr_plot_background :: forall x_a1jZH y1_a1jZI y2_a1jZJ. Lens' (LayoutLR x_a1jZH y1_a1jZI y2_a1jZJ) (Maybe FillStyle)
- Graphics.Rendering.Chart.Layout: layoutlr_plots :: forall x_a1iLz y1_a1iLA y2_a1iLB. Lens' (LayoutLR x_a1iLz y1_a1iLA y2_a1iLB) [Either (Plot x_a1iLz y1_a1iLA) (Plot x_a1iLz y2_a1iLB)]
+ Graphics.Rendering.Chart.Layout: layoutlr_plots :: forall x_a1jZH y1_a1jZI y2_a1jZJ. Lens' (LayoutLR x_a1jZH y1_a1jZI y2_a1jZJ) [Either (Plot x_a1jZH y1_a1jZI) (Plot x_a1jZH y2_a1jZJ)]
- Graphics.Rendering.Chart.Layout: layoutlr_right_axis :: forall x_a1iLz y1_a1iLA y2_a1iLB. Lens' (LayoutLR x_a1iLz y1_a1iLA y2_a1iLB) (LayoutAxis y2_a1iLB)
+ Graphics.Rendering.Chart.Layout: layoutlr_right_axis :: forall x_a1jZH y1_a1jZI y2_a1jZJ. Lens' (LayoutLR x_a1jZH y1_a1jZI y2_a1jZJ) (LayoutAxis y2_a1jZJ)
- Graphics.Rendering.Chart.Layout: layoutlr_right_axis_visibility :: forall x_a1iLz y1_a1iLA y2_a1iLB. Lens' (LayoutLR x_a1iLz y1_a1iLA y2_a1iLB) AxisVisibility
+ Graphics.Rendering.Chart.Layout: layoutlr_right_axis_visibility :: forall x_a1jZH y1_a1jZI y2_a1jZJ. Lens' (LayoutLR x_a1jZH y1_a1jZI y2_a1jZJ) AxisVisibility
- Graphics.Rendering.Chart.Layout: layoutlr_title :: forall x_a1iLz y1_a1iLA y2_a1iLB. Lens' (LayoutLR x_a1iLz y1_a1iLA y2_a1iLB) String
+ Graphics.Rendering.Chart.Layout: layoutlr_title :: forall x_a1jZH y1_a1jZI y2_a1jZJ. Lens' (LayoutLR x_a1jZH y1_a1jZI y2_a1jZJ) String
- Graphics.Rendering.Chart.Layout: layoutlr_title_style :: forall x_a1iLz y1_a1iLA y2_a1iLB. Lens' (LayoutLR x_a1iLz y1_a1iLA y2_a1iLB) FontStyle
+ Graphics.Rendering.Chart.Layout: layoutlr_title_style :: forall x_a1jZH y1_a1jZI y2_a1jZJ. Lens' (LayoutLR x_a1jZH y1_a1jZI y2_a1jZJ) FontStyle
- Graphics.Rendering.Chart.Layout: layoutlr_top_axis_visibility :: forall x_a1iLz y1_a1iLA y2_a1iLB. Lens' (LayoutLR x_a1iLz y1_a1iLA y2_a1iLB) AxisVisibility
+ Graphics.Rendering.Chart.Layout: layoutlr_top_axis_visibility :: forall x_a1jZH y1_a1jZI y2_a1jZJ. Lens' (LayoutLR x_a1jZH y1_a1jZI y2_a1jZJ) AxisVisibility
- Graphics.Rendering.Chart.Layout: layoutlr_x_axis :: forall x_a1iLz y1_a1iLA y2_a1iLB. Lens' (LayoutLR x_a1iLz y1_a1iLA y2_a1iLB) (LayoutAxis x_a1iLz)
+ Graphics.Rendering.Chart.Layout: layoutlr_x_axis :: forall x_a1jZH y1_a1jZI y2_a1jZJ. Lens' (LayoutLR x_a1jZH y1_a1jZI y2_a1jZJ) (LayoutAxis x_a1jZH)
- Graphics.Rendering.Chart.Layout: slayouts_compress_legend :: forall x_a1iLu. Lens' (StackedLayouts x_a1iLu) Bool
+ Graphics.Rendering.Chart.Layout: slayouts_compress_legend :: forall x_a1jZC. Lens' (StackedLayouts x_a1jZC) Bool
- Graphics.Rendering.Chart.Layout: slayouts_layouts :: forall x_a1iLu x_a1kmW. Lens (StackedLayouts x_a1iLu) (StackedLayouts x_a1kmW) [StackedLayout x_a1iLu] [StackedLayout x_a1kmW]
+ Graphics.Rendering.Chart.Layout: slayouts_layouts :: forall x_a1jZC x_a1lB4. Lens (StackedLayouts x_a1jZC) (StackedLayouts x_a1lB4) [StackedLayout x_a1jZC] [StackedLayout x_a1lB4]
- Graphics.Rendering.Chart.Plot.Annotation: PlotAnnotation :: HTextAnchor -> VTextAnchor -> Double -> FontStyle -> [(x, y, String)] -> PlotAnnotation x y
+ Graphics.Rendering.Chart.Plot.Annotation: PlotAnnotation :: HTextAnchor -> VTextAnchor -> Double -> FontStyle -> Rectangle -> [(x, y, String)] -> PlotAnnotation x y
- Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_angle :: forall x_awRR y_awRS. Lens' (PlotAnnotation x_awRR y_awRS) Double
+ Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_angle :: forall x_aCKw y_aCKx. Lens' (PlotAnnotation x_aCKw y_aCKx) Double
- Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_hanchor :: forall x_awRR y_awRS. Lens' (PlotAnnotation x_awRR y_awRS) HTextAnchor
+ Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_hanchor :: forall x_aCKw y_aCKx. Lens' (PlotAnnotation x_aCKw y_aCKx) HTextAnchor
- Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_style :: forall x_awRR y_awRS. Lens' (PlotAnnotation x_awRR y_awRS) FontStyle
+ Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_style :: forall x_aCKw y_aCKx. Lens' (PlotAnnotation x_aCKw y_aCKx) FontStyle
- Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_values :: forall x_awRR y_awRS x_axaE y_axaF. Lens (PlotAnnotation x_awRR y_awRS) (PlotAnnotation x_axaE y_axaF) [(x_awRR, y_awRS, String)] [(x_axaE, y_axaF, String)]
+ Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_values :: forall x_aCKw y_aCKx x_aD6n y_aD6o. Lens (PlotAnnotation x_aCKw y_aCKx) (PlotAnnotation x_aD6n y_aD6o) [(x_aCKw, y_aCKx, String)] [(x_aD6n, y_aD6o, String)]
- Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_vanchor :: forall x_awRR y_awRS. Lens' (PlotAnnotation x_awRR y_awRS) VTextAnchor
+ Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_vanchor :: forall x_aCKw y_aCKx. Lens' (PlotAnnotation x_aCKw y_aCKx) VTextAnchor
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_linethick :: forall z_a1cKc t_a1cKd x_a1cKe y_a1cKf. Lens' (AreaSpots4D z_a1cKc t_a1cKd x_a1cKe y_a1cKf) Double
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_linethick :: forall z_a1dYk t_a1dYl x_a1dYm y_a1dYn. Lens' (AreaSpots4D z_a1dYk t_a1dYl x_a1dYm y_a1dYn) Double
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_max_radius :: forall z_a1cKc t_a1cKd x_a1cKe y_a1cKf. Lens' (AreaSpots4D z_a1cKc t_a1cKd x_a1cKe y_a1cKf) Double
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_max_radius :: forall z_a1dYk t_a1dYl x_a1dYm y_a1dYn. Lens' (AreaSpots4D z_a1dYk t_a1dYl x_a1dYm y_a1dYn) Double
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_opacity :: forall z_a1cKc t_a1cKd x_a1cKe y_a1cKf. Lens' (AreaSpots4D z_a1cKc t_a1cKd x_a1cKe y_a1cKf) Double
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_opacity :: forall z_a1dYk t_a1dYl x_a1dYm y_a1dYn. Lens' (AreaSpots4D z_a1dYk t_a1dYl x_a1dYm y_a1dYn) Double
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_palette :: forall z_a1cKc t_a1cKd x_a1cKe y_a1cKf. Lens' (AreaSpots4D z_a1cKc t_a1cKd x_a1cKe y_a1cKf) [Colour Double]
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_palette :: forall z_a1dYk t_a1dYl x_a1dYm y_a1dYn. Lens' (AreaSpots4D z_a1dYk t_a1dYl x_a1dYm y_a1dYn) [Colour Double]
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_title :: forall z_a1cKc t_a1cKd x_a1cKe y_a1cKf. Lens' (AreaSpots4D z_a1cKc t_a1cKd x_a1cKe y_a1cKf) String
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_title :: forall z_a1dYk t_a1dYl x_a1dYm y_a1dYn. Lens' (AreaSpots4D z_a1dYk t_a1dYl x_a1dYm y_a1dYn) String
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_values :: forall z_a1cKc t_a1cKd x_a1cKe y_a1cKf z_a1dco t_a1dcp x_a1dcq y_a1dcr. Lens (AreaSpots4D z_a1cKc t_a1cKd x_a1cKe y_a1cKf) (AreaSpots4D z_a1dco t_a1dcp x_a1dcq y_a1dcr) [(x_a1cKe, y_a1cKf, z_a1cKc, t_a1cKd)] [(x_a1dcq, y_a1dcr, z_a1dco, t_a1dcp)]
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_values :: forall z_a1dYk t_a1dYl x_a1dYm y_a1dYn z_a1eqw t_a1eqx x_a1eqy y_a1eqz. Lens (AreaSpots4D z_a1dYk t_a1dYl x_a1dYm y_a1dYn) (AreaSpots4D z_a1eqw t_a1eqx x_a1eqy y_a1eqz) [(x_a1dYm, y_a1dYn, z_a1dYk, t_a1dYl)] [(x_a1eqy, y_a1eqz, z_a1eqw, t_a1eqx)]
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_fillcolour :: forall z_a1cKg x_a1cKh y_a1cKi. Lens' (AreaSpots z_a1cKg x_a1cKh y_a1cKi) (Colour Double)
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_fillcolour :: forall z_a1dYo x_a1dYp y_a1dYq. Lens' (AreaSpots z_a1dYo x_a1dYp y_a1dYq) (Colour Double)
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_linecolour :: forall z_a1cKg x_a1cKh y_a1cKi. Lens' (AreaSpots z_a1cKg x_a1cKh y_a1cKi) (AlphaColour Double)
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_linecolour :: forall z_a1dYo x_a1dYp y_a1dYq. Lens' (AreaSpots z_a1dYo x_a1dYp y_a1dYq) (AlphaColour Double)
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_linethick :: forall z_a1cKg x_a1cKh y_a1cKi. Lens' (AreaSpots z_a1cKg x_a1cKh y_a1cKi) Double
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_linethick :: forall z_a1dYo x_a1dYp y_a1dYq. Lens' (AreaSpots z_a1dYo x_a1dYp y_a1dYq) Double
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_max_radius :: forall z_a1cKg x_a1cKh y_a1cKi. Lens' (AreaSpots z_a1cKg x_a1cKh y_a1cKi) Double
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_max_radius :: forall z_a1dYo x_a1dYp y_a1dYq. Lens' (AreaSpots z_a1dYo x_a1dYp y_a1dYq) Double
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_opacity :: forall z_a1cKg x_a1cKh y_a1cKi. Lens' (AreaSpots z_a1cKg x_a1cKh y_a1cKi) Double
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_opacity :: forall z_a1dYo x_a1dYp y_a1dYq. Lens' (AreaSpots z_a1dYo x_a1dYp y_a1dYq) Double
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_title :: forall z_a1cKg x_a1cKh y_a1cKi. Lens' (AreaSpots z_a1cKg x_a1cKh y_a1cKi) String
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_title :: forall z_a1dYo x_a1dYp y_a1dYq. Lens' (AreaSpots z_a1dYo x_a1dYp y_a1dYq) String
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_values :: forall z_a1cKg x_a1cKh y_a1cKi z_a1d74 x_a1d75 y_a1d76. Lens (AreaSpots z_a1cKg x_a1cKh y_a1cKi) (AreaSpots z_a1d74 x_a1d75 y_a1d76) [(x_a1cKh, y_a1cKi, z_a1cKg)] [(x_a1d75, y_a1d76, z_a1d74)]
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_values :: forall z_a1dYo x_a1dYp y_a1dYq z_a1elc x_a1eld y_a1ele. Lens (AreaSpots z_a1dYo x_a1dYp y_a1dYq) (AreaSpots z_a1elc x_a1eld y_a1ele) [(x_a1dYp, y_a1dYq, z_a1dYo)] [(x_a1eld, y_a1ele, z_a1elc)]
- Graphics.Rendering.Chart.Plot.Bars: plot_bars_alignment :: forall x_a1acf y_a1acg. Lens' (PlotBars x_a1acf y_a1acg) PlotBarsAlignment
+ Graphics.Rendering.Chart.Plot.Bars: plot_bars_alignment :: forall x_a1bqn y_a1bqo. Lens' (PlotBars x_a1bqn y_a1bqo) PlotBarsAlignment
- Graphics.Rendering.Chart.Plot.Bars: plot_bars_item_styles :: forall x_a1acf y_a1acg. Lens' (PlotBars x_a1acf y_a1acg) [(FillStyle, Maybe LineStyle)]
+ Graphics.Rendering.Chart.Plot.Bars: plot_bars_item_styles :: forall x_a1bqn y_a1bqo. Lens' (PlotBars x_a1bqn y_a1bqo) [(FillStyle, Maybe LineStyle)]
- Graphics.Rendering.Chart.Plot.Bars: plot_bars_reference :: forall x_a1acf y_a1acg. Lens' (PlotBars x_a1acf y_a1acg) y_a1acg
+ Graphics.Rendering.Chart.Plot.Bars: plot_bars_reference :: forall x_a1bqn y_a1bqo. Lens' (PlotBars x_a1bqn y_a1bqo) y_a1bqo
- Graphics.Rendering.Chart.Plot.Bars: plot_bars_singleton_width :: forall x_a1acf y_a1acg. Lens' (PlotBars x_a1acf y_a1acg) Double
+ Graphics.Rendering.Chart.Plot.Bars: plot_bars_singleton_width :: forall x_a1bqn y_a1bqo. Lens' (PlotBars x_a1bqn y_a1bqo) Double
- Graphics.Rendering.Chart.Plot.Bars: plot_bars_spacing :: forall x_a1acf y_a1acg. Lens' (PlotBars x_a1acf y_a1acg) PlotBarsSpacing
+ Graphics.Rendering.Chart.Plot.Bars: plot_bars_spacing :: forall x_a1bqn y_a1bqo. Lens' (PlotBars x_a1bqn y_a1bqo) PlotBarsSpacing
- Graphics.Rendering.Chart.Plot.Bars: plot_bars_style :: forall x_a1acf y_a1acg. Lens' (PlotBars x_a1acf y_a1acg) PlotBarsStyle
+ Graphics.Rendering.Chart.Plot.Bars: plot_bars_style :: forall x_a1bqn y_a1bqo. Lens' (PlotBars x_a1bqn y_a1bqo) PlotBarsStyle
- Graphics.Rendering.Chart.Plot.Bars: plot_bars_titles :: forall x_a1acf y_a1acg. Lens' (PlotBars x_a1acf y_a1acg) [String]
+ Graphics.Rendering.Chart.Plot.Bars: plot_bars_titles :: forall x_a1bqn y_a1bqo. Lens' (PlotBars x_a1bqn y_a1bqo) [String]
- Graphics.Rendering.Chart.Plot.Bars: plot_bars_values :: forall x_a1acf y_a1acg x_a1avo. Lens (PlotBars x_a1acf y_a1acg) (PlotBars x_a1avo y_a1acg) [(x_a1acf, [y_a1acg])] [(x_a1avo, [y_a1acg])]
+ Graphics.Rendering.Chart.Plot.Bars: plot_bars_values :: forall x_a1bqn y_a1bqo x_a1bJw. Lens (PlotBars x_a1bqn y_a1bqo) (PlotBars x_a1bJw y_a1bqo) [(x_a1bqn, [y_a1bqo])] [(x_a1bJw, [y_a1bqo])]
- Graphics.Rendering.Chart.Plot.Candle: plot_candle_centre :: forall x_auqG y_auqH. Lens' (PlotCandle x_auqG y_auqH) Double
+ Graphics.Rendering.Chart.Plot.Candle: plot_candle_centre :: forall x_av3y y_av3z. Lens' (PlotCandle x_av3y y_av3z) Double
- Graphics.Rendering.Chart.Plot.Candle: plot_candle_fall_fill_style :: forall x_auqG y_auqH. Lens' (PlotCandle x_auqG y_auqH) FillStyle
+ Graphics.Rendering.Chart.Plot.Candle: plot_candle_fall_fill_style :: forall x_av3y y_av3z. Lens' (PlotCandle x_av3y y_av3z) FillStyle
- Graphics.Rendering.Chart.Plot.Candle: plot_candle_fill :: forall x_auqG y_auqH. Lens' (PlotCandle x_auqG y_auqH) Bool
+ Graphics.Rendering.Chart.Plot.Candle: plot_candle_fill :: forall x_av3y y_av3z. Lens' (PlotCandle x_av3y y_av3z) Bool
- Graphics.Rendering.Chart.Plot.Candle: plot_candle_line_style :: forall x_auqG y_auqH. Lens' (PlotCandle x_auqG y_auqH) LineStyle
+ Graphics.Rendering.Chart.Plot.Candle: plot_candle_line_style :: forall x_av3y y_av3z. Lens' (PlotCandle x_av3y y_av3z) LineStyle
- Graphics.Rendering.Chart.Plot.Candle: plot_candle_rise_fill_style :: forall x_auqG y_auqH. Lens' (PlotCandle x_auqG y_auqH) FillStyle
+ Graphics.Rendering.Chart.Plot.Candle: plot_candle_rise_fill_style :: forall x_av3y y_av3z. Lens' (PlotCandle x_av3y y_av3z) FillStyle
- Graphics.Rendering.Chart.Plot.Candle: plot_candle_tick_length :: forall x_auqG y_auqH. Lens' (PlotCandle x_auqG y_auqH) Double
+ Graphics.Rendering.Chart.Plot.Candle: plot_candle_tick_length :: forall x_av3y y_av3z. Lens' (PlotCandle x_av3y y_av3z) Double
- Graphics.Rendering.Chart.Plot.Candle: plot_candle_title :: forall x_auqG y_auqH. Lens' (PlotCandle x_auqG y_auqH) String
+ Graphics.Rendering.Chart.Plot.Candle: plot_candle_title :: forall x_av3y y_av3z. Lens' (PlotCandle x_av3y y_av3z) String
- Graphics.Rendering.Chart.Plot.Candle: plot_candle_values :: forall x_auqG y_auqH x_auE4 y_auE5. Lens (PlotCandle x_auqG y_auqH) (PlotCandle x_auE4 y_auE5) [Candle x_auqG y_auqH] [Candle x_auE4 y_auE5]
+ Graphics.Rendering.Chart.Plot.Candle: plot_candle_values :: forall x_av3y y_av3z x_avgW y_avgX. Lens (PlotCandle x_av3y y_av3z) (PlotCandle x_avgW y_avgX) [Candle x_av3y y_av3z] [Candle x_avgW y_avgX]
- Graphics.Rendering.Chart.Plot.Candle: plot_candle_width :: forall x_auqG y_auqH. Lens' (PlotCandle x_auqG y_auqH) Double
+ Graphics.Rendering.Chart.Plot.Candle: plot_candle_width :: forall x_av3y y_av3z. Lens' (PlotCandle x_av3y y_av3z) Double
- Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_line_style :: forall x_asp7 y_asp8. Lens' (PlotErrBars x_asp7 y_asp8) LineStyle
+ Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_line_style :: forall x_at1X y_at1Y. Lens' (PlotErrBars x_at1X y_at1Y) LineStyle
- Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_overhang :: forall x_asp7 y_asp8. Lens' (PlotErrBars x_asp7 y_asp8) Double
+ Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_overhang :: forall x_at1X y_at1Y. Lens' (PlotErrBars x_at1X y_at1Y) Double
- Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_tick_length :: forall x_asp7 y_asp8. Lens' (PlotErrBars x_asp7 y_asp8) Double
+ Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_tick_length :: forall x_at1X y_at1Y. Lens' (PlotErrBars x_at1X y_at1Y) Double
- Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_title :: forall x_asp7 y_asp8. Lens' (PlotErrBars x_asp7 y_asp8) String
+ Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_title :: forall x_at1X y_at1Y. Lens' (PlotErrBars x_at1X y_at1Y) String
- Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_values :: forall x_asp7 y_asp8 x_asC2 y_asC3. Lens (PlotErrBars x_asp7 y_asp8) (PlotErrBars x_asC2 y_asC3) [ErrPoint x_asp7 y_asp8] [ErrPoint x_asC2 y_asC3]
+ Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_values :: forall x_at1X y_at1Y x_ateU y_ateV. Lens (PlotErrBars x_at1X y_at1Y) (PlotErrBars x_ateU y_ateV) [ErrPoint x_at1X y_at1Y] [ErrPoint x_ateU y_ateV]
- Graphics.Rendering.Chart.Plot.FillBetween: plot_fillbetween_style :: forall x_arI8 y_arI9. Lens' (PlotFillBetween x_arI8 y_arI9) FillStyle
+ Graphics.Rendering.Chart.Plot.FillBetween: plot_fillbetween_style :: forall x_askY y_askZ. Lens' (PlotFillBetween x_askY y_askZ) FillStyle
- Graphics.Rendering.Chart.Plot.FillBetween: plot_fillbetween_title :: forall x_arI8 y_arI9. Lens' (PlotFillBetween x_arI8 y_arI9) String
+ Graphics.Rendering.Chart.Plot.FillBetween: plot_fillbetween_title :: forall x_askY y_askZ. Lens' (PlotFillBetween x_askY y_askZ) String
- Graphics.Rendering.Chart.Plot.FillBetween: plot_fillbetween_values :: forall x_arI8 y_arI9 x_arMX y_arMY. Lens (PlotFillBetween x_arI8 y_arI9) (PlotFillBetween x_arMX y_arMY) [(x_arI8, (y_arI9, y_arI9))] [(x_arMX, (y_arMY, y_arMY))]
+ Graphics.Rendering.Chart.Plot.FillBetween: plot_fillbetween_values :: forall x_askY y_askZ x_aspN y_aspO. Lens (PlotFillBetween x_askY y_askZ) (PlotFillBetween x_aspN y_aspO) [(x_askY, (y_askZ, y_askZ))] [(x_aspN, (y_aspO, y_aspO))]
- Graphics.Rendering.Chart.Plot.Hidden: plot_hidden_x_values :: forall x_arwk y_arwl x_arxk. Lens (PlotHidden x_arwk y_arwl) (PlotHidden x_arxk y_arwl) [x_arwk] [x_arxk]
+ Graphics.Rendering.Chart.Plot.Hidden: plot_hidden_x_values :: forall x_as9a y_as9b x_asaa. Lens (PlotHidden x_as9a y_as9b) (PlotHidden x_asaa y_as9b) [x_as9a] [x_asaa]
- Graphics.Rendering.Chart.Plot.Hidden: plot_hidden_y_values :: forall x_arwk y_arwl y_arxl. Lens (PlotHidden x_arwk y_arwl) (PlotHidden x_arwk y_arxl) [y_arwl] [y_arxl]
+ Graphics.Rendering.Chart.Plot.Hidden: plot_hidden_y_values :: forall x_as9a y_as9b y_asab. Lens (PlotHidden x_as9a y_as9b) (PlotHidden x_as9a y_asab) [y_as9b] [y_asab]
- Graphics.Rendering.Chart.Plot.Histogram: plot_hist_bins :: forall x_a1gNr y_a1gNs. Lens' (PlotHist x_a1gNr y_a1gNs) Int
+ Graphics.Rendering.Chart.Plot.Histogram: plot_hist_bins :: forall x_a1i1z y_a1i1A. Lens' (PlotHist x_a1i1z y_a1i1A) Int
- Graphics.Rendering.Chart.Plot.Histogram: plot_hist_drop_lines :: forall x_a1gNr y_a1gNs. Lens' (PlotHist x_a1gNr y_a1gNs) Bool
+ Graphics.Rendering.Chart.Plot.Histogram: plot_hist_drop_lines :: forall x_a1i1z y_a1i1A. Lens' (PlotHist x_a1i1z y_a1i1A) Bool
- Graphics.Rendering.Chart.Plot.Histogram: plot_hist_fill_style :: forall x_a1gNr y_a1gNs. Lens' (PlotHist x_a1gNr y_a1gNs) FillStyle
+ Graphics.Rendering.Chart.Plot.Histogram: plot_hist_fill_style :: forall x_a1i1z y_a1i1A. Lens' (PlotHist x_a1i1z y_a1i1A) FillStyle
- Graphics.Rendering.Chart.Plot.Histogram: plot_hist_line_style :: forall x_a1gNr y_a1gNs. Lens' (PlotHist x_a1gNr y_a1gNs) LineStyle
+ Graphics.Rendering.Chart.Plot.Histogram: plot_hist_line_style :: forall x_a1i1z y_a1i1A. Lens' (PlotHist x_a1i1z y_a1i1A) LineStyle
- Graphics.Rendering.Chart.Plot.Histogram: plot_hist_no_zeros :: forall x_a1gNr y_a1gNs. Lens' (PlotHist x_a1gNr y_a1gNs) Bool
+ Graphics.Rendering.Chart.Plot.Histogram: plot_hist_no_zeros :: forall x_a1i1z y_a1i1A. Lens' (PlotHist x_a1i1z y_a1i1A) Bool
- Graphics.Rendering.Chart.Plot.Histogram: plot_hist_norm_func :: forall x_a1gNr y_a1gNs y_a1h1z. Lens (PlotHist x_a1gNr y_a1gNs) (PlotHist x_a1gNr y_a1h1z) (Double -> Int -> y_a1gNs) (Double -> Int -> y_a1h1z)
+ Graphics.Rendering.Chart.Plot.Histogram: plot_hist_norm_func :: forall x_a1i1z y_a1i1A y_a1ifH. Lens (PlotHist x_a1i1z y_a1i1A) (PlotHist x_a1i1z y_a1ifH) (Double -> Int -> y_a1i1A) (Double -> Int -> y_a1ifH)
- Graphics.Rendering.Chart.Plot.Histogram: plot_hist_range :: forall x_a1gNr y_a1gNs. Lens' (PlotHist x_a1gNr y_a1gNs) (Maybe (x_a1gNr, x_a1gNr))
+ Graphics.Rendering.Chart.Plot.Histogram: plot_hist_range :: forall x_a1i1z y_a1i1A. Lens' (PlotHist x_a1i1z y_a1i1A) (Maybe (x_a1i1z, x_a1i1z))
- Graphics.Rendering.Chart.Plot.Histogram: plot_hist_title :: forall x_a1gNr y_a1gNs. Lens' (PlotHist x_a1gNr y_a1gNs) String
+ Graphics.Rendering.Chart.Plot.Histogram: plot_hist_title :: forall x_a1i1z y_a1i1A. Lens' (PlotHist x_a1i1z y_a1i1A) String
- Graphics.Rendering.Chart.Plot.Histogram: plot_hist_values :: forall x_a1gNr y_a1gNs. Lens' (PlotHist x_a1gNr y_a1gNs) [x_a1gNr]
+ Graphics.Rendering.Chart.Plot.Histogram: plot_hist_values :: forall x_a1i1z y_a1i1A. Lens' (PlotHist x_a1i1z y_a1i1A) [x_a1i1z]
- Graphics.Rendering.Chart.Plot.Lines: plot_lines_limit_values :: forall x_aqGG y_aqGH. Lens' (PlotLines x_aqGG y_aqGH) [[(Limit x_aqGG, Limit y_aqGH)]]
+ Graphics.Rendering.Chart.Plot.Lines: plot_lines_limit_values :: forall x_arjw y_arjx. Lens' (PlotLines x_arjw y_arjx) [[(Limit x_arjw, Limit y_arjx)]]
- Graphics.Rendering.Chart.Plot.Lines: plot_lines_style :: forall x_aqGG y_aqGH. Lens' (PlotLines x_aqGG y_aqGH) LineStyle
+ Graphics.Rendering.Chart.Plot.Lines: plot_lines_style :: forall x_arjw y_arjx. Lens' (PlotLines x_arjw y_arjx) LineStyle
- Graphics.Rendering.Chart.Plot.Lines: plot_lines_title :: forall x_aqGG y_aqGH. Lens' (PlotLines x_aqGG y_aqGH) String
+ Graphics.Rendering.Chart.Plot.Lines: plot_lines_title :: forall x_arjw y_arjx. Lens' (PlotLines x_arjw y_arjx) String
- Graphics.Rendering.Chart.Plot.Lines: plot_lines_values :: forall x_aqGG y_aqGH. Lens' (PlotLines x_aqGG y_aqGH) [[(x_aqGG, y_aqGH)]]
+ Graphics.Rendering.Chart.Plot.Lines: plot_lines_values :: forall x_arjw y_arjx. Lens' (PlotLines x_arjw y_arjx) [[(x_arjw, y_arjx)]]
- Graphics.Rendering.Chart.Plot.Points: plot_points_style :: forall x_aqd7 y_aqd8. Lens' (PlotPoints x_aqd7 y_aqd8) PointStyle
+ Graphics.Rendering.Chart.Plot.Points: plot_points_style :: forall x_aqPX y_aqPY. Lens' (PlotPoints x_aqPX y_aqPY) PointStyle
- Graphics.Rendering.Chart.Plot.Points: plot_points_title :: forall x_aqd7 y_aqd8. Lens' (PlotPoints x_aqd7 y_aqd8) String
+ Graphics.Rendering.Chart.Plot.Points: plot_points_title :: forall x_aqPX y_aqPY. Lens' (PlotPoints x_aqPX y_aqPY) String
- Graphics.Rendering.Chart.Plot.Points: plot_points_values :: forall x_aqd7 y_aqd8 x_aqh5 y_aqh6. Lens (PlotPoints x_aqd7 y_aqd8) (PlotPoints x_aqh5 y_aqh6) [(x_aqd7, y_aqd8)] [(x_aqh5, y_aqh6)]
+ Graphics.Rendering.Chart.Plot.Points: plot_points_values :: forall x_aqPX y_aqPY x_aqTV y_aqTW. Lens (PlotPoints x_aqPX y_aqPY) (PlotPoints x_aqTV y_aqTW) [(x_aqPX, y_aqPY)] [(x_aqTV, y_aqTW)]
- Graphics.Rendering.Chart.Plot.Types: plot_all_points :: forall x_apPL y_apPM. Lens' (Plot x_apPL y_apPM) ([x_apPL], [y_apPM])
+ Graphics.Rendering.Chart.Plot.Types: plot_all_points :: forall x_aqsB y_aqsC. Lens' (Plot x_aqsB y_aqsC) ([x_aqsB], [y_aqsC])
- Graphics.Rendering.Chart.Plot.Types: plot_legend :: forall x_apPL y_apPM. Lens' (Plot x_apPL y_apPM) [(String, Rect -> BackendProgram ())]
+ Graphics.Rendering.Chart.Plot.Types: plot_legend :: forall x_aqsB y_aqsC. Lens' (Plot x_aqsB y_aqsC) [(String, Rect -> BackendProgram ())]
- Graphics.Rendering.Chart.Plot.Types: plot_render :: forall x_apPL y_apPM. Lens' (Plot x_apPL y_apPM) (PointMapFn x_apPL y_apPM -> BackendProgram ())
+ Graphics.Rendering.Chart.Plot.Types: plot_render :: forall x_aqsB y_aqsC. Lens' (Plot x_aqsB y_aqsC) (PointMapFn x_aqsB y_aqsC -> BackendProgram ())
- Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_grid :: forall x_a1854 y_a1855. Lens' (PlotVectors x_a1854 y_a1855) [(x_a1854, y_a1855)]
+ Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_grid :: forall x_a19iS y_a19iT. Lens' (PlotVectors x_a19iS y_a19iT) [(x_a19iS, y_a19iT)]
- Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_mapf :: forall x_a1854 y_a1855. Lens' (PlotVectors x_a1854 y_a1855) ((x_a1854, y_a1855) -> (x_a1854, y_a1855))
+ Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_mapf :: forall x_a19iS y_a19iT. Lens' (PlotVectors x_a19iS y_a19iT) ((x_a19iS, y_a19iT) -> (x_a19iS, y_a19iT))
- Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_scale :: forall x_a1854 y_a1855. Lens' (PlotVectors x_a1854 y_a1855) Double
+ Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_scale :: forall x_a19iS y_a19iT. Lens' (PlotVectors x_a19iS y_a19iT) Double
- Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_style :: forall x_a1854 y_a1855. Lens' (PlotVectors x_a1854 y_a1855) VectorStyle
+ Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_style :: forall x_a19iS y_a19iT. Lens' (PlotVectors x_a19iS y_a19iT) VectorStyle
- Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_title :: forall x_a1854 y_a1855. Lens' (PlotVectors x_a1854 y_a1855) String
+ Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_title :: forall x_a19iS y_a19iT. Lens' (PlotVectors x_a19iS y_a19iT) String
- Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_values :: forall x_a1854 y_a1855. Lens' (PlotVectors x_a1854 y_a1855) [((x_a1854, y_a1855), (x_a1854, y_a1855))]
+ Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_values :: forall x_a19iS y_a19iT. Lens' (PlotVectors x_a19iS y_a19iT) [((x_a19iS, y_a19iT), (x_a19iS, y_a19iT))]
Files
- Chart.cabal +4/−1
- Graphics/Rendering/Chart/Geometry.hs +15/−11
- Graphics/Rendering/Chart/Plot/Annotation.hs +26/−3
- Graphics/Rendering/Chart/Renderable.hs +49/−41
Chart.cabal view
@@ -1,5 +1,5 @@ Name: Chart-Version: 1.8.3+Version: 1.9 License: BSD3 License-file: LICENSE Copyright: Tim Docker, 2006-2014@@ -27,6 +27,9 @@ , mtl >= 2.0 && < 2.3 , operational >= 0.2.2 && < 0.3 , vector >=0.9 && <0.13++ if !impl(ghc >= 8.0)+ build-depends: semigroups >= 0.18.4 && <0.19 Ghc-options: -Wall -fno-warn-orphans
Graphics/Rendering/Chart/Geometry.hs view
@@ -53,7 +53,8 @@ import qualified Prelude import Prelude hiding ((^))-import Data.Monoid+import Data.Monoid (Monoid (..))+import Data.Semigroup (Semigroup(..)) -- The homomorphic version to avoid casts inside the code. (^) :: Num a => a -> Integer -> a@@ -196,14 +197,17 @@ -- | Paths are monoids. After a path is closed you can not append -- anything to it anymore. The empty path is open. -- Use 'close' to close a path.-instance Monoid Path where- mappend p1 p2 = case p1 of- MoveTo p path -> MoveTo p $ mappend path p2- LineTo p path -> LineTo p $ mappend path p2- Arc p r a1 a2 path -> Arc p r a1 a2 $ mappend path p2- ArcNeg p r a1 a2 path -> ArcNeg p r a1 a2 $ mappend path p2+instance Semigroup Path where+ p1 <> p2 = case p1 of+ MoveTo p path -> MoveTo p $ path <> p2+ LineTo p path -> LineTo p $ path <> p2+ Arc p r a1 a2 path -> Arc p r a1 a2 $ path <> p2+ ArcNeg p r a1 a2 path -> ArcNeg p r a1 a2 $ path <> p2 End -> p2 Close -> Close++instance Monoid Path where+ mappend = (<>) mempty = End -- | Move the paths pointer to the given location.@@ -265,10 +269,10 @@ foldPath moveTo_ lineTo_ arc_ arcNeg_ close_ path = let restF = foldPath moveTo_ lineTo_ arc_ arcNeg_ close_ in case path of- MoveTo p rest -> moveTo_ p <> restF rest- LineTo p rest -> lineTo_ p <> restF rest- Arc p r a1 a2 rest -> arc_ p r a1 a2 <> restF rest- ArcNeg p r a1 a2 rest -> arcNeg_ p r a1 a2 <> restF rest+ MoveTo p rest -> moveTo_ p `mappend` restF rest+ LineTo p rest -> lineTo_ p `mappend` restF rest+ Arc p r a1 a2 rest -> arc_ p r a1 a2 `mappend` restF rest+ ArcNeg p r a1 a2 rest -> arcNeg_ p r a1 a2 `mappend` restF rest End -> mempty Close -> close_
Graphics/Rendering/Chart/Plot/Annotation.hs view
@@ -15,12 +15,14 @@ plot_annotation_vanchor, plot_annotation_angle, plot_annotation_style,+ plot_annotation_background, plot_annotation_values ) where import Control.Lens import Graphics.Rendering.Chart.Geometry import Graphics.Rendering.Chart.Drawing+import Graphics.Rendering.Chart.Renderable import Graphics.Rendering.Chart.Plot.Types import Data.Default.Class @@ -34,6 +36,10 @@ _plot_annotation_angle :: Double, -- ^ Angle, in degrees, to rotate the annotation about the anchor point. _plot_annotation_style :: FontStyle,+ _plot_annotation_background :: Rectangle,+ -- ^ Rectangle which style determines the background of the annotation+ -- text and which '_rect_minsize' determines the additional width and+ -- height of the background area _plot_annotation_values :: [(x,y,String)] } @@ -49,15 +55,31 @@ renderAnnotation :: PlotAnnotation x y -> PointMapFn x y -> BackendProgram ()-renderAnnotation p pMap = withFontStyle style $+renderAnnotation p pMap = withFontStyle style $ do+ mapM_ drawRect values mapM_ drawOne values where hta = _plot_annotation_hanchor p vta = _plot_annotation_vanchor p values = _plot_annotation_values p angle = _plot_annotation_angle p style = _plot_annotation_style p- drawOne (x,y,s) = drawTextsR hta vta angle point s- where point = pMap (LValue x, LValue y)+ rectangle = _plot_annotation_background p+ (x1,y1) = _rect_minsize rectangle+ drawRect (x,y,s) = do+ ts <- textSize s+ let (x2,y2) = (textSizeWidth ts, textSizeHeight ts)+ Point x3 y3 = point x y+ -- position of top-left vertex of the rectangle+ xvp HTA_Left = x3 - x1 / 2+ xvp HTA_Centre = x3 - (x1 + x2) / 2+ xvp HTA_Right = x3 - x2 - x1 / 2+ yvp VTA_Top = y3 - y1 / 2+ yvp VTA_Centre = y3 - (y1 + y2) / 2+ yvp VTA_Bottom = y3 - y2 - y1 / 2+ yvp VTA_BaseLine = y3 - y1 / 2 - textSizeAscent ts+ drawRectangle (Point (xvp hta) (yvp vta)) rectangle{ _rect_minsize = (x1+x2,y1+y2) }+ drawOne (x,y,s) = drawTextsR hta vta angle (point x y) s+ point x y = pMap (LValue x, LValue y) instance Default (PlotAnnotation x y) where def = PlotAnnotation @@ -65,6 +87,7 @@ , _plot_annotation_vanchor = VTA_Centre , _plot_annotation_angle = 0 , _plot_annotation_style = def+ , _plot_annotation_background = def , _plot_annotation_values = [] }
Graphics/Rendering/Chart/Renderable.hs view
@@ -19,6 +19,7 @@ RectCornerStyle(..), rectangleToRenderable,+ drawRectangle, fillBackground, addMargins,@@ -218,47 +219,54 @@ rectangleToRenderable :: Rectangle -> Renderable a rectangleToRenderable rectangle = Renderable mf rf where- mf = return (_rect_minsize rectangle)- rf sz = do- maybeM () (fill sz) (_rect_fillStyle rectangle)- maybeM () (stroke sz) (_rect_lineStyle rectangle)- return nullPickFn-- fill sz fs = - withFillStyle fs $ - fillPath $ strokeRectangleP sz (_rect_cornerStyle rectangle)-- stroke sz ls = - withLineStyle ls $ - strokePath $ strokeRectangleP sz (_rect_cornerStyle rectangle)-- strokeRectangleP (x2,y2) RCornerSquare =- let (x1,y1) = (0,0) in moveTo' x1 y1- <> lineTo' x1 y2- <> lineTo' x2 y2- <> lineTo' x2 y1- <> lineTo' x1 y1- <> lineTo' x1 y2- - strokeRectangleP (x2,y2) (RCornerBevel s) =- let (x1,y1) = (0,0) in moveTo' x1 (y1+s)- <> lineTo' x1 (y2-s)- <> lineTo' (x1+s) y2- <> lineTo' (x2-s) y2- <> lineTo' x2 (y2-s)- <> lineTo' x2 (y1+s)- <> lineTo' (x2-s) y1- <> lineTo' (x1+s) y1- <> lineTo' x1 (y1+s)- <> lineTo' x1 (y2-s)+ mf = return (_rect_minsize rectangle)+ rf = \rectSize -> drawRectangle (Point 0 0)+ rectangle{ _rect_minsize = rectSize } - strokeRectangleP (x2,y2) (RCornerRounded s) =- let (x1,y1) = (0,0) in arcNeg (Point (x1+s) (y2-s)) s (pi2*2) pi2 - <> arcNeg (Point (x2-s) (y2-s)) s pi2 0- <> arcNeg (Point (x2-s) (y1+s)) s 0 (pi2*3)- <> arcNeg (Point (x1+s) (y1+s)) s (pi2*3) (pi2*2)- <> lineTo' x1 (y2-s)- - pi2 = pi / 2+-- | Draw the specified rectangle such that its top-left vertex is placed at+-- the given position+drawRectangle :: Point -> Rectangle -> BackendProgram (PickFn a)+drawRectangle point rectangle = do+ maybeM () (fill point size) (_rect_fillStyle rectangle)+ maybeM () (stroke point size) (_rect_lineStyle rectangle)+ return nullPickFn+ where+ size = _rect_minsize rectangle+ + fill p sz fs = + withFillStyle fs $ + fillPath $ strokeRectangleP p sz (_rect_cornerStyle rectangle)+ + stroke p sz ls = + withLineStyle ls $ + strokePath $ strokeRectangleP p sz (_rect_cornerStyle rectangle)+ + strokeRectangleP (Point x1 y1) (x2,y2) RCornerSquare =+ let (x3,y3) = (x1+x2,y1+y2) in moveTo' x1 y1+ <> lineTo' x1 y3+ <> lineTo' x3 y3+ <> lineTo' x3 y1+ <> lineTo' x1 y1+ + strokeRectangleP (Point x1 y1) (x2,y2) (RCornerBevel s) =+ let (x3,y3) = (x1+x2,y1+y2) in moveTo' x1 (y1+s)+ <> lineTo' x1 (y3-s)+ <> lineTo' (x1+s) y3+ <> lineTo' (x3-s) y3+ <> lineTo' x3 (y3-s)+ <> lineTo' x3 (y1+s)+ <> lineTo' (x3-s) y1+ <> lineTo' (x1+s) y1+ <> lineTo' x1 (y1+s)+ + strokeRectangleP (Point x1 y1) (x2,y2) (RCornerRounded s) =+ let (x3,y3) = (x1+x2,y1+y2) in+ arcNeg (Point (x1+s) (y3-s)) s (pi2*2) pi2+ <> arcNeg (Point (x3-s) (y3-s)) s pi2 0+ <> arcNeg (Point (x3-s) (y1+s)) s 0 (pi2*3)+ <> arcNeg (Point (x1+s) (y1+s)) s (pi2*3) (pi2*2)+ <> lineTo' x1 (y3-s)+ + pi2 = pi / 2 $( makeLenses ''Rectangle )