monomer-widgets-0.1.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

Monomer.Graph.GraphCfg

Synopsis

Configuration

data GraphCfg s e Source #

Configuration options for graph:

Instances

Instances details
Monoid (GraphCfg s e) Source # 
Instance details

Defined in Monomer.Graph.GraphCfg

Methods

mempty :: GraphCfg s e #

mappend :: GraphCfg s e -> GraphCfg s e -> GraphCfg s e #

mconcat :: [GraphCfg s e] -> GraphCfg s e #

Semigroup (GraphCfg s e) Source # 
Instance details

Defined in Monomer.Graph.GraphCfg

Methods

(<>) :: GraphCfg s e -> GraphCfg s e -> GraphCfg s e #

sconcat :: NonEmpty (GraphCfg s e) -> GraphCfg s e #

stimes :: Integral b => b -> GraphCfg s e -> GraphCfg s e #

Default (GraphCfg s e) Source # 
Instance details

Defined in Monomer.Graph.GraphCfg

Methods

def :: GraphCfg s e

CmbWheelRate (GraphCfg s e) Double Source # 
Instance details

Defined in Monomer.Graph.GraphCfg

Methods

wheelRate :: Double -> GraphCfg s e

limitX :: (Double, Double) -> GraphCfg s e Source #

Limits along X-axis.

limitY :: (Double, Double) -> GraphCfg s e Source #

Limits along Y-axis.

minimumX :: Double -> GraphCfg s e Source #

Left limit along X-axis.

maximumX :: Double -> GraphCfg s e Source #

Right limit along X-axis.

minimumY :: Double -> GraphCfg s e Source #

Bottom limit along Y-axis.

maximumY :: Double -> GraphCfg s e Source #

Top limit along Y-axis.

minScale :: Double -> GraphCfg s e Source #

Minimum scale along both X-axis and Y-axis.

maxScale :: Double -> GraphCfg s e Source #

Maximum scale along both X-axis and Y-axis.

minScaleX :: Double -> GraphCfg s e Source #

Minimum scale along X-axis.

maxScaleX :: Double -> GraphCfg s e Source #

Maximum scale along X-axis.

minScaleY :: Double -> GraphCfg s e Source #

Minimum scale along Y-axis.

maxScaleY :: Double -> GraphCfg s e Source #

Maximum scale along Y-axis.

lockX :: GraphCfg s e Source #

Lock X-axis (scale only Y-axis).

lockX_ :: Bool -> GraphCfg s e Source #

Whether X-axis is locked and only Y-axis is scaled.

lockY :: GraphCfg s e Source #

Lock Y-axis (scale only X-axis).

lockY_ :: Bool -> GraphCfg s e Source #

Whether Y-axis is locked and only X-axis is scaled.

hideMinorGridlines :: GraphCfg s e Source #

Hide minor gridlines.

hideMinorGridlines_ :: Bool -> GraphCfg s e Source #

Whether to hide minor gridlines.

hideAxisNumbers :: GraphCfg s e Source #

Hide axis numbers.

hideAxisNumbers_ :: Bool -> GraphCfg s e Source #

Whether to hide axis numbers.

hideGrid :: GraphCfg s e Source #

Hide all gridlines and axis numbers.

hideGrid_ :: Bool -> GraphCfg s e Source #

Whether to hide all gridlines and axis numbers.

graphColors :: [Color] -> GraphCfg s e Source #

List of colors which are used to plot graphs. This list is then cycled when plotting graphs (in case there are more graphs than provided colors).

onRightClick :: WidgetEvent e => ((Double, Double) -> e) -> GraphCfg s e Source #

Event to raise on right click.

onRightClickReq :: ((Double, Double) -> WidgetRequest s e) -> GraphCfg s e Source #

WidgetRequest to generate on right click.