Chart 1.7.1 → 1.8
raw patch · 7 files changed
+140/−24 lines, 7 filesdep ~data-default-classPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: data-default-class
API changes (from Hackage documentation)
- Graphics.Rendering.Chart.Backend.Impl: DrawText :: Point -> String -> ChartBackendInstr ()
- Graphics.Rendering.Chart.Backend.Impl: FillPath :: Path -> ChartBackendInstr ()
- Graphics.Rendering.Chart.Backend.Impl: GetAlignments :: ChartBackendInstr AlignmentFns
- Graphics.Rendering.Chart.Backend.Impl: GetTextSize :: String -> ChartBackendInstr TextSize
- Graphics.Rendering.Chart.Backend.Impl: StrokePath :: Path -> ChartBackendInstr ()
- Graphics.Rendering.Chart.Backend.Impl: WithClipRegion :: Rect -> Program ChartBackendInstr a -> ChartBackendInstr a
- Graphics.Rendering.Chart.Backend.Impl: WithFillStyle :: FillStyle -> Program ChartBackendInstr a -> ChartBackendInstr a
- Graphics.Rendering.Chart.Backend.Impl: WithFontStyle :: FontStyle -> Program ChartBackendInstr a -> ChartBackendInstr a
- Graphics.Rendering.Chart.Backend.Impl: WithLineStyle :: LineStyle -> Program ChartBackendInstr a -> ChartBackendInstr a
- Graphics.Rendering.Chart.Backend.Impl: WithTransform :: Matrix -> Program ChartBackendInstr a -> ChartBackendInstr a
+ Graphics.Rendering.Chart.Backend.Impl: [DrawText] :: Point -> String -> ChartBackendInstr ()
+ Graphics.Rendering.Chart.Backend.Impl: [FillPath] :: Path -> ChartBackendInstr ()
+ Graphics.Rendering.Chart.Backend.Impl: [GetAlignments] :: ChartBackendInstr AlignmentFns
+ Graphics.Rendering.Chart.Backend.Impl: [GetTextSize] :: String -> ChartBackendInstr TextSize
+ Graphics.Rendering.Chart.Backend.Impl: [StrokePath] :: Path -> ChartBackendInstr ()
+ Graphics.Rendering.Chart.Backend.Impl: [WithClipRegion] :: Rect -> Program ChartBackendInstr a -> ChartBackendInstr a
+ Graphics.Rendering.Chart.Backend.Impl: [WithFillStyle] :: FillStyle -> Program ChartBackendInstr a -> ChartBackendInstr a
+ Graphics.Rendering.Chart.Backend.Impl: [WithFontStyle] :: FontStyle -> Program ChartBackendInstr a -> ChartBackendInstr a
+ Graphics.Rendering.Chart.Backend.Impl: [WithLineStyle] :: LineStyle -> Program ChartBackendInstr a -> ChartBackendInstr a
+ Graphics.Rendering.Chart.Backend.Impl: [WithTransform] :: Matrix -> Program ChartBackendInstr a -> ChartBackendInstr a
- Graphics.Rendering.Chart.Axis.Floating: LinearAxisParams :: (a -> String) -> Int -> Int -> LinearAxisParams a
+ Graphics.Rendering.Chart.Axis.Floating: LinearAxisParams :: ([a] -> [String]) -> Int -> Int -> LinearAxisParams a
- Graphics.Rendering.Chart.Axis.Floating: LogAxisParams :: (a -> String) -> LogAxisParams a
+ Graphics.Rendering.Chart.Axis.Floating: LogAxisParams :: ([a] -> [String]) -> LogAxisParams a
- Graphics.Rendering.Chart.Axis.Floating: [_la_labelf] :: LinearAxisParams a -> a -> String
+ Graphics.Rendering.Chart.Axis.Floating: [_la_labelf] :: LinearAxisParams a -> [a] -> [String]
- Graphics.Rendering.Chart.Axis.Floating: [_loga_labelf] :: LogAxisParams a -> a -> String
+ Graphics.Rendering.Chart.Axis.Floating: [_loga_labelf] :: LogAxisParams a -> [a] -> [String]
- Graphics.Rendering.Chart.Axis.Floating: la_labelf :: Lens (LinearAxisParams a_azJ4) (LinearAxisParams a_aAO6) (a_azJ4 -> String) (a_aAO6 -> String)
+ Graphics.Rendering.Chart.Axis.Floating: la_labelf :: forall a_aEzQ a_aG3F. Lens (LinearAxisParams a_aEzQ) (LinearAxisParams a_aG3F) ([a_aEzQ] -> [String]) ([a_aG3F] -> [String])
- Graphics.Rendering.Chart.Axis.Floating: la_nLabels :: Lens' (LinearAxisParams a_azJ4) Int
+ Graphics.Rendering.Chart.Axis.Floating: la_nLabels :: forall a_aEzQ. Lens' (LinearAxisParams a_aEzQ) Int
- Graphics.Rendering.Chart.Axis.Floating: la_nTicks :: Lens' (LinearAxisParams a_azJ4) Int
+ Graphics.Rendering.Chart.Axis.Floating: la_nTicks :: forall a_aEzQ. Lens' (LinearAxisParams a_aEzQ) Int
- Graphics.Rendering.Chart.Axis.Floating: loga_labelf :: Iso (LogAxisParams a_azJ3) (LogAxisParams a_aAPN) (a_azJ3 -> String) (a_aAPN -> String)
+ Graphics.Rendering.Chart.Axis.Floating: loga_labelf :: forall a_aEzP a_aG5h. Iso (LogAxisParams a_aEzP) (LogAxisParams a_aG5h) ([a_aEzP] -> [String]) ([a_aG5h] -> [String])
- Graphics.Rendering.Chart.Axis.Types: axis_grid :: Lens' (AxisData x_audJ) [x_audJ]
+ Graphics.Rendering.Chart.Axis.Types: axis_grid :: forall x_az99. Lens' (AxisData x_az99) [x_az99]
- Graphics.Rendering.Chart.Axis.Types: axis_labels :: Lens' (AxisData x_audJ) [[(x_audJ, String)]]
+ Graphics.Rendering.Chart.Axis.Types: axis_labels :: forall x_az99. Lens' (AxisData x_az99) [[(x_az99, String)]]
- Graphics.Rendering.Chart.Axis.Types: axis_ticks :: Lens' (AxisData x_audJ) [(x_audJ, Double)]
+ Graphics.Rendering.Chart.Axis.Types: axis_ticks :: forall x_az99. Lens' (AxisData x_az99) [(x_az99, Double)]
- Graphics.Rendering.Chart.Axis.Types: axis_tropweiv :: Lens' (AxisData x_audJ) (Range -> Double -> x_audJ)
+ Graphics.Rendering.Chart.Axis.Types: axis_tropweiv :: forall x_az99. Lens' (AxisData x_az99) (Range -> Double -> x_az99)
- Graphics.Rendering.Chart.Axis.Types: axis_viewport :: Lens' (AxisData x_audJ) (Range -> x_audJ -> Double)
+ Graphics.Rendering.Chart.Axis.Types: axis_viewport :: forall x_az99. Lens' (AxisData x_az99) (Range -> x_az99 -> Double)
- Graphics.Rendering.Chart.Axis.Types: axis_visibility :: Lens' (AxisData x_audJ) AxisVisibility
+ Graphics.Rendering.Chart.Axis.Types: axis_visibility :: forall x_az99. Lens' (AxisData x_az99) AxisVisibility
- Graphics.Rendering.Chart.Axis.Types: makeAxis :: PlotValue x => (x -> String) -> ([x], [x], [x]) -> AxisData x
+ Graphics.Rendering.Chart.Axis.Types: makeAxis :: PlotValue x => ([x] -> [String]) -> ([x], [x], [x]) -> AxisData x
- Graphics.Rendering.Chart.Axis.Types: makeAxis' :: Ord x => (x -> Double) -> (Double -> x) -> (x -> String) -> ([x], [x], [x]) -> AxisData x
+ Graphics.Rendering.Chart.Axis.Types: makeAxis' :: Ord x => (x -> Double) -> (Double -> x) -> ([x] -> [String]) -> ([x], [x], [x]) -> AxisData x
- Graphics.Rendering.Chart.Layout: laxis_generate :: Lens' (LayoutAxis x_a1gxM) (AxisFn x_a1gxM)
+ Graphics.Rendering.Chart.Layout: laxis_generate :: forall x_a1lOy. Lens' (LayoutAxis x_a1lOy) (AxisFn x_a1lOy)
- Graphics.Rendering.Chart.Layout: laxis_override :: Lens' (LayoutAxis x_a1gxM) (AxisData x_a1gxM -> AxisData x_a1gxM)
+ Graphics.Rendering.Chart.Layout: laxis_override :: forall x_a1lOy. Lens' (LayoutAxis x_a1lOy) (AxisData x_a1lOy -> AxisData x_a1lOy)
- Graphics.Rendering.Chart.Layout: laxis_reverse :: Lens' (LayoutAxis x_a1gxM) Bool
+ Graphics.Rendering.Chart.Layout: laxis_reverse :: forall x_a1lOy. Lens' (LayoutAxis x_a1lOy) Bool
- Graphics.Rendering.Chart.Layout: laxis_style :: Lens' (LayoutAxis x_a1gxM) AxisStyle
+ Graphics.Rendering.Chart.Layout: laxis_style :: forall x_a1lOy. Lens' (LayoutAxis x_a1lOy) AxisStyle
- Graphics.Rendering.Chart.Layout: laxis_title :: Lens' (LayoutAxis x_a1gxM) String
+ Graphics.Rendering.Chart.Layout: laxis_title :: forall x_a1lOy. Lens' (LayoutAxis x_a1lOy) String
- Graphics.Rendering.Chart.Layout: laxis_title_style :: Lens' (LayoutAxis x_a1gxM) FontStyle
+ Graphics.Rendering.Chart.Layout: laxis_title_style :: forall x_a1lOy. Lens' (LayoutAxis x_a1lOy) FontStyle
- Graphics.Rendering.Chart.Layout: layoutLRToGrid :: (Ord x, Ord yl, Ord yr) => LayoutLR x yl yr -> Grid (Renderable (LayoutPick x yl yr))
+ Graphics.Rendering.Chart.Layout: layoutLRToGrid :: forall x yl yr. (Ord x, Ord yl, Ord yr) => LayoutLR x yl yr -> Grid (Renderable (LayoutPick x yl yr))
- Graphics.Rendering.Chart.Layout: layoutLRToRenderable :: (Ord x, Ord yl, Ord yr) => LayoutLR x yl yr -> Renderable (LayoutPick x yl yr)
+ Graphics.Rendering.Chart.Layout: layoutLRToRenderable :: forall x yl yr. (Ord x, Ord yl, Ord yr) => LayoutLR x yl yr -> Renderable (LayoutPick x yl yr)
- Graphics.Rendering.Chart.Layout: layoutToGrid :: (Ord x, Ord y) => Layout x y -> Grid (Renderable (LayoutPick x y y))
+ Graphics.Rendering.Chart.Layout: layoutToGrid :: forall x y. (Ord x, Ord y) => Layout x y -> Grid (Renderable (LayoutPick x y y))
- Graphics.Rendering.Chart.Layout: layoutToRenderable :: (Ord x, Ord y) => Layout x y -> Renderable (LayoutPick x y y)
+ Graphics.Rendering.Chart.Layout: layoutToRenderable :: forall x y. (Ord x, Ord y) => Layout x y -> Renderable (LayoutPick x y y)
- Graphics.Rendering.Chart.Layout: layout_background :: Lens' (Layout x_a1gxH y_a1gxI) FillStyle
+ Graphics.Rendering.Chart.Layout: layout_background :: forall x_a1lOt y_a1lOu. Lens' (Layout x_a1lOt y_a1lOu) FillStyle
- Graphics.Rendering.Chart.Layout: layout_bottom_axis_visibility :: Lens' (Layout x_a1gxH y_a1gxI) AxisVisibility
+ Graphics.Rendering.Chart.Layout: layout_bottom_axis_visibility :: forall x_a1lOt y_a1lOu. Lens' (Layout x_a1lOt y_a1lOu) AxisVisibility
- Graphics.Rendering.Chart.Layout: layout_grid_last :: Lens' (Layout x_a1gxH y_a1gxI) Bool
+ Graphics.Rendering.Chart.Layout: layout_grid_last :: forall x_a1lOt y_a1lOu. Lens' (Layout x_a1lOt y_a1lOu) Bool
- Graphics.Rendering.Chart.Layout: layout_left_axis_visibility :: Lens' (Layout x_a1gxH y_a1gxI) AxisVisibility
+ Graphics.Rendering.Chart.Layout: layout_left_axis_visibility :: forall x_a1lOt y_a1lOu. Lens' (Layout x_a1lOt y_a1lOu) AxisVisibility
- Graphics.Rendering.Chart.Layout: layout_legend :: Lens' (Layout x_a1gxH y_a1gxI) (Maybe LegendStyle)
+ Graphics.Rendering.Chart.Layout: layout_legend :: forall x_a1lOt y_a1lOu. Lens' (Layout x_a1lOt y_a1lOu) (Maybe LegendStyle)
- Graphics.Rendering.Chart.Layout: layout_margin :: Lens' (Layout x_a1gxH y_a1gxI) Double
+ Graphics.Rendering.Chart.Layout: layout_margin :: forall x_a1lOt y_a1lOu. Lens' (Layout x_a1lOt y_a1lOu) Double
- Graphics.Rendering.Chart.Layout: layout_plot_background :: Lens' (Layout x_a1gxH y_a1gxI) (Maybe FillStyle)
+ Graphics.Rendering.Chart.Layout: layout_plot_background :: forall x_a1lOt y_a1lOu. Lens' (Layout x_a1lOt y_a1lOu) (Maybe FillStyle)
- Graphics.Rendering.Chart.Layout: layout_plots :: Lens' (Layout x_a1gxH y_a1gxI) [Plot x_a1gxH y_a1gxI]
+ Graphics.Rendering.Chart.Layout: layout_plots :: forall x_a1lOt y_a1lOu. Lens' (Layout x_a1lOt y_a1lOu) [Plot x_a1lOt y_a1lOu]
- Graphics.Rendering.Chart.Layout: layout_right_axis_visibility :: Lens' (Layout x_a1gxH y_a1gxI) AxisVisibility
+ Graphics.Rendering.Chart.Layout: layout_right_axis_visibility :: forall x_a1lOt y_a1lOu. Lens' (Layout x_a1lOt y_a1lOu) AxisVisibility
- Graphics.Rendering.Chart.Layout: layout_title :: Lens' (Layout x_a1gxH y_a1gxI) String
+ Graphics.Rendering.Chart.Layout: layout_title :: forall x_a1lOt y_a1lOu. Lens' (Layout x_a1lOt y_a1lOu) String
- Graphics.Rendering.Chart.Layout: layout_title_style :: Lens' (Layout x_a1gxH y_a1gxI) FontStyle
+ Graphics.Rendering.Chart.Layout: layout_title_style :: forall x_a1lOt y_a1lOu. Lens' (Layout x_a1lOt y_a1lOu) FontStyle
- Graphics.Rendering.Chart.Layout: layout_top_axis_visibility :: Lens' (Layout x_a1gxH y_a1gxI) AxisVisibility
+ Graphics.Rendering.Chart.Layout: layout_top_axis_visibility :: forall x_a1lOt y_a1lOu. Lens' (Layout x_a1lOt y_a1lOu) AxisVisibility
- Graphics.Rendering.Chart.Layout: layout_x_axis :: Lens' (Layout x_a1gxH y_a1gxI) (LayoutAxis x_a1gxH)
+ Graphics.Rendering.Chart.Layout: layout_x_axis :: forall x_a1lOt y_a1lOu. Lens' (Layout x_a1lOt y_a1lOu) (LayoutAxis x_a1lOt)
- Graphics.Rendering.Chart.Layout: layout_y_axis :: Lens' (Layout x_a1gxH y_a1gxI) (LayoutAxis y_a1gxI)
+ Graphics.Rendering.Chart.Layout: layout_y_axis :: forall x_a1lOt y_a1lOu. Lens' (Layout x_a1lOt y_a1lOu) (LayoutAxis y_a1lOu)
- Graphics.Rendering.Chart.Layout: layoutlr_background :: Lens' (LayoutLR x_a1gxE y1_a1gxF y2_a1gxG) FillStyle
+ Graphics.Rendering.Chart.Layout: layoutlr_background :: forall x_a1lOq y1_a1lOr y2_a1lOs. Lens' (LayoutLR x_a1lOq y1_a1lOr y2_a1lOs) FillStyle
- Graphics.Rendering.Chart.Layout: layoutlr_bottom_axis_visibility :: Lens' (LayoutLR x_a1gxE y1_a1gxF y2_a1gxG) AxisVisibility
+ Graphics.Rendering.Chart.Layout: layoutlr_bottom_axis_visibility :: forall x_a1lOq y1_a1lOr y2_a1lOs. Lens' (LayoutLR x_a1lOq y1_a1lOr y2_a1lOs) AxisVisibility
- Graphics.Rendering.Chart.Layout: layoutlr_grid_last :: Lens' (LayoutLR x_a1gxE y1_a1gxF y2_a1gxG) Bool
+ Graphics.Rendering.Chart.Layout: layoutlr_grid_last :: forall x_a1lOq y1_a1lOr y2_a1lOs. Lens' (LayoutLR x_a1lOq y1_a1lOr y2_a1lOs) Bool
- Graphics.Rendering.Chart.Layout: layoutlr_left_axis :: Lens' (LayoutLR x_a1gxE y1_a1gxF y2_a1gxG) (LayoutAxis y1_a1gxF)
+ Graphics.Rendering.Chart.Layout: layoutlr_left_axis :: forall x_a1lOq y1_a1lOr y2_a1lOs. Lens' (LayoutLR x_a1lOq y1_a1lOr y2_a1lOs) (LayoutAxis y1_a1lOr)
- Graphics.Rendering.Chart.Layout: layoutlr_left_axis_visibility :: Lens' (LayoutLR x_a1gxE y1_a1gxF y2_a1gxG) AxisVisibility
+ Graphics.Rendering.Chart.Layout: layoutlr_left_axis_visibility :: forall x_a1lOq y1_a1lOr y2_a1lOs. Lens' (LayoutLR x_a1lOq y1_a1lOr y2_a1lOs) AxisVisibility
- Graphics.Rendering.Chart.Layout: layoutlr_legend :: Lens' (LayoutLR x_a1gxE y1_a1gxF y2_a1gxG) (Maybe LegendStyle)
+ Graphics.Rendering.Chart.Layout: layoutlr_legend :: forall x_a1lOq y1_a1lOr y2_a1lOs. Lens' (LayoutLR x_a1lOq y1_a1lOr y2_a1lOs) (Maybe LegendStyle)
- Graphics.Rendering.Chart.Layout: layoutlr_margin :: Lens' (LayoutLR x_a1gxE y1_a1gxF y2_a1gxG) Double
+ Graphics.Rendering.Chart.Layout: layoutlr_margin :: forall x_a1lOq y1_a1lOr y2_a1lOs. Lens' (LayoutLR x_a1lOq y1_a1lOr y2_a1lOs) Double
- Graphics.Rendering.Chart.Layout: layoutlr_plot_background :: Lens' (LayoutLR x_a1gxE y1_a1gxF y2_a1gxG) (Maybe FillStyle)
+ Graphics.Rendering.Chart.Layout: layoutlr_plot_background :: forall x_a1lOq y1_a1lOr y2_a1lOs. Lens' (LayoutLR x_a1lOq y1_a1lOr y2_a1lOs) (Maybe FillStyle)
- Graphics.Rendering.Chart.Layout: layoutlr_plots :: Lens' (LayoutLR x_a1gxE y1_a1gxF y2_a1gxG) [Either (Plot x_a1gxE y1_a1gxF) (Plot x_a1gxE y2_a1gxG)]
+ Graphics.Rendering.Chart.Layout: layoutlr_plots :: forall x_a1lOq y1_a1lOr y2_a1lOs. Lens' (LayoutLR x_a1lOq y1_a1lOr y2_a1lOs) [Either (Plot x_a1lOq y1_a1lOr) (Plot x_a1lOq y2_a1lOs)]
- Graphics.Rendering.Chart.Layout: layoutlr_right_axis :: Lens' (LayoutLR x_a1gxE y1_a1gxF y2_a1gxG) (LayoutAxis y2_a1gxG)
+ Graphics.Rendering.Chart.Layout: layoutlr_right_axis :: forall x_a1lOq y1_a1lOr y2_a1lOs. Lens' (LayoutLR x_a1lOq y1_a1lOr y2_a1lOs) (LayoutAxis y2_a1lOs)
- Graphics.Rendering.Chart.Layout: layoutlr_right_axis_visibility :: Lens' (LayoutLR x_a1gxE y1_a1gxF y2_a1gxG) AxisVisibility
+ Graphics.Rendering.Chart.Layout: layoutlr_right_axis_visibility :: forall x_a1lOq y1_a1lOr y2_a1lOs. Lens' (LayoutLR x_a1lOq y1_a1lOr y2_a1lOs) AxisVisibility
- Graphics.Rendering.Chart.Layout: layoutlr_title :: Lens' (LayoutLR x_a1gxE y1_a1gxF y2_a1gxG) String
+ Graphics.Rendering.Chart.Layout: layoutlr_title :: forall x_a1lOq y1_a1lOr y2_a1lOs. Lens' (LayoutLR x_a1lOq y1_a1lOr y2_a1lOs) String
- Graphics.Rendering.Chart.Layout: layoutlr_title_style :: Lens' (LayoutLR x_a1gxE y1_a1gxF y2_a1gxG) FontStyle
+ Graphics.Rendering.Chart.Layout: layoutlr_title_style :: forall x_a1lOq y1_a1lOr y2_a1lOs. Lens' (LayoutLR x_a1lOq y1_a1lOr y2_a1lOs) FontStyle
- Graphics.Rendering.Chart.Layout: layoutlr_top_axis_visibility :: Lens' (LayoutLR x_a1gxE y1_a1gxF y2_a1gxG) AxisVisibility
+ Graphics.Rendering.Chart.Layout: layoutlr_top_axis_visibility :: forall x_a1lOq y1_a1lOr y2_a1lOs. Lens' (LayoutLR x_a1lOq y1_a1lOr y2_a1lOs) AxisVisibility
- Graphics.Rendering.Chart.Layout: layoutlr_x_axis :: Lens' (LayoutLR x_a1gxE y1_a1gxF y2_a1gxG) (LayoutAxis x_a1gxE)
+ Graphics.Rendering.Chart.Layout: layoutlr_x_axis :: forall x_a1lOq y1_a1lOr y2_a1lOs. Lens' (LayoutLR x_a1lOq y1_a1lOr y2_a1lOs) (LayoutAxis x_a1lOq)
- Graphics.Rendering.Chart.Layout: renderStackedLayouts :: (Ord x) => StackedLayouts x -> Renderable ()
+ Graphics.Rendering.Chart.Layout: renderStackedLayouts :: forall x. (Ord x) => StackedLayouts x -> Renderable ()
- Graphics.Rendering.Chart.Layout: slayouts_compress_legend :: Lens' (StackedLayouts x_a1gxz) Bool
+ Graphics.Rendering.Chart.Layout: slayouts_compress_legend :: forall x_a1lOl. Lens' (StackedLayouts x_a1lOl) Bool
- Graphics.Rendering.Chart.Layout: slayouts_layouts :: Lens (StackedLayouts x_a1gxz) (StackedLayouts x_a1ia2) [StackedLayout x_a1gxz] [StackedLayout x_a1ia2]
+ Graphics.Rendering.Chart.Layout: slayouts_layouts :: forall x_a1lOl x_a1nlf. Lens (StackedLayouts x_a1lOl) (StackedLayouts x_a1nlf) [StackedLayout x_a1lOl] [StackedLayout x_a1nlf]
- Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_angle :: Lens' (PlotAnnotation x_a18du y_a18dv) Double
+ Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_angle :: forall x_a1duF y_a1duG. Lens' (PlotAnnotation x_a1duF y_a1duG) Double
- Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_hanchor :: Lens' (PlotAnnotation x_a18du y_a18dv) HTextAnchor
+ Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_hanchor :: forall x_a1duF y_a1duG. Lens' (PlotAnnotation x_a1duF y_a1duG) HTextAnchor
- Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_style :: Lens' (PlotAnnotation x_a18du y_a18dv) FontStyle
+ Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_style :: forall x_a1duF y_a1duG. Lens' (PlotAnnotation x_a1duF y_a1duG) FontStyle
- Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_values :: Lens (PlotAnnotation x_a18du y_a18dv) (PlotAnnotation x_a18gX y_a18gY) [(x_a18du, y_a18dv, String)] [(x_a18gX, y_a18gY, String)]
+ Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_values :: forall x_a1duF y_a1duG x_a1dyt y_a1dyu. Lens (PlotAnnotation x_a1duF y_a1duG) (PlotAnnotation x_a1dyt y_a1dyu) [(x_a1duF, y_a1duG, String)] [(x_a1dyt, y_a1dyu, String)]
- Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_vanchor :: Lens' (PlotAnnotation x_a18du y_a18dv) VTextAnchor
+ Graphics.Rendering.Chart.Plot.Annotation: plot_annotation_vanchor :: forall x_a1duF y_a1duG. Lens' (PlotAnnotation x_a1duF y_a1duG) VTextAnchor
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_linethick :: Lens' (AreaSpots4D z_a18Ml t_a18Mm x_a18Mn y_a18Mo) Double
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_linethick :: forall z_a1e3a t_a1e3b x_a1e3c y_a1e3d. Lens' (AreaSpots4D z_a1e3a t_a1e3b x_a1e3c y_a1e3d) Double
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_max_radius :: Lens' (AreaSpots4D z_a18Ml t_a18Mm x_a18Mn y_a18Mo) Double
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_max_radius :: forall z_a1e3a t_a1e3b x_a1e3c y_a1e3d. Lens' (AreaSpots4D z_a1e3a t_a1e3b x_a1e3c y_a1e3d) Double
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_opacity :: Lens' (AreaSpots4D z_a18Ml t_a18Mm x_a18Mn y_a18Mo) Double
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_opacity :: forall z_a1e3a t_a1e3b x_a1e3c y_a1e3d. Lens' (AreaSpots4D z_a1e3a t_a1e3b x_a1e3c y_a1e3d) Double
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_palette :: Lens' (AreaSpots4D z_a18Ml t_a18Mm x_a18Mn y_a18Mo) [Colour Double]
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_palette :: forall z_a1e3a t_a1e3b x_a1e3c y_a1e3d. Lens' (AreaSpots4D z_a1e3a t_a1e3b x_a1e3c y_a1e3d) [Colour Double]
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_title :: Lens' (AreaSpots4D z_a18Ml t_a18Mm x_a18Mn y_a18Mo) String
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_title :: forall z_a1e3a t_a1e3b x_a1e3c y_a1e3d. Lens' (AreaSpots4D z_a1e3a t_a1e3b x_a1e3c y_a1e3d) String
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_values :: Lens (AreaSpots4D z_a18Ml t_a18Mm x_a18Mn y_a18Mo) (AreaSpots4D z_a19E9 t_a19Ea x_a19Eb y_a19Ec) [(x_a18Mn, y_a18Mo, z_a18Ml, t_a18Mm)] [(x_a19Eb, y_a19Ec, z_a19E9, t_a19Ea)]
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_4d_values :: forall z_a1e3a t_a1e3b x_a1e3c y_a1e3d z_a1f20 t_a1f21 x_a1f22 y_a1f23. Lens (AreaSpots4D z_a1e3a t_a1e3b x_a1e3c y_a1e3d) (AreaSpots4D z_a1f20 t_a1f21 x_a1f22 y_a1f23) [(x_a1e3c, y_a1e3d, z_a1e3a, t_a1e3b)] [(x_a1f22, y_a1f23, z_a1f20, t_a1f21)]
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_fillcolour :: Lens' (AreaSpots z_a18Mp x_a18Mq y_a18Mr) (Colour Double)
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_fillcolour :: forall z_a1e3e x_a1e3f y_a1e3g. Lens' (AreaSpots z_a1e3e x_a1e3f y_a1e3g) (Colour Double)
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_linecolour :: Lens' (AreaSpots z_a18Mp x_a18Mq y_a18Mr) (AlphaColour Double)
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_linecolour :: forall z_a1e3e x_a1e3f y_a1e3g. Lens' (AreaSpots z_a1e3e x_a1e3f y_a1e3g) (AlphaColour Double)
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_linethick :: Lens' (AreaSpots z_a18Mp x_a18Mq y_a18Mr) Double
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_linethick :: forall z_a1e3e x_a1e3f y_a1e3g. Lens' (AreaSpots z_a1e3e x_a1e3f y_a1e3g) Double
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_max_radius :: Lens' (AreaSpots z_a18Mp x_a18Mq y_a18Mr) Double
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_max_radius :: forall z_a1e3e x_a1e3f y_a1e3g. Lens' (AreaSpots z_a1e3e x_a1e3f y_a1e3g) Double
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_opacity :: Lens' (AreaSpots z_a18Mp x_a18Mq y_a18Mr) Double
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_opacity :: forall z_a1e3e x_a1e3f y_a1e3g. Lens' (AreaSpots z_a1e3e x_a1e3f y_a1e3g) Double
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_title :: Lens' (AreaSpots z_a18Mp x_a18Mq y_a18Mr) String
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_title :: forall z_a1e3e x_a1e3f y_a1e3g. Lens' (AreaSpots z_a1e3e x_a1e3f y_a1e3g) String
- Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_values :: Lens (AreaSpots z_a18Mp x_a18Mq y_a18Mr) (AreaSpots z_a19yG x_a19yH y_a19yI) [(x_a18Mq, y_a18Mr, z_a18Mp)] [(x_a19yH, y_a19yI, z_a19yG)]
+ Graphics.Rendering.Chart.Plot.AreaSpots: area_spots_values :: forall z_a1e3e x_a1e3f y_a1e3g z_a1eWU x_a1eWV y_a1eWW. Lens (AreaSpots z_a1e3e x_a1e3f y_a1e3g) (AreaSpots z_a1eWU x_a1eWV y_a1eWW) [(x_a1e3f, y_a1e3g, z_a1e3e)] [(x_a1eWV, y_a1eWW, z_a1eWU)]
- Graphics.Rendering.Chart.Plot.Bars: plot_bars_alignment :: Lens' (PlotBars x_a15xa y_a15xb) PlotBarsAlignment
+ Graphics.Rendering.Chart.Plot.Bars: plot_bars_alignment :: forall x_a1aMO y_a1aMP. Lens' (PlotBars x_a1aMO y_a1aMP) PlotBarsAlignment
- Graphics.Rendering.Chart.Plot.Bars: plot_bars_item_styles :: Lens' (PlotBars x_a15xa y_a15xb) [(FillStyle, Maybe LineStyle)]
+ Graphics.Rendering.Chart.Plot.Bars: plot_bars_item_styles :: forall x_a1aMO y_a1aMP. Lens' (PlotBars x_a1aMO y_a1aMP) [(FillStyle, Maybe LineStyle)]
- Graphics.Rendering.Chart.Plot.Bars: plot_bars_reference :: Lens' (PlotBars x_a15xa y_a15xb) y_a15xb
+ Graphics.Rendering.Chart.Plot.Bars: plot_bars_reference :: forall x_a1aMO y_a1aMP. Lens' (PlotBars x_a1aMO y_a1aMP) y_a1aMP
- Graphics.Rendering.Chart.Plot.Bars: plot_bars_singleton_width :: Lens' (PlotBars x_a15xa y_a15xb) Double
+ Graphics.Rendering.Chart.Plot.Bars: plot_bars_singleton_width :: forall x_a1aMO y_a1aMP. Lens' (PlotBars x_a1aMO y_a1aMP) Double
- Graphics.Rendering.Chart.Plot.Bars: plot_bars_spacing :: Lens' (PlotBars x_a15xa y_a15xb) PlotBarsSpacing
+ Graphics.Rendering.Chart.Plot.Bars: plot_bars_spacing :: forall x_a1aMO y_a1aMP. Lens' (PlotBars x_a1aMO y_a1aMP) PlotBarsSpacing
- Graphics.Rendering.Chart.Plot.Bars: plot_bars_style :: Lens' (PlotBars x_a15xa y_a15xb) PlotBarsStyle
+ Graphics.Rendering.Chart.Plot.Bars: plot_bars_style :: forall x_a1aMO y_a1aMP. Lens' (PlotBars x_a1aMO y_a1aMP) PlotBarsStyle
- Graphics.Rendering.Chart.Plot.Bars: plot_bars_titles :: Lens' (PlotBars x_a15xa y_a15xb) [String]
+ Graphics.Rendering.Chart.Plot.Bars: plot_bars_titles :: forall x_a1aMO y_a1aMP. Lens' (PlotBars x_a1aMO y_a1aMP) [String]
- Graphics.Rendering.Chart.Plot.Bars: plot_bars_values :: Lens (PlotBars x_a15xa y_a15xb) (PlotBars x_a15O0 y_a15xb) [(x_a15xa, [y_a15xb])] [(x_a15O0, [y_a15xb])]
+ Graphics.Rendering.Chart.Plot.Bars: plot_bars_values :: forall x_a1aMO y_a1aMP x_a1b5g. Lens (PlotBars x_a1aMO y_a1aMP) (PlotBars x_a1b5g y_a1aMP) [(x_a1aMO, [y_a1aMP])] [(x_a1b5g, [y_a1aMP])]
- Graphics.Rendering.Chart.Plot.Candle: plot_candle_centre :: Lens' (PlotCandle x_a12Qf y_a12Qg) Double
+ Graphics.Rendering.Chart.Plot.Candle: plot_candle_centre :: forall x_a189I y_a189J. Lens' (PlotCandle x_a189I y_a189J) Double
- Graphics.Rendering.Chart.Plot.Candle: plot_candle_fall_fill_style :: Lens' (PlotCandle x_a12Qf y_a12Qg) FillStyle
+ Graphics.Rendering.Chart.Plot.Candle: plot_candle_fall_fill_style :: forall x_a189I y_a189J. Lens' (PlotCandle x_a189I y_a189J) FillStyle
- Graphics.Rendering.Chart.Plot.Candle: plot_candle_fill :: Lens' (PlotCandle x_a12Qf y_a12Qg) Bool
+ Graphics.Rendering.Chart.Plot.Candle: plot_candle_fill :: forall x_a189I y_a189J. Lens' (PlotCandle x_a189I y_a189J) Bool
- Graphics.Rendering.Chart.Plot.Candle: plot_candle_line_style :: Lens' (PlotCandle x_a12Qf y_a12Qg) LineStyle
+ Graphics.Rendering.Chart.Plot.Candle: plot_candle_line_style :: forall x_a189I y_a189J. Lens' (PlotCandle x_a189I y_a189J) LineStyle
- Graphics.Rendering.Chart.Plot.Candle: plot_candle_rise_fill_style :: Lens' (PlotCandle x_a12Qf y_a12Qg) FillStyle
+ Graphics.Rendering.Chart.Plot.Candle: plot_candle_rise_fill_style :: forall x_a189I y_a189J. Lens' (PlotCandle x_a189I y_a189J) FillStyle
- Graphics.Rendering.Chart.Plot.Candle: plot_candle_tick_length :: Lens' (PlotCandle x_a12Qf y_a12Qg) Double
+ Graphics.Rendering.Chart.Plot.Candle: plot_candle_tick_length :: forall x_a189I y_a189J. Lens' (PlotCandle x_a189I y_a189J) Double
- Graphics.Rendering.Chart.Plot.Candle: plot_candle_title :: Lens' (PlotCandle x_a12Qf y_a12Qg) String
+ Graphics.Rendering.Chart.Plot.Candle: plot_candle_title :: forall x_a189I y_a189J. Lens' (PlotCandle x_a189I y_a189J) String
- Graphics.Rendering.Chart.Plot.Candle: plot_candle_values :: Lens (PlotCandle x_a12Qf y_a12Qg) (PlotCandle x_a133G y_a133H) [Candle x_a12Qf y_a12Qg] [Candle x_a133G y_a133H]
+ Graphics.Rendering.Chart.Plot.Candle: plot_candle_values :: forall x_a189I y_a189J x_a18mp y_a18mq. Lens (PlotCandle x_a189I y_a189J) (PlotCandle x_a18mp y_a18mq) [Candle x_a189I y_a189J] [Candle x_a18mp y_a18mq]
- Graphics.Rendering.Chart.Plot.Candle: plot_candle_width :: Lens' (PlotCandle x_a12Qf y_a12Qg) Double
+ Graphics.Rendering.Chart.Plot.Candle: plot_candle_width :: forall x_a189I y_a189J. Lens' (PlotCandle x_a189I y_a189J) Double
- Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_line_style :: Lens' (PlotErrBars x_a10Bs y_a10Bt) LineStyle
+ Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_line_style :: forall x_a15YA y_a15YB. Lens' (PlotErrBars x_a15YA y_a15YB) LineStyle
- Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_overhang :: Lens' (PlotErrBars x_a10Bs y_a10Bt) Double
+ Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_overhang :: forall x_a15YA y_a15YB. Lens' (PlotErrBars x_a15YA y_a15YB) Double
- Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_tick_length :: Lens' (PlotErrBars x_a10Bs y_a10Bt) Double
+ Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_tick_length :: forall x_a15YA y_a15YB. Lens' (PlotErrBars x_a15YA y_a15YB) Double
- Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_title :: Lens' (PlotErrBars x_a10Bs y_a10Bt) String
+ Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_title :: forall x_a15YA y_a15YB. Lens' (PlotErrBars x_a15YA y_a15YB) String
- Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_values :: Lens (PlotErrBars x_a10Bs y_a10Bt) (PlotErrBars x_a10Pt y_a10Pu) [ErrPoint x_a10Bs y_a10Bt] [ErrPoint x_a10Pt y_a10Pu]
+ Graphics.Rendering.Chart.Plot.ErrBars: plot_errbars_values :: forall x_a15YA y_a15YB x_a16a5 y_a16a6. Lens (PlotErrBars x_a15YA y_a15YB) (PlotErrBars x_a16a5 y_a16a6) [ErrPoint x_a15YA y_a15YB] [ErrPoint x_a16a5 y_a16a6]
- Graphics.Rendering.Chart.Plot.FillBetween: plot_fillbetween_style :: Lens' (PlotFillBetween x_aZPN y_aZPO) FillStyle
+ Graphics.Rendering.Chart.Plot.FillBetween: plot_fillbetween_style :: forall x_a15dw y_a15dx. Lens' (PlotFillBetween x_a15dw y_a15dx) FillStyle
- Graphics.Rendering.Chart.Plot.FillBetween: plot_fillbetween_title :: Lens' (PlotFillBetween x_aZPN y_aZPO) String
+ Graphics.Rendering.Chart.Plot.FillBetween: plot_fillbetween_title :: forall x_a15dw y_a15dx. Lens' (PlotFillBetween x_a15dw y_a15dx) String
- Graphics.Rendering.Chart.Plot.FillBetween: plot_fillbetween_values :: Lens (PlotFillBetween x_aZPN y_aZPO) (PlotFillBetween x_aZUi y_aZUj) [(x_aZPN, (y_aZPO, y_aZPO))] [(x_aZUi, (y_aZUj, y_aZUj))]
+ Graphics.Rendering.Chart.Plot.FillBetween: plot_fillbetween_values :: forall x_a15dw y_a15dx x_a15i0 y_a15i1. Lens (PlotFillBetween x_a15dw y_a15dx) (PlotFillBetween x_a15i0 y_a15i1) [(x_a15dw, (y_a15dx, y_a15dx))] [(x_a15i0, (y_a15i1, y_a15i1))]
- Graphics.Rendering.Chart.Plot.Hidden: plot_hidden_x_values :: Lens (PlotHidden x_aUvK y_aUvL) (PlotHidden x_aUwy y_aUvL) [x_aUvK] [x_aUwy]
+ Graphics.Rendering.Chart.Plot.Hidden: plot_hidden_x_values :: forall x_a109H y_a109I x_a10az. Lens (PlotHidden x_a109H y_a109I) (PlotHidden x_a10az y_a109I) [x_a109H] [x_a10az]
- Graphics.Rendering.Chart.Plot.Hidden: plot_hidden_y_values :: Lens (PlotHidden x_aUvK y_aUvL) (PlotHidden x_aUvK y_aUwz) [y_aUvL] [y_aUwz]
+ Graphics.Rendering.Chart.Plot.Hidden: plot_hidden_y_values :: forall x_a109H y_a109I y_a10aA. Lens (PlotHidden x_a109H y_a109I) (PlotHidden x_a109H y_a10aA) [y_a109I] [y_a10aA]
- Graphics.Rendering.Chart.Plot.Histogram: plot_hist_bins :: Lens' (PlotHist x_a1ev5 y_a1ev6) Int
+ Graphics.Rendering.Chart.Plot.Histogram: plot_hist_bins :: forall x_a1jLc y_a1jLd. Lens' (PlotHist x_a1jLc y_a1jLd) Int
- Graphics.Rendering.Chart.Plot.Histogram: plot_hist_drop_lines :: Lens' (PlotHist x_a1ev5 y_a1ev6) Bool
+ Graphics.Rendering.Chart.Plot.Histogram: plot_hist_drop_lines :: forall x_a1jLc y_a1jLd. Lens' (PlotHist x_a1jLc y_a1jLd) Bool
- Graphics.Rendering.Chart.Plot.Histogram: plot_hist_fill_style :: Lens' (PlotHist x_a1ev5 y_a1ev6) FillStyle
+ Graphics.Rendering.Chart.Plot.Histogram: plot_hist_fill_style :: forall x_a1jLc y_a1jLd. Lens' (PlotHist x_a1jLc y_a1jLd) FillStyle
- Graphics.Rendering.Chart.Plot.Histogram: plot_hist_line_style :: Lens' (PlotHist x_a1ev5 y_a1ev6) LineStyle
+ Graphics.Rendering.Chart.Plot.Histogram: plot_hist_line_style :: forall x_a1jLc y_a1jLd. Lens' (PlotHist x_a1jLc y_a1jLd) LineStyle
- Graphics.Rendering.Chart.Plot.Histogram: plot_hist_no_zeros :: Lens' (PlotHist x_a1ev5 y_a1ev6) Bool
+ Graphics.Rendering.Chart.Plot.Histogram: plot_hist_no_zeros :: forall x_a1jLc y_a1jLd. Lens' (PlotHist x_a1jLc y_a1jLd) Bool
- Graphics.Rendering.Chart.Plot.Histogram: plot_hist_norm_func :: Lens (PlotHist x_a1ev5 y_a1ev6) (PlotHist x_a1ev5 y_a1eKe) (Double -> Int -> y_a1ev6) (Double -> Int -> y_a1eKe)
+ Graphics.Rendering.Chart.Plot.Histogram: plot_hist_norm_func :: forall x_a1jLc y_a1jLd y_a1jYY. Lens (PlotHist x_a1jLc y_a1jLd) (PlotHist x_a1jLc y_a1jYY) (Double -> Int -> y_a1jLd) (Double -> Int -> y_a1jYY)
- Graphics.Rendering.Chart.Plot.Histogram: plot_hist_range :: Lens' (PlotHist x_a1ev5 y_a1ev6) (Maybe (x_a1ev5, x_a1ev5))
+ Graphics.Rendering.Chart.Plot.Histogram: plot_hist_range :: forall x_a1jLc y_a1jLd. Lens' (PlotHist x_a1jLc y_a1jLd) (Maybe (x_a1jLc, x_a1jLc))
- Graphics.Rendering.Chart.Plot.Histogram: plot_hist_title :: Lens' (PlotHist x_a1ev5 y_a1ev6) String
+ Graphics.Rendering.Chart.Plot.Histogram: plot_hist_title :: forall x_a1jLc y_a1jLd. Lens' (PlotHist x_a1jLc y_a1jLd) String
- Graphics.Rendering.Chart.Plot.Histogram: plot_hist_values :: Lens' (PlotHist x_a1ev5 y_a1ev6) [x_a1ev5]
+ Graphics.Rendering.Chart.Plot.Histogram: plot_hist_values :: forall x_a1jLc y_a1jLd. Lens' (PlotHist x_a1jLc y_a1jLd) [x_a1jLc]
- Graphics.Rendering.Chart.Plot.Lines: plot_lines_limit_values :: Lens' (PlotLines x_aUI7 y_aUI8) [[(Limit x_aUI7, Limit y_aUI8)]]
+ Graphics.Rendering.Chart.Plot.Lines: plot_lines_limit_values :: forall x_a10lK y_a10lL. Lens' (PlotLines x_a10lK y_a10lL) [[(Limit x_a10lK, Limit y_a10lL)]]
- Graphics.Rendering.Chart.Plot.Lines: plot_lines_style :: Lens' (PlotLines x_aUI7 y_aUI8) LineStyle
+ Graphics.Rendering.Chart.Plot.Lines: plot_lines_style :: forall x_a10lK y_a10lL. Lens' (PlotLines x_a10lK y_a10lL) LineStyle
- Graphics.Rendering.Chart.Plot.Lines: plot_lines_title :: Lens' (PlotLines x_aUI7 y_aUI8) String
+ Graphics.Rendering.Chart.Plot.Lines: plot_lines_title :: forall x_a10lK y_a10lL. Lens' (PlotLines x_a10lK y_a10lL) String
- Graphics.Rendering.Chart.Plot.Lines: plot_lines_values :: Lens' (PlotLines x_aUI7 y_aUI8) [[(x_aUI7, y_aUI8)]]
+ Graphics.Rendering.Chart.Plot.Lines: plot_lines_values :: forall x_a10lK y_a10lL. Lens' (PlotLines x_a10lK y_a10lL) [[(x_a10lK, y_a10lL)]]
- Graphics.Rendering.Chart.Plot.Points: plot_points_style :: Lens' (PlotPoints x_aZjG y_aZjH) PointStyle
+ Graphics.Rendering.Chart.Plot.Points: plot_points_style :: forall x_a14J4 y_a14J5. Lens' (PlotPoints x_a14J4 y_a14J5) PointStyle
- Graphics.Rendering.Chart.Plot.Points: plot_points_title :: Lens' (PlotPoints x_aZjG y_aZjH) String
+ Graphics.Rendering.Chart.Plot.Points: plot_points_title :: forall x_a14J4 y_a14J5. Lens' (PlotPoints x_a14J4 y_a14J5) String
- Graphics.Rendering.Chart.Plot.Points: plot_points_values :: Lens (PlotPoints x_aZjG y_aZjH) (PlotPoints x_aZn4 y_aZn5) [(x_aZjG, y_aZjH)] [(x_aZn4, y_aZn5)]
+ Graphics.Rendering.Chart.Plot.Points: plot_points_values :: forall x_a14J4 y_a14J5 x_a14Ms y_a14Mt. Lens (PlotPoints x_a14J4 y_a14J5) (PlotPoints x_a14Ms y_a14Mt) [(x_a14J4, y_a14J5)] [(x_a14Ms, y_a14Mt)]
- Graphics.Rendering.Chart.Plot.Types: plot_all_points :: Lens' (Plot x_aUa6 y_aUa7) ([x_aUa6], [y_aUa7])
+ Graphics.Rendering.Chart.Plot.Types: plot_all_points :: forall x_aZNr y_aZNs. Lens' (Plot x_aZNr y_aZNs) ([x_aZNr], [y_aZNs])
- Graphics.Rendering.Chart.Plot.Types: plot_legend :: Lens' (Plot x_aUa6 y_aUa7) [(String, Rect -> BackendProgram ())]
+ Graphics.Rendering.Chart.Plot.Types: plot_legend :: forall x_aZNr y_aZNs. Lens' (Plot x_aZNr y_aZNs) [(String, Rect -> BackendProgram ())]
- Graphics.Rendering.Chart.Plot.Types: plot_render :: Lens' (Plot x_aUa6 y_aUa7) (PointMapFn x_aUa6 y_aUa7 -> BackendProgram ())
+ Graphics.Rendering.Chart.Plot.Types: plot_render :: forall x_aZNr y_aZNs. Lens' (Plot x_aZNr y_aZNs) (PointMapFn x_aZNr y_aZNs -> BackendProgram ())
- Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_grid :: Lens' (PlotVectors x_aVCM y_aVCN) [(x_aVCM, y_aVCN)]
+ Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_grid :: forall x_a11e3 y_a11e4. Lens' (PlotVectors x_a11e3 y_a11e4) [(x_a11e3, y_a11e4)]
- Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_mapf :: Lens' (PlotVectors x_aVCM y_aVCN) ((x_aVCM, y_aVCN) -> (x_aVCM, y_aVCN))
+ Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_mapf :: forall x_a11e3 y_a11e4. Lens' (PlotVectors x_a11e3 y_a11e4) ((x_a11e3, y_a11e4) -> (x_a11e3, y_a11e4))
- Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_scale :: Lens' (PlotVectors x_aVCM y_aVCN) Double
+ Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_scale :: forall x_a11e3 y_a11e4. Lens' (PlotVectors x_a11e3 y_a11e4) Double
- Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_style :: Lens' (PlotVectors x_aVCM y_aVCN) VectorStyle
+ Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_style :: forall x_a11e3 y_a11e4. Lens' (PlotVectors x_a11e3 y_a11e4) VectorStyle
- Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_title :: Lens' (PlotVectors x_aVCM y_aVCN) String
+ Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_title :: forall x_a11e3 y_a11e4. Lens' (PlotVectors x_a11e3 y_a11e4) String
- Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_values :: Lens' (PlotVectors x_aVCM y_aVCN) [((x_aVCM, y_aVCN), (x_aVCM, y_aVCN))]
+ Graphics.Rendering.Chart.Plot.Vectors: plot_vectors_values :: forall x_a11e3 y_a11e4. Lens' (PlotVectors x_a11e3 y_a11e4) [((x_a11e3, y_a11e4), (x_a11e3, y_a11e4))]
Files
- Chart.cabal +2/−2
- Graphics/Rendering/Chart/Axis/Floating.hs +98/−7
- Graphics/Rendering/Chart/Axis/Int.hs +1/−1
- Graphics/Rendering/Chart/Axis/Types.hs +19/−8
- Graphics/Rendering/Chart/Legend.hs +15/−1
- Graphics/Rendering/Chart/Plot/Annotation.hs +3/−3
- Graphics/Rendering/Chart/Plot/AreaSpots.hs +2/−2
Chart.cabal view
@@ -1,5 +1,5 @@ Name: Chart-Version: 1.7.1+Version: 1.8 License: BSD3 License-file: LICENSE Copyright: Tim Docker, 2006-2014@@ -21,7 +21,7 @@ , time, mtl, array , lens >= 3.9 && < 4.15 , colour >= 2.2.1 && < 2.4- , data-default-class < 0.1+ , data-default-class < 0.2 , mtl >= 2.0 && < 2.3 , operational >= 0.2.2 && < 0.3 , vector >=0.9 && <0.12
Graphics/Rendering/Chart/Axis/Floating.hs view
@@ -10,6 +10,7 @@ {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE TemplateHaskell #-}+{-# LANGUAGE ScopedTypeVariables #-} module Graphics.Rendering.Chart.Axis.Floating( Percent(..),@@ -31,7 +32,7 @@ import Data.List(minimumBy) import Data.Ord (comparing) import Data.Default.Class-import Numeric (showFFloat)+import Numeric (showEFloat, showFFloat) import Control.Lens import Graphics.Rendering.Chart.Geometry@@ -77,6 +78,96 @@ fromValue d = LogValue (exp d) autoAxis = autoScaledLogAxis def +-- | Show a list of axis labels.+-- If some are too big or all are too small, switch to scientific notation for all.+-- If the range is much smaller than the mean, use an offset.+-- TODO: show this offset only once, not on every label.+-- When thinking about improving this function,+-- https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/ticker.py+-- is a good read.+--+-- >>> showDs [0, 1, 2 :: Double]+-- ["0","1","2"]+--+-- >>> showDs [0, 1000000, 2000000 :: Double]+-- ["0.0e0","1.0e6","2.0e6"]+--+-- >>> showDs [0, 0.001, 0.002 :: Double]+-- ["0","0.001","0.002"]+--+-- >>> showDs [-10000000, -1000000, 9000000 :: Double]+-- ["-1.0e7","-1.0e6","9.0e6"]+--+-- >>> showDs [10, 11, 12 :: Double]+-- ["10","11","12"]+--+-- >>> showDs [100, 101, 102 :: Double]+-- ["100","101","102"]+--+-- >>> showDs [100000, 100001, 100002 :: Double]+-- ["100000","100001","100002"]+--+-- >>> showDs [1000000, 1000001, 1000002 :: Double]+-- ["1.0e6 + 0","1.0e6 + 1","1.0e6 + 2"]+--+-- >>> showDs [10000000, 10000001, 10000002 :: Double]+-- ["1.0e7 + 0","1.0e7 + 1","1.0e7 + 2"]+--+-- >>> showDs [-10000000, -10000001, -10000002 :: Double]+-- ["-1.0e7 + 2","-1.0e7 + 1","-1.0e7 + 0"]+--+-- prop> let [s0, s1] = showDs [x, x + 1.0 :: Double] in s0 /= s1+showDs :: forall d . (RealFloat d) => [d] -> [String]+showDs xs = case showWithoutOffset xs of+ (s0:others)+ | anyEqualNeighbor s0 others -> map addShownOffset $ showWithoutOffset (map (\x -> x - offset) xs)+ s -> s+ where+ anyEqualNeighbor z0 (z1:others)+ | z0 == z1 = True+ | otherwise = anyEqualNeighbor z1 others+ anyEqualNeighbor _ [] = False++ -- Use the min for offset. Another good choice could be the mean.+ offset :: d+ offset = minimum xs+ shownOffset = case showWithoutOffset [offset] of+ [r] -> r+ rs -> error $ "showDs: shownOffset expected 1 element, got " ++ show (length rs)++ addShownOffset :: String -> String+ addShownOffset ('-':x) = shownOffset ++ " - " ++ x+ addShownOffset x = shownOffset ++ " + " ++ x++showWithoutOffset :: RealFloat d => [d] -> [String]+showWithoutOffset xs+ | useScientificNotation = map (\x -> showEFloat' (Just 1) x) xs+ | otherwise = map showD xs+ where+ -- use scientific notation if max value is too big or too small+ useScientificNotation = maxAbs >= 1e6 || maxAbs <= 1e-6+ maxAbs = maximum (map abs xs)+++-- | Changes the behavior of showEFloat to drop more than one trailings 0.+-- Instead of 1.000e4 you get 1.0e4+showEFloat' :: forall d . RealFloat d => Maybe Int -> d -> String+showEFloat' mdigits x = reverse $ cleanup0 (reverse shown0)+ where+ shown0 = showEFloat mdigits x ""++ -- wait until we get the "e"+ cleanup0 :: String -> String+ cleanup0 (e@'e':ys) = e:cleanup1 ys+ cleanup0 (y:ys) = y : cleanup0 ys+ cleanup0 [] = reverse shown0 -- something went wrong, just return the original++ -- get rid of redundant 0s before the '.'+ cleanup1 :: String -> String+ cleanup1 ('0':ys@('0':_)) = cleanup1 ys+ cleanup1 y = y++ showD :: (RealFloat d) => d -> String showD x = case reverse $ showFFloat Nothing x "" of '0':'.':r -> reverse r@@ -84,7 +175,7 @@ data LinearAxisParams a = LinearAxisParams { -- | The function used to show the axes labels.- _la_labelf :: a -> String,+ _la_labelf :: [a] -> [String], -- | The target number of labels to be shown. _la_nLabels :: Int,@@ -95,7 +186,7 @@ instance (Show a, RealFloat a) => Default (LinearAxisParams a) where def = LinearAxisParams - { _la_labelf = showD+ { _la_labelf = showDs , _la_nLabels = 5 , _la_nTicks = 50 }@@ -136,7 +227,8 @@ chooseStep nsteps (x1,x2) = minimumBy (comparing proximity) stepVals where delta = x2 - x1- mult = 10 ^^ ((floor $ log10 $ delta / nsteps)::Integer)+ mult | delta == 0 = 1 -- Otherwise the case below will use all of memory+ | otherwise = 10 ^^ ((floor $ log10 $ delta / nsteps)::Integer) stepVals = map (mult*) [0.1,0.2,0.25,0.5,1.0,2.0,2.5,5.0,10,20,25,50] proximity x = abs $ delta / realToFrac x - nsteps @@ -157,7 +249,7 @@ instance (Show a, RealFloat a) => Default (LogAxisParams a) where def = LogAxisParams - { _loga_labelf = showD+ { _loga_labelf = showDs } -- | Generate a log axis automatically, scaled appropriate for the@@ -178,7 +270,7 @@ data LogAxisParams a = LogAxisParams { -- | The function used to show the axes labels.- _loga_labelf :: a -> String+ _loga_labelf :: [a] -> [String] } {-@@ -249,4 +341,3 @@ $( makeLenses ''LinearAxisParams ) $( makeLenses ''LogAxisParams )-
Graphics/Rendering/Chart/Axis/Int.hs view
@@ -29,7 +29,7 @@ defaultIntAxis :: (Show a) => LinearAxisParams a defaultIntAxis = LinearAxisParams {- _la_labelf = show,+ _la_labelf = map show, _la_nLabels = 5, _la_nTicks = 10 }
Graphics/Rendering/Chart/Axis/Types.hs view
@@ -196,10 +196,10 @@ let vh = maximum0 (map (maximum0.map snd) labelSizes) let sz = case at of- E_Top -> (hw,hh)- E_Bottom -> (hw,hh)- E_Left -> (vw,vh)- E_Right -> (vw,vh)+ E_Top -> (hw,hh)+ E_Bottom -> (hw,hh)+ E_Left -> (vw,vh)+ E_Right -> (vw,vh) return sz labelTexts :: AxisData a -> [[String]]@@ -354,7 +354,7 @@ -- | Construct an axis given the positions for ticks, grid lines, and -- labels, and the labelling function-makeAxis :: PlotValue x => (x -> String) -> ([x],[x],[x]) -> AxisData x+makeAxis :: PlotValue x => ([x] -> [String]) -> ([x],[x],[x]) -> AxisData x makeAxis labelf (labelvs, tickvs, gridvs) = AxisData { _axis_visibility = def, _axis_viewport = newViewport,@@ -367,13 +367,19 @@ newViewport = vmap (min',max') newTropweiv = invmap (min',max') newTicks = [ (v,2) | v <- tickvs ] ++ [ (v,5) | v <- labelvs ]- newLabels = [ (v,labelf v) | v <- labelvs ]+ newLabels = zipWithLengthCheck labelvs (labelf labelvs)+ where+ zipWithLengthCheck (x:xs) (y:ys) = (x,y) : zipWithLengthCheck xs ys+ zipWithLengthCheck [] [] = []+ zipWithLengthCheck _ _ =+ error "makeAxis: label function returned the wrong number of labels"+ min' = minimum labelvs max' = maximum labelvs -- | Construct an axis given the positions for ticks, grid lines, and -- labels, and the positioning and labelling functions-makeAxis' :: Ord x => (x -> Double) -> (Double -> x) -> (x -> String)+makeAxis' :: Ord x => (x -> Double) -> (Double -> x) -> ([x] -> [String]) -> ([x],[x],[x]) -> AxisData x makeAxis' t f labelf (labelvs, tickvs, gridvs) = AxisData { _axis_visibility = def,@@ -381,7 +387,12 @@ _axis_tropweiv = invLinMap f t (minimum labelvs, maximum labelvs), _axis_ticks = zip tickvs (repeat 2) ++ zip labelvs (repeat 5), _axis_grid = gridvs,- _axis_labels = [[ (v,labelf v) | v <- labelvs ]]+ _axis_labels =+ let zipWithLengthCheck (x:xs) (y:ys) = (x,y) : zipWithLengthCheck xs ys+ zipWithLengthCheck [] [] = []+ zipWithLengthCheck _ _ =+ error "makeAxis': label function returned the wrong number of labels"+ in [zipWithLengthCheck labelvs (labelf labelvs)] }
Graphics/Rendering/Chart/Legend.hs view
@@ -53,23 +53,34 @@ legendToRenderable :: Legend x y -> Renderable String legendToRenderable (Legend ls lvs) = gridToRenderable grid where+ grid :: Grid (Renderable String) grid = case _legend_orientation ls of LORows n -> mkGrid n aboveG besideG LOCols n -> mkGrid n besideG aboveG + aboveG, besideG :: [Grid (Renderable String)] -> Grid (Renderable String) aboveG = aboveN.intersperse ggap1 besideG = besideN.intersperse ggap1 + mkGrid :: Int+ -> ([Grid (Renderable String)] -> Grid (Renderable String))+ -> ([Grid (Renderable String)] -> Grid (Renderable String))+ -> Grid (Renderable String) mkGrid n join1 join2 = join1 [ join2 (map rf ps1) | ps1 <- groups n ps ] ps :: [(String, [Rect -> BackendProgram ()])] ps = join_nub lvs - rf :: (String,[Rect -> BackendProgram ()]) -> Grid (Renderable String)+ rf :: (String, [Rect -> BackendProgram ()]) -> Grid (Renderable String) rf (title,rfs) = besideN [gpic,ggap2,gtitle] where+ gpic :: Grid (Renderable String) gpic = besideN $ intersperse ggap2 (map rp rfs)++ gtitle :: Grid (Renderable String) gtitle = tval $ lbl title++ rp :: (Rect -> BackendProgram ()) -> Grid (Renderable String) rp rfn = tval Renderable { minsize = return (_legend_plot_size ls, 0), render = \(w,h) -> do @@ -77,8 +88,11 @@ return (\_-> Just title) } + ggap1, ggap2 :: Grid (Renderable String) ggap1 = tval $ spacer (_legend_margin ls,_legend_margin ls / 2) ggap2 = tval $ spacer1 (lbl "X")++ lbl :: String -> Renderable String lbl = label (_legend_label_style ls) HTA_Left VTA_Centre groups :: Int -> [a] -> [[a]]
Graphics/Rendering/Chart/Plot/Annotation.hs view
@@ -40,9 +40,9 @@ instance ToPlot PlotAnnotation where toPlot p = Plot {- _plot_render = renderAnnotation p,- _plot_legend = [],- _plot_all_points = (map (^._1) vs , map (^._2) vs)+ _plot_render = renderAnnotation p,+ _plot_legend = [],+ _plot_all_points = (map (^._1) vs , map (^._2) vs) } where vs = _plot_annotation_values p
Graphics/Rendering/Chart/Plot/AreaSpots.hs view
@@ -49,7 +49,7 @@ , _area_spots_linecolour :: AlphaColour Double , _area_spots_fillcolour :: Colour Double , _area_spots_opacity :: Double- , _area_spots_max_radius :: Double -- ^ the largest size of spot+ , _area_spots_max_radius :: Double -- ^ the largest size of spot , _area_spots_values :: [(x,y,z)] } @@ -118,7 +118,7 @@ , _area_spots_4d_linethick :: Double , _area_spots_4d_palette :: [Colour Double] , _area_spots_4d_opacity :: Double- , _area_spots_4d_max_radius :: Double -- ^ the largest size of spot+ , _area_spots_4d_max_radius :: Double -- ^ the largest size of spot , _area_spots_4d_values :: [(x,y,z,t)] }