packages feed

Chart 1.4 → 1.5

raw patch · 2 files changed

+31/−32 lines, 2 filesdep ~lensPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: lens

API changes (from Hackage documentation)

- Graphics.Rendering.Chart.Axis.Floating: la_labelf :: Lens (LinearAxisParams a_alyI) (LinearAxisParams a_amu3) (a_alyI -> String) (a_amu3 -> String)
+ Graphics.Rendering.Chart.Axis.Floating: la_labelf :: Lens (LinearAxisParams a_am0c) (LinearAxisParams a_amVx) (a_am0c -> String) (a_amVx -> String)
- Graphics.Rendering.Chart.Axis.Floating: la_nLabels :: Lens' (LinearAxisParams a_alyI) Int
+ Graphics.Rendering.Chart.Axis.Floating: la_nLabels :: Lens' (LinearAxisParams a_am0c) Int
- Graphics.Rendering.Chart.Axis.Floating: la_nTicks :: Lens' (LinearAxisParams a_alyI) Int
+ Graphics.Rendering.Chart.Axis.Floating: la_nTicks :: Lens' (LinearAxisParams a_am0c) Int
- Graphics.Rendering.Chart.Axis.Floating: loga_labelf :: Iso (LogAxisParams a_alyH) (LogAxisParams a_amvK) (a_alyH -> String) (a_amvK -> String)
+ Graphics.Rendering.Chart.Axis.Floating: loga_labelf :: Iso (LogAxisParams a_am0b) (LogAxisParams a_amXe) (a_am0b -> String) (a_amXe -> String)
- Graphics.Rendering.Chart.Axis.Types: axis_grid :: Lens' (AxisData x_ahX7) [x_ahX7]
+ Graphics.Rendering.Chart.Axis.Types: axis_grid :: Lens' (AxisData x_aiox) [x_aiox]
- Graphics.Rendering.Chart.Axis.Types: axis_labels :: Lens' (AxisData x_ahX7) [[(x_ahX7, String)]]
+ Graphics.Rendering.Chart.Axis.Types: axis_labels :: Lens' (AxisData x_aiox) [[(x_aiox, String)]]
- Graphics.Rendering.Chart.Axis.Types: axis_ticks :: Lens' (AxisData x_ahX7) [(x_ahX7, Double)]
+ Graphics.Rendering.Chart.Axis.Types: axis_ticks :: Lens' (AxisData x_aiox) [(x_aiox, Double)]
- Graphics.Rendering.Chart.Axis.Types: axis_tropweiv :: Lens' (AxisData x_ahX7) (Range -> Double -> x_ahX7)
+ Graphics.Rendering.Chart.Axis.Types: axis_tropweiv :: Lens' (AxisData x_aiox) (Range -> Double -> x_aiox)
- Graphics.Rendering.Chart.Axis.Types: axis_viewport :: Lens' (AxisData x_ahX7) (Range -> x_ahX7 -> Double)
+ Graphics.Rendering.Chart.Axis.Types: axis_viewport :: Lens' (AxisData x_aiox) (Range -> x_aiox -> Double)
- Graphics.Rendering.Chart.Axis.Types: axis_visibility :: Lens' (AxisData x_ahX7) AxisVisibility
+ Graphics.Rendering.Chart.Axis.Types: axis_visibility :: Lens' (AxisData x_aiox) AxisVisibility
- Graphics.Rendering.Chart.Layout: laxis_generate :: Lens' (LayoutAxis x_aIyh) (AxisFn x_aIyh)
+ Graphics.Rendering.Chart.Layout: laxis_generate :: Lens' (LayoutAxis x_aIZV) (AxisFn x_aIZV)
- Graphics.Rendering.Chart.Layout: laxis_override :: Lens' (LayoutAxis x_aIyh) (AxisData x_aIyh -> AxisData x_aIyh)
+ Graphics.Rendering.Chart.Layout: laxis_override :: Lens' (LayoutAxis x_aIZV) (AxisData x_aIZV -> AxisData x_aIZV)
- Graphics.Rendering.Chart.Layout: laxis_reverse :: Lens' (LayoutAxis x_aIyh) Bool
+ Graphics.Rendering.Chart.Layout: laxis_reverse :: Lens' (LayoutAxis x_aIZV) Bool
- Graphics.Rendering.Chart.Layout: laxis_style :: Lens' (LayoutAxis x_aIyh) AxisStyle
+ Graphics.Rendering.Chart.Layout: laxis_style :: Lens' (LayoutAxis x_aIZV) AxisStyle
- Graphics.Rendering.Chart.Layout: laxis_title :: Lens' (LayoutAxis x_aIyh) String
+ Graphics.Rendering.Chart.Layout: laxis_title :: Lens' (LayoutAxis x_aIZV) String
- Graphics.Rendering.Chart.Layout: laxis_title_style :: Lens' (LayoutAxis x_aIyh) FontStyle
+ Graphics.Rendering.Chart.Layout: laxis_title_style :: Lens' (LayoutAxis x_aIZV) FontStyle
- Graphics.Rendering.Chart.Layout: layout_background :: Lens' (Layout x_aIyc y_aIyd) FillStyle
+ Graphics.Rendering.Chart.Layout: layout_background :: Lens' (Layout x_aIZQ y_aIZR) FillStyle
- Graphics.Rendering.Chart.Layout: layout_bottom_axis_visibility :: Lens' (Layout x_aIyc y_aIyd) AxisVisibility
+ Graphics.Rendering.Chart.Layout: layout_bottom_axis_visibility :: Lens' (Layout x_aIZQ y_aIZR) AxisVisibility
- Graphics.Rendering.Chart.Layout: layout_grid_last :: Lens' (Layout x_aIyc y_aIyd) Bool
+ Graphics.Rendering.Chart.Layout: layout_grid_last :: Lens' (Layout x_aIZQ y_aIZR) Bool
- Graphics.Rendering.Chart.Layout: layout_left_axis_visibility :: Lens' (Layout x_aIyc y_aIyd) AxisVisibility
+ Graphics.Rendering.Chart.Layout: layout_left_axis_visibility :: Lens' (Layout x_aIZQ y_aIZR) AxisVisibility
- Graphics.Rendering.Chart.Layout: layout_legend :: Lens' (Layout x_aIyc y_aIyd) (Maybe LegendStyle)
+ Graphics.Rendering.Chart.Layout: layout_legend :: Lens' (Layout x_aIZQ y_aIZR) (Maybe LegendStyle)
- Graphics.Rendering.Chart.Layout: layout_margin :: Lens' (Layout x_aIyc y_aIyd) Double
+ Graphics.Rendering.Chart.Layout: layout_margin :: Lens' (Layout x_aIZQ y_aIZR) Double
- Graphics.Rendering.Chart.Layout: layout_plot_background :: Lens' (Layout x_aIyc y_aIyd) (Maybe FillStyle)
+ Graphics.Rendering.Chart.Layout: layout_plot_background :: Lens' (Layout x_aIZQ y_aIZR) (Maybe FillStyle)
- Graphics.Rendering.Chart.Layout: layout_plots :: Lens' (Layout x_aIyc y_aIyd) [Plot x_aIyc y_aIyd]
+ Graphics.Rendering.Chart.Layout: layout_plots :: Lens' (Layout x_aIZQ y_aIZR) [Plot x_aIZQ y_aIZR]
- Graphics.Rendering.Chart.Layout: layout_right_axis_visibility :: Lens' (Layout x_aIyc y_aIyd) AxisVisibility
+ Graphics.Rendering.Chart.Layout: layout_right_axis_visibility :: Lens' (Layout x_aIZQ y_aIZR) AxisVisibility
- Graphics.Rendering.Chart.Layout: layout_title :: Lens' (Layout x_aIyc y_aIyd) String
+ Graphics.Rendering.Chart.Layout: layout_title :: Lens' (Layout x_aIZQ y_aIZR) String
- Graphics.Rendering.Chart.Layout: layout_title_style :: Lens' (Layout x_aIyc y_aIyd) FontStyle
+ Graphics.Rendering.Chart.Layout: layout_title_style :: Lens' (Layout x_aIZQ y_aIZR) FontStyle
- Graphics.Rendering.Chart.Layout: layout_top_axis_visibility :: Lens' (Layout x_aIyc y_aIyd) AxisVisibility
+ Graphics.Rendering.Chart.Layout: layout_top_axis_visibility :: Lens' (Layout x_aIZQ y_aIZR) AxisVisibility
- Graphics.Rendering.Chart.Layout: layout_x_axis :: Lens' (Layout x_aIyc y_aIyd) (LayoutAxis x_aIyc)
+ Graphics.Rendering.Chart.Layout: layout_x_axis :: Lens' (Layout x_aIZQ y_aIZR) (LayoutAxis x_aIZQ)
- Graphics.Rendering.Chart.Layout: layout_y_axis :: Lens' (Layout x_aIyc y_aIyd) (LayoutAxis y_aIyd)
+ Graphics.Rendering.Chart.Layout: layout_y_axis :: Lens' (Layout x_aIZQ y_aIZR) (LayoutAxis y_aIZR)
- Graphics.Rendering.Chart.Layout: layoutlr_background :: Lens' (LayoutLR x_aIy9 y1_aIya y2_aIyb) FillStyle
+ Graphics.Rendering.Chart.Layout: layoutlr_background :: Lens' (LayoutLR x_aIZN y1_aIZO y2_aIZP) FillStyle
- Graphics.Rendering.Chart.Layout: layoutlr_bottom_axis_visibility :: Lens' (LayoutLR x_aIy9 y1_aIya y2_aIyb) AxisVisibility
+ Graphics.Rendering.Chart.Layout: layoutlr_bottom_axis_visibility :: Lens' (LayoutLR x_aIZN y1_aIZO y2_aIZP) AxisVisibility
- Graphics.Rendering.Chart.Layout: layoutlr_grid_last :: Lens' (LayoutLR x_aIy9 y1_aIya y2_aIyb) Bool
+ Graphics.Rendering.Chart.Layout: layoutlr_grid_last :: Lens' (LayoutLR x_aIZN y1_aIZO y2_aIZP) Bool
- Graphics.Rendering.Chart.Layout: layoutlr_left_axis :: Lens' (LayoutLR x_aIy9 y1_aIya y2_aIyb) (LayoutAxis y1_aIya)
+ Graphics.Rendering.Chart.Layout: layoutlr_left_axis :: Lens' (LayoutLR x_aIZN y1_aIZO y2_aIZP) (LayoutAxis y1_aIZO)
- Graphics.Rendering.Chart.Layout: layoutlr_left_axis_visibility :: Lens' (LayoutLR x_aIy9 y1_aIya y2_aIyb) AxisVisibility
+ Graphics.Rendering.Chart.Layout: layoutlr_left_axis_visibility :: Lens' (LayoutLR x_aIZN y1_aIZO y2_aIZP) AxisVisibility
- Graphics.Rendering.Chart.Layout: layoutlr_legend :: Lens' (LayoutLR x_aIy9 y1_aIya y2_aIyb) (Maybe LegendStyle)
+ Graphics.Rendering.Chart.Layout: layoutlr_legend :: Lens' (LayoutLR x_aIZN y1_aIZO y2_aIZP) (Maybe LegendStyle)
- Graphics.Rendering.Chart.Layout: layoutlr_margin :: Lens' (LayoutLR x_aIy9 y1_aIya y2_aIyb) Double
+ Graphics.Rendering.Chart.Layout: layoutlr_margin :: Lens' (LayoutLR x_aIZN y1_aIZO y2_aIZP) Double
- Graphics.Rendering.Chart.Layout: layoutlr_plot_background :: Lens' (LayoutLR x_aIy9 y1_aIya y2_aIyb) (Maybe FillStyle)
+ Graphics.Rendering.Chart.Layout: layoutlr_plot_background :: Lens' (LayoutLR x_aIZN y1_aIZO y2_aIZP) (Maybe FillStyle)
- Graphics.Rendering.Chart.Layout: layoutlr_plots :: Lens' (LayoutLR x_aIy9 y1_aIya y2_aIyb) [Either (Plot x_aIy9 y1_aIya) (Plot x_aIy9 y2_aIyb)]
+ Graphics.Rendering.Chart.Layout: layoutlr_plots :: Lens' (LayoutLR x_aIZN y1_aIZO y2_aIZP) [Either (Plot x_aIZN y1_aIZO) (Plot x_aIZN y2_aIZP)]
- Graphics.Rendering.Chart.Layout: layoutlr_right_axis :: Lens' (LayoutLR x_aIy9 y1_aIya y2_aIyb) (LayoutAxis y2_aIyb)
+ Graphics.Rendering.Chart.Layout: layoutlr_right_axis :: Lens' (LayoutLR x_aIZN y1_aIZO y2_aIZP) (LayoutAxis y2_aIZP)
- Graphics.Rendering.Chart.Layout: layoutlr_right_axis_visibility :: Lens' (LayoutLR x_aIy9 y1_aIya y2_aIyb) AxisVisibility
+ Graphics.Rendering.Chart.Layout: layoutlr_right_axis_visibility :: Lens' (LayoutLR x_aIZN y1_aIZO y2_aIZP) AxisVisibility
- Graphics.Rendering.Chart.Layout: layoutlr_title :: Lens' (LayoutLR x_aIy9 y1_aIya y2_aIyb) String
+ Graphics.Rendering.Chart.Layout: layoutlr_title :: Lens' (LayoutLR x_aIZN y1_aIZO y2_aIZP) String
- Graphics.Rendering.Chart.Layout: layoutlr_title_style :: Lens' (LayoutLR x_aIy9 y1_aIya y2_aIyb) FontStyle
+ Graphics.Rendering.Chart.Layout: layoutlr_title_style :: Lens' (LayoutLR x_aIZN y1_aIZO y2_aIZP) FontStyle
- Graphics.Rendering.Chart.Layout: layoutlr_top_axis_visibility :: Lens' (LayoutLR x_aIy9 y1_aIya y2_aIyb) AxisVisibility
+ Graphics.Rendering.Chart.Layout: layoutlr_top_axis_visibility :: Lens' (LayoutLR x_aIZN y1_aIZO y2_aIZP) AxisVisibility
- Graphics.Rendering.Chart.Layout: layoutlr_x_axis :: Lens' (LayoutLR x_aIy9 y1_aIya y2_aIyb) (LayoutAxis x_aIy9)
+ Graphics.Rendering.Chart.Layout: layoutlr_x_axis :: Lens' (LayoutLR x_aIZN y1_aIZO y2_aIZP) (LayoutAxis x_aIZN)
- Graphics.Rendering.Chart.Layout: slayouts_compress_legend :: Lens' (StackedLayouts x_aIy4) Bool
+ Graphics.Rendering.Chart.Layout: slayouts_compress_legend :: Lens' (StackedLayouts x_aIZI) Bool
- Graphics.Rendering.Chart.Layout: slayouts_layouts :: Lens (StackedLayouts x_aIy4) (StackedLayouts x_aJZn) [StackedLayout x_aIy4] [StackedLayout x_aJZn]
+ Graphics.Rendering.Chart.Layout: slayouts_layouts :: Lens (StackedLayouts x_aIZI) (StackedLayouts x_aKr1) [StackedLayout x_aIZI] [StackedLayout x_aKr1]
- Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_angle :: Lens' (PlotAnnotation x_aE3W y_aE3X) Double
+ Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_angle :: Lens' (PlotAnnotation x_aEvA y_aEvB) Double
- Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_hanchor :: Lens' (PlotAnnotation x_aE3W y_aE3X) HTextAnchor
+ Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_hanchor :: Lens' (PlotAnnotation x_aEvA y_aEvB) HTextAnchor
- Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_style :: Lens' (PlotAnnotation x_aE3W y_aE3X) FontStyle
+ Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_style :: Lens' (PlotAnnotation x_aEvA y_aEvB) FontStyle
- Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_values :: Lens (PlotAnnotation x_aE3W y_aE3X) (PlotAnnotation x_aE70 y_aE71) [(x_aE3W, y_aE3X, String)] [(x_aE70, y_aE71, String)]
+ Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_values :: Lens (PlotAnnotation x_aEvA y_aEvB) (PlotAnnotation x_aEyE y_aEyF) [(x_aEvA, y_aEvB, String)] [(x_aEyE, y_aEyF, String)]
- Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_vanchor :: Lens' (PlotAnnotation x_aE3W y_aE3X) VTextAnchor
+ Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_vanchor :: Lens' (PlotAnnotation x_aEvA y_aEvB) VTextAnchor
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_linethick :: Lens' (AreaSpots4D z_aEo7 t_aEo8 x_aEo9 y_aEoa) Double
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_linethick :: Lens' (AreaSpots4D z_aEPL t_aEPM x_aEPN y_aEPO) Double
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_max_radius :: Lens' (AreaSpots4D z_aEo7 t_aEo8 x_aEo9 y_aEoa) Double
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_max_radius :: Lens' (AreaSpots4D z_aEPL t_aEPM x_aEPN y_aEPO) Double
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_opacity :: Lens' (AreaSpots4D z_aEo7 t_aEo8 x_aEo9 y_aEoa) Double
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_opacity :: Lens' (AreaSpots4D z_aEPL t_aEPM x_aEPN y_aEPO) Double
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_palette :: Lens' (AreaSpots4D z_aEo7 t_aEo8 x_aEo9 y_aEoa) [Colour Double]
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_palette :: Lens' (AreaSpots4D z_aEPL t_aEPM x_aEPN y_aEPO) [Colour Double]
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_title :: Lens' (AreaSpots4D z_aEo7 t_aEo8 x_aEo9 y_aEoa) String
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_title :: Lens' (AreaSpots4D z_aEPL t_aEPM x_aEPN y_aEPO) String
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_values :: Lens (AreaSpots4D z_aEo7 t_aEo8 x_aEo9 y_aEoa) (AreaSpots4D z_aERa t_aERb x_aERc y_aERd) [(x_aEo9, y_aEoa, z_aEo7, t_aEo8)] [(x_aERc, y_aERd, z_aERa, t_aERb)]
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_values :: Lens (AreaSpots4D z_aEPL t_aEPM x_aEPN y_aEPO) (AreaSpots4D z_aFiO t_aFiP x_aFiQ y_aFiR) [(x_aEPN, y_aEPO, z_aEPL, t_aEPM)] [(x_aFiQ, y_aFiR, z_aFiO, t_aFiP)]
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_fillcolour :: Lens' (AreaSpots z_aEob x_aEoc y_aEod) (Colour Double)
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_fillcolour :: Lens' (AreaSpots z_aEPP x_aEPQ y_aEPR) (Colour Double)
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_linecolour :: Lens' (AreaSpots z_aEob x_aEoc y_aEod) (AlphaColour Double)
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_linecolour :: Lens' (AreaSpots z_aEPP x_aEPQ y_aEPR) (AlphaColour Double)
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_linethick :: Lens' (AreaSpots z_aEob x_aEoc y_aEod) Double
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_linethick :: Lens' (AreaSpots z_aEPP x_aEPQ y_aEPR) Double
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_max_radius :: Lens' (AreaSpots z_aEob x_aEoc y_aEod) Double
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_max_radius :: Lens' (AreaSpots z_aEPP x_aEPQ y_aEPR) Double
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_opacity :: Lens' (AreaSpots z_aEob x_aEoc y_aEod) Double
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_opacity :: Lens' (AreaSpots z_aEPP x_aEPQ y_aEPR) Double
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_title :: Lens' (AreaSpots z_aEob x_aEoc y_aEod) String
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_title :: Lens' (AreaSpots z_aEPP x_aEPQ y_aEPR) String
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_values :: Lens (AreaSpots z_aEob x_aEoc y_aEod) (AreaSpots z_aELH x_aELI y_aELJ) [(x_aEoc, y_aEod, z_aEob)] [(x_aELI, y_aELJ, z_aELH)]
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_values :: Lens (AreaSpots z_aEPP x_aEPQ y_aEPR) (AreaSpots z_aFdl x_aFdm y_aFdn) [(x_aEPQ, y_aEPR, z_aEPP)] [(x_aFdm, y_aFdn, z_aFdl)]
- Graphics.Rendering.Chart.Plot.Bars: plot_bars_alignment :: Lens' (PlotBars x_aCDI y_aCDJ) PlotBarsAlignment
+ Graphics.Rendering.Chart.Plot.Bars: plot_bars_alignment :: Lens' (PlotBars x_aD5m y_aD5n) PlotBarsAlignment
- Graphics.Rendering.Chart.Plot.Bars: plot_bars_item_styles :: Lens' (PlotBars x_aCDI y_aCDJ) [(FillStyle, Maybe LineStyle)]
+ Graphics.Rendering.Chart.Plot.Bars: plot_bars_item_styles :: Lens' (PlotBars x_aD5m y_aD5n) [(FillStyle, Maybe LineStyle)]
- Graphics.Rendering.Chart.Plot.Bars: plot_bars_reference :: Lens' (PlotBars x_aCDI y_aCDJ) y_aCDJ
+ Graphics.Rendering.Chart.Plot.Bars: plot_bars_reference :: Lens' (PlotBars x_aD5m y_aD5n) y_aD5n
- Graphics.Rendering.Chart.Plot.Bars: plot_bars_singleton_width :: Lens' (PlotBars x_aCDI y_aCDJ) Double
+ Graphics.Rendering.Chart.Plot.Bars: plot_bars_singleton_width :: Lens' (PlotBars x_aD5m y_aD5n) Double
- Graphics.Rendering.Chart.Plot.Bars: plot_bars_spacing :: Lens' (PlotBars x_aCDI y_aCDJ) PlotBarsSpacing
+ Graphics.Rendering.Chart.Plot.Bars: plot_bars_spacing :: Lens' (PlotBars x_aD5m y_aD5n) PlotBarsSpacing
- Graphics.Rendering.Chart.Plot.Bars: plot_bars_style :: Lens' (PlotBars x_aCDI y_aCDJ) PlotBarsStyle
+ Graphics.Rendering.Chart.Plot.Bars: plot_bars_style :: Lens' (PlotBars x_aD5m y_aD5n) PlotBarsStyle
- Graphics.Rendering.Chart.Plot.Bars: plot_bars_titles :: Lens' (PlotBars x_aCDI y_aCDJ) [String]
+ Graphics.Rendering.Chart.Plot.Bars: plot_bars_titles :: Lens' (PlotBars x_aD5m y_aD5n) [String]
- Graphics.Rendering.Chart.Plot.Bars: plot_bars_values :: Lens (PlotBars x_aCDI y_aCDJ) (PlotBars x_aCQW y_aCDJ) [(x_aCDI, [y_aCDJ])] [(x_aCQW, [y_aCDJ])]
+ Graphics.Rendering.Chart.Plot.Bars: plot_bars_values :: Lens (PlotBars x_aD5m y_aD5n) (PlotBars x_aDiA y_aD5n) [(x_aD5m, [y_aD5n])] [(x_aDiA, [y_aD5n])]
- Graphics.Rendering.Chart.Plot.Candle: plot_candle_centre :: Lens' (PlotCandle x_aBeV y_aBeW) Double
+ Graphics.Rendering.Chart.Plot.Candle: plot_candle_centre :: Lens' (PlotCandle x_aBGz y_aBGA) Double
- Graphics.Rendering.Chart.Plot.Candle: plot_candle_fall_fill_style :: Lens' (PlotCandle x_aBeV y_aBeW) FillStyle
+ Graphics.Rendering.Chart.Plot.Candle: plot_candle_fall_fill_style :: Lens' (PlotCandle x_aBGz y_aBGA) FillStyle
- Graphics.Rendering.Chart.Plot.Candle: plot_candle_fill :: Lens' (PlotCandle x_aBeV y_aBeW) Bool
+ Graphics.Rendering.Chart.Plot.Candle: plot_candle_fill :: Lens' (PlotCandle x_aBGz y_aBGA) Bool
- Graphics.Rendering.Chart.Plot.Candle: plot_candle_line_style :: Lens' (PlotCandle x_aBeV y_aBeW) LineStyle
+ Graphics.Rendering.Chart.Plot.Candle: plot_candle_line_style :: Lens' (PlotCandle x_aBGz y_aBGA) LineStyle
- Graphics.Rendering.Chart.Plot.Candle: plot_candle_rise_fill_style :: Lens' (PlotCandle x_aBeV y_aBeW) FillStyle
+ Graphics.Rendering.Chart.Plot.Candle: plot_candle_rise_fill_style :: Lens' (PlotCandle x_aBGz y_aBGA) FillStyle
- Graphics.Rendering.Chart.Plot.Candle: plot_candle_tick_length :: Lens' (PlotCandle x_aBeV y_aBeW) Double
+ Graphics.Rendering.Chart.Plot.Candle: plot_candle_tick_length :: Lens' (PlotCandle x_aBGz y_aBGA) Double
- Graphics.Rendering.Chart.Plot.Candle: plot_candle_title :: Lens' (PlotCandle x_aBeV y_aBeW) String
+ Graphics.Rendering.Chart.Plot.Candle: plot_candle_title :: Lens' (PlotCandle x_aBGz y_aBGA) String
- Graphics.Rendering.Chart.Plot.Candle: plot_candle_values :: Lens (PlotCandle x_aBeV y_aBeW) (PlotCandle x_aBpG y_aBpH) [Candle x_aBeV y_aBeW] [Candle x_aBpG y_aBpH]
+ Graphics.Rendering.Chart.Plot.Candle: plot_candle_values :: Lens (PlotCandle x_aBGz y_aBGA) (PlotCandle x_aBRk y_aBRl) [Candle x_aBGz y_aBGA] [Candle x_aBRk y_aBRl]
- Graphics.Rendering.Chart.Plot.Candle: plot_candle_width :: Lens' (PlotCandle x_aBeV y_aBeW) Double
+ Graphics.Rendering.Chart.Plot.Candle: plot_candle_width :: Lens' (PlotCandle x_aBGz y_aBGA) Double
- Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_line_style :: Lens' (PlotErrBars x_aA6T y_aA6U) LineStyle
+ Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_line_style :: Lens' (PlotErrBars x_aAyx y_aAyy) LineStyle
- Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_overhang :: Lens' (PlotErrBars x_aA6T y_aA6U) Double
+ Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_overhang :: Lens' (PlotErrBars x_aAyx y_aAyy) Double
- Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_tick_length :: Lens' (PlotErrBars x_aA6T y_aA6U) Double
+ Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_tick_length :: Lens' (PlotErrBars x_aAyx y_aAyy) Double
- Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_title :: Lens' (PlotErrBars x_aA6T y_aA6U) String
+ Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_title :: Lens' (PlotErrBars x_aAyx y_aAyy) String
- Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_values :: Lens (PlotErrBars x_aA6T y_aA6U) (PlotErrBars x_aAgG y_aAgH) [ErrPoint x_aA6T y_aA6U] [ErrPoint x_aAgG y_aAgH]
+ Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_values :: Lens (PlotErrBars x_aAyx y_aAyy) (PlotErrBars x_aAIk y_aAIl) [ErrPoint x_aAyx y_aAyy] [ErrPoint x_aAIk y_aAIl]
- Graphics.Rendering.Chart.Plot.FillBetween: plot_fillbetween_style :: Lens' (PlotFillBetween x_azGj y_azGk) FillStyle
+ Graphics.Rendering.Chart.Plot.FillBetween: plot_fillbetween_style :: Lens' (PlotFillBetween x_aA7X y_aA7Y) FillStyle
- Graphics.Rendering.Chart.Plot.FillBetween: plot_fillbetween_title :: Lens' (PlotFillBetween x_azGj y_azGk) String
+ Graphics.Rendering.Chart.Plot.FillBetween: plot_fillbetween_title :: Lens' (PlotFillBetween x_aA7X y_aA7Y) String
- Graphics.Rendering.Chart.Plot.FillBetween: plot_fillbetween_values :: Lens (PlotFillBetween x_azGj y_azGk) (PlotFillBetween x_azKj y_azKk) [(x_azGj, (y_azGk, y_azGk))] [(x_azKj, (y_azKk, y_azKk))]
+ Graphics.Rendering.Chart.Plot.FillBetween: plot_fillbetween_values :: Lens (PlotFillBetween x_aA7X y_aA7Y) (PlotFillBetween x_aAbX y_aAbY) [(x_aA7X, (y_aA7Y, y_aA7Y))] [(x_aAbX, (y_aAbY, y_aAbY))]
- Graphics.Rendering.Chart.Plot.Hidden: plot_hidden_x_values :: Lens (PlotHidden x_axzw y_axzx) (PlotHidden x_axAi y_axzx) [x_axzw] [x_axAi]
+ Graphics.Rendering.Chart.Plot.Hidden: plot_hidden_x_values :: Lens (PlotHidden x_ay12 y_ay13) (PlotHidden x_ay1O y_ay13) [x_ay12] [x_ay1O]
- Graphics.Rendering.Chart.Plot.Hidden: plot_hidden_y_values :: Lens (PlotHidden x_axzw y_axzx) (PlotHidden x_axzw y_axAj) [y_axzx] [y_axAj]
+ Graphics.Rendering.Chart.Plot.Hidden: plot_hidden_y_values :: Lens (PlotHidden x_ay12 y_ay13) (PlotHidden x_ay12 y_ay1P) [y_ay13] [y_ay1P]
- Graphics.Rendering.Chart.Plot.Histogram: plot_hist_bins :: Lens' (PlotHist x_aHpb y_aHpc) Int
+ Graphics.Rendering.Chart.Plot.Histogram: plot_hist_bins :: Lens' (PlotHist x_aHQP y_aHQQ) Int
- Graphics.Rendering.Chart.Plot.Histogram: plot_hist_drop_lines :: Lens' (PlotHist x_aHpb y_aHpc) Bool
+ Graphics.Rendering.Chart.Plot.Histogram: plot_hist_drop_lines :: Lens' (PlotHist x_aHQP y_aHQQ) Bool
- Graphics.Rendering.Chart.Plot.Histogram: plot_hist_fill_style :: Lens' (PlotHist x_aHpb y_aHpc) FillStyle
+ Graphics.Rendering.Chart.Plot.Histogram: plot_hist_fill_style :: Lens' (PlotHist x_aHQP y_aHQQ) FillStyle
- Graphics.Rendering.Chart.Plot.Histogram: plot_hist_line_style :: Lens' (PlotHist x_aHpb y_aHpc) LineStyle
+ Graphics.Rendering.Chart.Plot.Histogram: plot_hist_line_style :: Lens' (PlotHist x_aHQP y_aHQQ) LineStyle
- Graphics.Rendering.Chart.Plot.Histogram: plot_hist_no_zeros :: Lens' (PlotHist x_aHpb y_aHpc) Bool
+ Graphics.Rendering.Chart.Plot.Histogram: plot_hist_no_zeros :: Lens' (PlotHist x_aHQP y_aHQQ) Bool
- Graphics.Rendering.Chart.Plot.Histogram: plot_hist_norm_func :: Lens (PlotHist x_aHpb y_aHpc) (PlotHist x_aHpb y_aHBf) (Double -> Int -> y_aHpc) (Double -> Int -> y_aHBf)
+ Graphics.Rendering.Chart.Plot.Histogram: plot_hist_norm_func :: Lens (PlotHist x_aHQP y_aHQQ) (PlotHist x_aHQP y_aI2T) (Double -> Int -> y_aHQQ) (Double -> Int -> y_aI2T)
- Graphics.Rendering.Chart.Plot.Histogram: plot_hist_range :: Lens' (PlotHist x_aHpb y_aHpc) (Maybe (x_aHpb, x_aHpb))
+ Graphics.Rendering.Chart.Plot.Histogram: plot_hist_range :: Lens' (PlotHist x_aHQP y_aHQQ) (Maybe (x_aHQP, x_aHQP))
- Graphics.Rendering.Chart.Plot.Histogram: plot_hist_title :: Lens' (PlotHist x_aHpb y_aHpc) String
+ Graphics.Rendering.Chart.Plot.Histogram: plot_hist_title :: Lens' (PlotHist x_aHQP y_aHQQ) String
- Graphics.Rendering.Chart.Plot.Histogram: plot_hist_values :: Lens' (PlotHist x_aHpb y_aHpc) [x_aHpb]
+ Graphics.Rendering.Chart.Plot.Histogram: plot_hist_values :: Lens' (PlotHist x_aHQP y_aHQQ) [x_aHQP]
- Graphics.Rendering.Chart.Plot.Lines: plot_lines_limit_values :: Lens' (PlotLines x_axGm y_axGn) [[(Limit x_axGm, Limit y_axGn)]]
+ Graphics.Rendering.Chart.Plot.Lines: plot_lines_limit_values :: Lens' (PlotLines x_ay7S y_ay7T) [[(Limit x_ay7S, Limit y_ay7T)]]
- Graphics.Rendering.Chart.Plot.Lines: plot_lines_style :: Lens' (PlotLines x_axGm y_axGn) LineStyle
+ Graphics.Rendering.Chart.Plot.Lines: plot_lines_style :: Lens' (PlotLines x_ay7S y_ay7T) LineStyle
- Graphics.Rendering.Chart.Plot.Lines: plot_lines_title :: Lens' (PlotLines x_axGm y_axGn) String
+ Graphics.Rendering.Chart.Plot.Lines: plot_lines_title :: Lens' (PlotLines x_ay7S y_ay7T) String
- Graphics.Rendering.Chart.Plot.Lines: plot_lines_values :: Lens' (PlotLines x_axGm y_axGn) [[(x_axGm, y_axGn)]]
+ Graphics.Rendering.Chart.Plot.Lines: plot_lines_values :: Lens' (PlotLines x_ay7S y_ay7T) [[(x_ay7S, y_ay7T)]]
- Graphics.Rendering.Chart.Plot.Points: plot_points_style :: Lens' (PlotPoints x_azoR y_azoS) PointStyle
+ Graphics.Rendering.Chart.Plot.Points: plot_points_style :: Lens' (PlotPoints x_azQv y_azQw) PointStyle
- Graphics.Rendering.Chart.Plot.Points: plot_points_title :: Lens' (PlotPoints x_azoR y_azoS) String
+ Graphics.Rendering.Chart.Plot.Points: plot_points_title :: Lens' (PlotPoints x_azQv y_azQw) String
- Graphics.Rendering.Chart.Plot.Points: plot_points_values :: Lens (PlotPoints x_azoR y_azoS) (PlotPoints x_azrR y_azrS) [(x_azoR, y_azoS)] [(x_azrR, y_azrS)]
+ Graphics.Rendering.Chart.Plot.Points: plot_points_values :: Lens (PlotPoints x_azQv y_azQw) (PlotPoints x_azTv y_azTw) [(x_azQv, y_azQw)] [(x_azTv, y_azTw)]
- Graphics.Rendering.Chart.Plot.Types: plot_all_points :: Lens' (Plot x_axn2 y_axn3) ([x_axn2], [y_axn3])
+ Graphics.Rendering.Chart.Plot.Types: plot_all_points :: Lens' (Plot x_axOy y_axOz) ([x_axOy], [y_axOz])
- Graphics.Rendering.Chart.Plot.Types: plot_legend :: Lens' (Plot x_axn2 y_axn3) [(String, Rect -> ChartBackend ())]
+ Graphics.Rendering.Chart.Plot.Types: plot_legend :: Lens' (Plot x_axOy y_axOz) [(String, Rect -> ChartBackend ())]
- Graphics.Rendering.Chart.Plot.Types: plot_render :: Lens' (Plot x_axn2 y_axn3) (PointMapFn x_axn2 y_axn3 -> ChartBackend ())
+ Graphics.Rendering.Chart.Plot.Types: plot_render :: Lens' (Plot x_axOy y_axOz) (PointMapFn x_axOy y_axOz -> ChartBackend ())
- Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_grid :: Lens' (PlotVectors x_aybf y_aybg) [(x_aybf, y_aybg)]
+ Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_grid :: Lens' (PlotVectors x_ayCL y_ayCM) [(x_ayCL, y_ayCM)]
- Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_mapf :: Lens' (PlotVectors x_aybf y_aybg) ((x_aybf, y_aybg) -> (x_aybf, y_aybg))
+ Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_mapf :: Lens' (PlotVectors x_ayCL y_ayCM) ((x_ayCL, y_ayCM) -> (x_ayCL, y_ayCM))
- Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_scale :: Lens' (PlotVectors x_aybf y_aybg) Double
+ Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_scale :: Lens' (PlotVectors x_ayCL y_ayCM) Double
- Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_style :: Lens' (PlotVectors x_aybf y_aybg) VectorStyle
+ Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_style :: Lens' (PlotVectors x_ayCL y_ayCM) VectorStyle
- Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_title :: Lens' (PlotVectors x_aybf y_aybg) String
+ Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_title :: Lens' (PlotVectors x_ayCL y_ayCM) String
- Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_values :: Lens' (PlotVectors x_aybf y_aybg) [((x_aybf, y_aybg), (x_aybf, y_aybg))]
+ Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_values :: Lens' (PlotVectors x_ayCL y_ayCM) [((x_ayCL, y_ayCM), (x_ayCL, y_ayCM))]

Files

Chart.cabal view
@@ -1,5 +1,5 @@ Name: Chart-Version: 1.4+Version: 1.5 License: BSD3 License-file: LICENSE Copyright: Tim Docker, 2006-2014@@ -7,7 +7,7 @@ Maintainer: Tim Docker <tim@dockerz.net> Homepage: https://github.com/timbod7/haskell-chart/wiki Synopsis: A library for generating 2D Charts and Plots-Description: A library for generating 2D Charts and Plots, with backends provided by +Description: A library for generating 2D Charts and Plots, with backends provided by              Cairo (<http://hackage.haskell.org/package/Chart-cairo>)              and              Diagrams (<http://hackage.haskell.org/package/Chart-diagrams>).@@ -19,7 +19,7 @@   Build-depends: base >= 3 && < 5                , old-locale                , time, mtl, array-               , lens >= 3.9 && < 4.10+               , lens >= 3.9 && < 4.12                , colour >= 2.2.1 && < 2.4                , data-default-class < 0.1                , mtl >= 2.0 && < 2.3
Graphics/Rendering/Chart/Geometry.hs view
@@ -3,7 +3,7 @@ -- Module      :  Graphics.Rendering.Chart.Geometry -- Copyright   :  (c) Tim Docker 2006, 2014 -- License     :  BSD-style (see chart/COPYRIGHT)--- +-- module Graphics.Rendering.Chart.Geometry   ( -- * Points and Vectors     Rect(..)@@ -12,7 +12,7 @@    , RectSize   , Range-  +   , pointToVec    , mkrect@@ -29,7 +29,7 @@   , RectEdge(..)   , Limit(..)   , PointMapFn-  +   -- * Paths   , Path(..)   , lineTo, moveTo@@ -37,10 +37,10 @@   , arc, arc'   , arcNeg, arcNeg'   , close-  +   , foldPath   , makeLinesExplicit-  +   -- * Matrices   , transformP, scaleP, rotateP, translateP   , Matrix(..)@@ -134,11 +134,11 @@ intersectRect r LMax = r intersectRect LMin _ = LMin intersectRect _ LMin = LMin-intersectRect (LValue (Rect (Point x11 y11) (Point x12 y12))) +intersectRect (LValue (Rect (Point x11 y11) (Point x12 y12)))               (LValue (Rect (Point x21 y21) (Point x22 y22))) =   let p1@(Point x1 y1) = Point (max x11 x21) (max y11 y21)       p2@(Point x2 y2) = Point (min x12 x22) (min y12 y22)-  in if x2 < x1 || y2 < y1 +  in if x2 < x1 || y2 < y1         then LMin         else LValue $ Rect p1 p2 @@ -149,14 +149,14 @@ -- | Make a path from a rectangle. rectPointPath :: Rect -> [Point] rectPointPath (Rect p1@(Point x1 y1) p3@(Point x2 y2)) = [p1,p2,p3,p4,p1]-  where    +  where     p2 = (Point x1 y2)     p4 = (Point x2 y1) -}  -- | Make a path from a rectangle. rectPath :: Rect -> Path-rectPath (Rect p1@(Point x1 y1) p3@(Point x2 y2)) = +rectPath (Rect p1@(Point x1 y1) p3@(Point x2 y2)) =   let p2 = Point x1 y2       p4 = Point x2 y1   in moveTo p1 <> lineTo p2 <> lineTo p3 <> lineTo p4 <> close@@ -166,35 +166,35 @@ -- -----------------------------------------------------------------------  -- | The path type used by Charts.---   +-- --   A path can consist of several subpaths. Each --   is started by a 'MoveTo' operation. All subpaths --   are open, except the last one, which may be closed --   using the 'Close' operation. When filling a path --   all subpaths are closed implicitly.---   +-- --   Closing a subpath means that a line is drawn from --   the end point to the start point of the subpath.---   +-- --   If a 'Arc' (or 'ArcNeg') is drawn a implicit line --   from the last end point of the subpath is drawn --   to the beginning of the arc. Another implicit line --   is drawn from the end of an arc to the beginning of --   the next path segment.---   +-- --   The beginning of a subpath is either (0,0) or set --   by a 'MoveTo' instruction. If the first subpath is started --   with an arc the beginning of that subpath is the beginning --   of the arc.-data Path = MoveTo Point Path +data Path = MoveTo Point Path           | LineTo Point Path           | Arc Point Double Double Double Path           | ArcNeg Point Double Double Double Path-          | End +          | End           | Close  -- | Paths are monoids. After a path is closed you can not append---   anything to it anymore. The empty path is open. +--   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@@ -214,7 +214,7 @@ moveTo' :: Double -> Double -> Path moveTo' x y = moveTo $ Point x y --- | Move the paths pointer to the given location and draw a straight +-- | Move the paths pointer to the given location and draw a straight --   line while doing so. lineTo :: Point -> Path lineTo p = LineTo p mempty@@ -230,7 +230,7 @@ --   is smaller then the start angle it is increased by multiples of --   @2 * pi@ until is is greater or equal. arc :: Point  -- ^ Center point of the circle arc.-    -> Double -- ^ Redius of the circle.+    -> Double -- ^ Radius of the circle.     -> Double -- ^ Angle to start drawing at, in radians.     -> Double -- ^ Angle to stop drawing at, in radians.     -> Path@@ -262,9 +262,9 @@          -> m    -- ^ Close          -> Path -- ^ Path to fold          -> m-foldPath moveTo_ lineTo_ arc_ arcNeg_ close_ path = +foldPath moveTo_ lineTo_ arc_ arcNeg_ close_ path =   let restF = foldPath moveTo_ lineTo_ arc_ arcNeg_ close_-  in case path of +  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@@ -276,9 +276,9 @@ --   that otherwise would be implicit. See 'Path' for details --   about what lines in paths are implicit. makeLinesExplicit :: Path -> Path-makeLinesExplicit (Arc c r s e rest) = +makeLinesExplicit (Arc c r s e rest) =   Arc c r s e $ makeLinesExplicit' rest-makeLinesExplicit (ArcNeg c r s e rest) = +makeLinesExplicit (ArcNeg c r s e rest) =   ArcNeg c r s e $ makeLinesExplicit' rest makeLinesExplicit path = makeLinesExplicit' path @@ -286,15 +286,15 @@ makeLinesExplicit' :: Path -> Path makeLinesExplicit' End   = End makeLinesExplicit' Close = Close-makeLinesExplicit' (Arc c r s e rest) = +makeLinesExplicit' (Arc c r s e rest) =   let p = translateP (pointToVec c) $ rotateP s $ Point r 0   in lineTo p <> arc c r s e <> makeLinesExplicit' rest-makeLinesExplicit' (ArcNeg c r s e rest) = +makeLinesExplicit' (ArcNeg c r s e rest) =   let p = translateP (pointToVec c) $ rotateP s $ Point r 0   in lineTo p <> arcNeg c r s e <> makeLinesExplicit' rest-makeLinesExplicit' (MoveTo p0 rest) = +makeLinesExplicit' (MoveTo p0 rest) =   MoveTo p0 $ makeLinesExplicit' rest-makeLinesExplicit' (LineTo p0 rest) = +makeLinesExplicit' (LineTo p0 rest) =   LineTo p0 $ makeLinesExplicit' rest  -- -----------------------------------------------------------------------@@ -345,12 +345,12 @@   negate = pointwise negate   abs    = pointwise abs   signum = pointwise signum-  +   fromInteger n = Matrix (fromInteger n) 0 0 (fromInteger n) 0 0  -- | Copied from Graphics.Rendering.Cairo.Matrix {-# INLINE pointwise #-}-pointwise :: (Double -> Double) -> Matrix -> Matrix  +pointwise :: (Double -> Double) -> Matrix -> Matrix pointwise f (Matrix xx_ yx_ xy_ yy_ x0_ y0_) =   Matrix (f xx_) (f yx_) (f xy_) (f yy_) (f x0_) (f y0_) @@ -392,4 +392,3 @@ invert :: Matrix -> Matrix invert m@(Matrix xx_ yx_ xy_ yy_ _ _) = scalarMultiply (recip det) $ adjoint m   where det = xx_*yy_ - yx_*xy_-