xlsx-1.1.2.2: Simple and incomplete Excel file parser/writer

Safe Haskell | Safe-Inferred
Language | Haskell2010

Codec.Xlsx.Types.Drawing.Chart

Synopsis

- data ChartSpace = ChartSpace {
  - _chspTitle :: Maybe ChartTitle
  - _chspCharts :: [Chart]
  - _chspLegend :: Maybe Legend
  - _chspPlotVisOnly :: Maybe Bool
  - _chspDispBlanksAs :: Maybe DispBlanksAs
  }
- newtype ChartTitle = ChartTitle (Maybe TextBody)
- data DispBlanksAs
  - = DispBlanksAsGap
  - | DispBlanksAsSpan
  - | DispBlanksAsZero
- data Legend = Legend {
  - _legendPos :: Maybe LegendPos
  - _legendOverlay :: Maybe Bool
  }
- data LegendPos
  - = LegendBottom
  - | LegendLeft
  - | LegendRight
  - | LegendTop
  - | LegendTopRight
- data Chart
  - = LineChart {
    - _lnchGrouping :: ChartGrouping
    - _lnchSeries :: [LineSeries]
    - _lnchMarker :: Maybe Bool
    - _lnchSmooth :: Maybe Bool
    }
  - | AreaChart {
    - _archGrouping :: Maybe ChartGrouping
    - _archSeries :: [AreaSeries]
    }
  - | BarChart {
    - _brchDirection :: BarDirection
    - _brchGrouping :: Maybe BarChartGrouping
    - _brchSeries :: [BarSeries]
    }
  - | PieChart {
    - _pichSeries :: [PieSeries]
    }
  - | ScatterChart {
    - _scchStyle :: ScatterStyle
    - _scchSeries :: [ScatterSeries]
    }
- data ChartGrouping
  - = PercentStackedGrouping
  - | StackedGrouping
  - | StandardGrouping
- data BarChartGrouping
  - = BarClusteredGrouping
  - | BarPercentStackedGrouping
  - | BarStackedGrouping
  - | BarStandardGrouping
- data BarDirection
  - = DirectionBar
  - | DirectionColumn
- data ScatterStyle
  - = ScatterNone
  - | ScatterLine
  - | ScatterLineMarker
  - | ScatterMarker
  - | ScatterSmooth
  - | ScatterSmoothMarker
- data DataPoint = DataPoint {
  - _dpMarker :: Maybe DataMarker
  - _dpShapeProperties :: Maybe ShapeProperties
  }
- data Series = Series {
  - _serTx :: Maybe Formula
  - _serShapeProperties :: Maybe ShapeProperties
  }
- data LineSeries = LineSeries {
  - _lnserShared :: Series
  - _lnserMarker :: Maybe DataMarker
  - _lnserDataLblProps :: Maybe DataLblProps
  - _lnserVal :: Maybe Formula
  - _lnserSmooth :: Maybe Bool
  }
- data AreaSeries = AreaSeries {
  - _arserShared :: Series
  - _arserDataLblProps :: Maybe DataLblProps
  - _arserVal :: Maybe Formula
  }
- data BarSeries = BarSeries {
  - _brserShared :: Series
  - _brserDataLblProps :: Maybe DataLblProps
  - _brserVal :: Maybe Formula
  }
- data PieSeries = PieSeries {
  - _piserShared :: Series
  - _piserDataPoints :: [DataPoint]
  - _piserDataLblProps :: Maybe DataLblProps
  - _piserVal :: Maybe Formula
  }
- data ScatterSeries = ScatterSeries {
  - _scserShared :: Series
  - _scserMarker :: Maybe DataMarker
  - _scserDataLblProps :: Maybe DataLblProps
  - _scserXVal :: Maybe Formula
  - _scserYVal :: Maybe Formula
  - _scserSmooth :: Maybe Bool
  }
- data DataMarker = DataMarker {
  - _dmrkSymbol :: Maybe DataMarkerSymbol
  - _dmrkSize :: Maybe Int
  }
- data DataMarkerSymbol
  - = DataMarkerCircle
  - | DataMarkerDash
  - | DataMarkerDiamond
  - | DataMarkerDot
  - | DataMarkerNone
  - | DataMarkerPicture
  - | DataMarkerPlus
  - | DataMarkerSquare
  - | DataMarkerStar
  - | DataMarkerTriangle
  - | DataMarkerX
  - | DataMarkerAuto
- data DataLblProps = DataLblProps {
  - _dlblShowLegendKey :: Maybe Bool
  - _dlblShowVal :: Maybe Bool
  - _dlblShowCatName :: Maybe Bool
  - _dlblShowSerName :: Maybe Bool
  - _dlblShowPercent :: Maybe Bool
  }
- data TickMark
  - = TickMarkCross
  - | TickMarkIn
  - | TickMarkNone
  - | TickMarkOut
- dpShapeProperties :: Lens' DataPoint (Maybe ShapeProperties)
- dpMarker :: Lens' DataPoint (Maybe DataMarker)
- chartFromNode :: Node -> [Chart]
- chartToElements :: Chart -> Int -> (Element, [Element])
- simpleSeries :: Name -> Series -> Maybe Formula -> [Element] -> [Element] -> Element
- c_ :: Text -> Name
- chartNs :: Text

# Documentation

data ChartSpace Source #

Main Chart holder, combines TODO: title, autoTitleDeleted, pivotFmts view3D, floor, sideWall, backWall, showDLblsOverMax, extLst

Constructors

ChartSpace |

Fields

- _chspTitle :: Maybe ChartTitle
- _chspCharts :: [Chart]
- _chspLegend :: Maybe Legend
- _chspPlotVisOnly :: Maybe Bool
- _chspDispBlanksAs :: Maybe DispBlanksAs

#### Instances

Instances details

Generic ChartSpace Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Associated Types type Rep ChartSpace :: Type -> Type Source # Methods from :: ChartSpace -> Rep ChartSpace x Source # to :: Rep ChartSpace x -> ChartSpace Source #
Show ChartSpace Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods showsPrec :: Int -> ChartSpace -> ShowS Source # show :: ChartSpace -> String Source # showList :: [ChartSpace] -> ShowS Source #
NFData ChartSpace Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods rnf :: ChartSpace -> () Source #
Eq ChartSpace Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods (==) :: ChartSpace -> ChartSpace -> Bool Source # (/=) :: ChartSpace -> ChartSpace -> Bool Source #
FromCursor ChartSpace Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromCursor :: Cursor -> [ChartSpace] Source #
ToDocument ChartSpace Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods toDocument :: ChartSpace -> Document Source #
ToElement ChartSpace Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods toElement :: Name -> ChartSpace -> Element Source #
type Rep ChartSpace Source # |

Instance details

Defined in Codec.Xlsx.Types.Drawing.Chart

type Rep ChartSpace = D1 ('MetaData "ChartSpace" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-1.1.2.2-DopzEu8STPN4igxHgE9OUe" 'False) (C1 ('MetaCons "ChartSpace" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_chspTitle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ChartTitle)) :*: S1 ('MetaSel ('Just "_chspCharts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Chart])) :*: (S1 ('MetaSel ('Just "_chspLegend") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Legend)) :*: (S1 ('MetaSel ('Just "_chspPlotVisOnly") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_chspDispBlanksAs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe DispBlanksAs))))))

newtype ChartTitle Source #

Chart title

TODO: layout, overlay, spPr, txPr, extLst

Constructors

ChartTitle (Maybe TextBody) |

#### Instances

Instances details

Generic ChartTitle Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Associated Types type Rep ChartTitle :: Type -> Type Source # Methods from :: ChartTitle -> Rep ChartTitle x Source # to :: Rep ChartTitle x -> ChartTitle Source #
Show ChartTitle Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods showsPrec :: Int -> ChartTitle -> ShowS Source # show :: ChartTitle -> String Source # showList :: [ChartTitle] -> ShowS Source #
NFData ChartTitle Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods rnf :: ChartTitle -> () Source #
Eq ChartTitle Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods (==) :: ChartTitle -> ChartTitle -> Bool Source # (/=) :: ChartTitle -> ChartTitle -> Bool Source #
FromCursor ChartTitle Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromCursor :: Cursor -> [ChartTitle] Source #
ToElement ChartTitle Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods toElement :: Name -> ChartTitle -> Element Source #
type Rep ChartTitle Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart type Rep ChartTitle = D1 ('MetaData "ChartTitle" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-1.1.2.2-DopzEu8STPN4igxHgE9OUe" 'True) (C1 ('MetaCons "ChartTitle" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe TextBody))))

data DispBlanksAs Source #

This simple type specifies the possible ways to display blanks.

See 21.2.3.10 "ST_DispBlanksAs (Display Blanks As)" (p. 3444)

Constructors

DispBlanksAsGap | Specifies that blank values shall be left as a gap.
DispBlanksAsSpan | Specifies that blank values shall be spanned with a line.
DispBlanksAsZero | Specifies that blank values shall be treated as zero.

#### Instances

Instances details

Generic DispBlanksAs Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Associated Types type Rep DispBlanksAs :: Type -> Type Source # Methods from :: DispBlanksAs -> Rep DispBlanksAs x Source # to :: Rep DispBlanksAs x -> DispBlanksAs Source #
Show DispBlanksAs Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods showsPrec :: Int -> DispBlanksAs -> ShowS Source # show :: DispBlanksAs -> String Source # showList :: [DispBlanksAs] -> ShowS Source #
NFData DispBlanksAs Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods rnf :: DispBlanksAs -> () Source #
Eq DispBlanksAs Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods (==) :: DispBlanksAs -> DispBlanksAs -> Bool Source # (/=) :: DispBlanksAs -> DispBlanksAs -> Bool Source #
FromAttrVal DispBlanksAs Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromAttrVal :: Reader DispBlanksAs Source #
ToAttrVal DispBlanksAs Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods toAttrVal :: DispBlanksAs -> Text Source #
type Rep DispBlanksAs Source # |

Instance details

Defined in Codec.Xlsx.Types.Drawing.Chart

type Rep DispBlanksAs = D1 ('MetaData "DispBlanksAs" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-1.1.2.2-DopzEu8STPN4igxHgE9OUe" 'False) (C1 ('MetaCons "DispBlanksAsGap" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DispBlanksAsSpan" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DispBlanksAsZero" 'PrefixI 'False) (U1 :: Type -> Type)))

data Legend Source #

Constructors

Legend |

Fields

- _legendPos :: Maybe LegendPos
- _legendOverlay :: Maybe Bool

#### Instances

Instances details

Generic Legend Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Associated Types type Rep Legend :: Type -> Type Source # Methods from :: Legend -> Rep Legend x Source # to :: Rep Legend x -> Legend Source #
Show Legend Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods showsPrec :: Int -> Legend -> ShowS Source # show :: Legend -> String Source # showList :: [Legend] -> ShowS Source #
Default Legend Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods def :: Legend #
NFData Legend Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods rnf :: Legend -> () Source #
Eq Legend Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods (==) :: Legend -> Legend -> Bool Source # (/=) :: Legend -> Legend -> Bool Source #
FromCursor Legend Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromCursor :: Cursor -> [Legend] Source #
ToElement Legend Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods toElement :: Name -> Legend -> Element Source #
type Rep Legend Source # |

Instance details

Defined in Codec.Xlsx.Types.Drawing.Chart

type Rep Legend = D1 ('MetaData "Legend" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-1.1.2.2-DopzEu8STPN4igxHgE9OUe" 'False) (C1 ('MetaCons "Legend" 'PrefixI 'True) (S1 ('MetaSel ('Just "_legendPos") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe LegendPos)) :*: S1 ('MetaSel ('Just "_legendOverlay") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool))))

data LegendPos Source #

Constructors

LegendBottom | b (Bottom) Specifies that the legend shall be drawn at the bottom of the chart.
LegendLeft | l (Left) Specifies that the legend shall be drawn at the left of the chart.
LegendRight | r (Right) Specifies that the legend shall be drawn at the right of the chart.
LegendTop | t (Top) Specifies that the legend shall be drawn at the top of the chart.
LegendTopRight | tr (Top Right) Specifies that the legend shall be drawn at the top right of the chart.

#### Instances

Instances details

Generic LegendPos Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Associated Types type Rep LegendPos :: Type -> Type Source # Methods from :: LegendPos -> Rep LegendPos x Source # to :: Rep LegendPos x -> LegendPos Source #
Show LegendPos Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods showsPrec :: Int -> LegendPos -> ShowS Source # show :: LegendPos -> String Source # showList :: [LegendPos] -> ShowS Source #
NFData LegendPos Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods rnf :: LegendPos -> () Source #
Eq LegendPos Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods (==) :: LegendPos -> LegendPos -> Bool Source # (/=) :: LegendPos -> LegendPos -> Bool Source #
FromAttrVal LegendPos Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromAttrVal :: Reader LegendPos Source #
ToAttrVal LegendPos Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods toAttrVal :: LegendPos -> Text Source #
type Rep LegendPos Source # |

Instance details

Defined in Codec.Xlsx.Types.Drawing.Chart

type Rep LegendPos = D1 ('MetaData "LegendPos" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-1.1.2.2-DopzEu8STPN4igxHgE9OUe" 'False) ((C1 ('MetaCons "LegendBottom" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LegendLeft" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LegendRight" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LegendTop" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LegendTopRight" 'PrefixI 'False) (U1 :: Type -> Type))))

data Chart Source #

Specific Chart TODO: area3DChart, line3DChart, stockChart, radarChart, pie3DChart, doughnutChart, bar3DChart, ofPieChart, surfaceChart, surface3DChart, bubbleChart

Constructors

LineChart |

Fields

- _lnchGrouping :: ChartGrouping
- _lnchSeries :: [LineSeries]
- _lnchMarker :: Maybe Bool

  specifies that the marker shall be shown

- _lnchSmooth :: Maybe Bool

  specifies the line connecting the points on the chart shall be smoothed using Catmull-Rom splines

AreaChart |

Fields

- _archGrouping :: Maybe ChartGrouping
- _archSeries :: [AreaSeries]

BarChart |

Fields

- _brchDirection :: BarDirection
- _brchGrouping :: Maybe BarChartGrouping
- _brchSeries :: [BarSeries]

PieChart |

Fields

- _pichSeries :: [PieSeries]

ScatterChart |

Fields

- _scchStyle :: ScatterStyle
- _scchSeries :: [ScatterSeries]

#### Instances

Instances details

Generic Chart Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Associated Types type Rep Chart :: Type -> Type Source # Methods from :: Chart -> Rep Chart x Source # to :: Rep Chart x -> Chart Source #
Show Chart Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods showsPrec :: Int -> Chart -> ShowS Source # show :: Chart -> String Source # showList :: [Chart] -> ShowS Source #
NFData Chart Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods rnf :: Chart -> () Source #
Eq Chart Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods (==) :: Chart -> Chart -> Bool Source # (/=) :: Chart -> Chart -> Bool Source #
type Rep Chart Source # |

Instance details

Defined in Codec.Xlsx.Types.Drawing.Chart

type Rep Chart = D1 ('MetaData "Chart" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-1.1.2.2-DopzEu8STPN4igxHgE9OUe" 'False) ((C1 ('MetaCons "LineChart" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_lnchGrouping") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ChartGrouping) :*: S1 ('MetaSel ('Just "_lnchSeries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [LineSeries])) :*: (S1 ('MetaSel ('Just "_lnchMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_lnchSmooth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)))) :+: C1 ('MetaCons "AreaChart" 'PrefixI 'True) (S1 ('MetaSel ('Just "_archGrouping") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ChartGrouping)) :*: S1 ('MetaSel ('Just "_archSeries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [AreaSeries]))) :+: (C1 ('MetaCons "BarChart" 'PrefixI 'True) (S1 ('MetaSel ('Just "_brchDirection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BarDirection) :*: (S1 ('MetaSel ('Just "_brchGrouping") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe BarChartGrouping)) :*: S1 ('MetaSel ('Just "_brchSeries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [BarSeries]))) :+: (C1 ('MetaCons "PieChart" 'PrefixI 'True) (S1 ('MetaSel ('Just "_pichSeries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [PieSeries])) :+: C1 ('MetaCons "ScatterChart" 'PrefixI 'True) (S1 ('MetaSel ('Just "_scchStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ScatterStyle) :*: S1 ('MetaSel ('Just "_scchSeries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ScatterSeries])))))

data ChartGrouping Source #

Possible groupings for a chart

See 21.2.3.17 "ST_Grouping (Grouping)" (p. 3446)

Constructors

PercentStackedGrouping | (100% Stacked) Specifies that the chart series are drawn next to each other along the value axis and scaled to total 100%.
StackedGrouping | (Stacked) Specifies that the chart series are drawn next to each other on the value axis.
StandardGrouping | (Standard) Specifies that the chart series are drawn on the value axis.

#### Instances

Instances details

Generic ChartGrouping Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Associated Types type Rep ChartGrouping :: Type -> Type Source # Methods from :: ChartGrouping -> Rep ChartGrouping x Source # to :: Rep ChartGrouping x -> ChartGrouping Source #
Show ChartGrouping Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods showsPrec :: Int -> ChartGrouping -> ShowS Source # show :: ChartGrouping -> String Source # showList :: [ChartGrouping] -> ShowS Source #
NFData ChartGrouping Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods rnf :: ChartGrouping -> () Source #
Eq ChartGrouping Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods (==) :: ChartGrouping -> ChartGrouping -> Bool Source # (/=) :: ChartGrouping -> ChartGrouping -> Bool Source #
FromAttrVal ChartGrouping Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromAttrVal :: Reader ChartGrouping Source #
ToAttrVal ChartGrouping Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods toAttrVal :: ChartGrouping -> Text Source #
type Rep ChartGrouping Source # |

Instance details

Defined in Codec.Xlsx.Types.Drawing.Chart

type Rep ChartGrouping = D1 ('MetaData "ChartGrouping" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-1.1.2.2-DopzEu8STPN4igxHgE9OUe" 'False) (C1 ('MetaCons "PercentStackedGrouping" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "StackedGrouping" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "StandardGrouping" 'PrefixI 'False) (U1 :: Type -> Type)))

data BarChartGrouping Source #

Possible groupings for a bar chart

See 21.2.3.4 "ST_BarGrouping (Bar Grouping)" (p. 3441)

Constructors

BarClusteredGrouping | Specifies that the chart series are drawn next to each other along the category axis.
BarPercentStackedGrouping | (100% Stacked) Specifies that the chart series are drawn next to each other along the value axis and scaled to total 100%.
BarStackedGrouping | (Stacked) Specifies that the chart series are drawn next to each other on the value axis.
BarStandardGrouping | (Standard) Specifies that the chart series are drawn on the value axis.

#### Instances

Instances details

Generic BarChartGrouping Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Associated Types type Rep BarChartGrouping :: Type -> Type Source # Methods from :: BarChartGrouping -> Rep BarChartGrouping x Source # to :: Rep BarChartGrouping x -> BarChartGrouping Source #
Show BarChartGrouping Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods showsPrec :: Int -> BarChartGrouping -> ShowS Source # show :: BarChartGrouping -> String Source # showList :: [BarChartGrouping] -> ShowS Source #
NFData BarChartGrouping Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods rnf :: BarChartGrouping -> () Source #
Eq BarChartGrouping Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods (==) :: BarChartGrouping -> BarChartGrouping -> Bool Source # (/=) :: BarChartGrouping -> BarChartGrouping -> Bool Source #
FromAttrVal BarChartGrouping Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromAttrVal :: Reader BarChartGrouping Source #
ToAttrVal BarChartGrouping Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods toAttrVal :: BarChartGrouping -> Text Source #
type Rep BarChartGrouping Source # |

Instance details

Defined in Codec.Xlsx.Types.Drawing.Chart

type Rep BarChartGrouping = D1 ('MetaData "BarChartGrouping" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-1.1.2.2-DopzEu8STPN4igxHgE9OUe" 'False) ((C1 ('MetaCons "BarClusteredGrouping" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BarPercentStackedGrouping" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "BarStackedGrouping" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BarStandardGrouping" 'PrefixI 'False) (U1 :: Type -> Type)))

data BarDirection Source #

Possible directions for a bar chart

See 21.2.3.3 "ST_BarDir (Bar Direction)" (p. 3441)

Constructors

DirectionBar |
DirectionColumn |

#### Instances

Instances details

Generic BarDirection Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Associated Types type Rep BarDirection :: Type -> Type Source # Methods from :: BarDirection -> Rep BarDirection x Source # to :: Rep BarDirection x -> BarDirection Source #
Show BarDirection Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods showsPrec :: Int -> BarDirection -> ShowS Source # show :: BarDirection -> String Source # showList :: [BarDirection] -> ShowS Source #
NFData BarDirection Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods rnf :: BarDirection -> () Source #
Eq BarDirection Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods (==) :: BarDirection -> BarDirection -> Bool Source # (/=) :: BarDirection -> BarDirection -> Bool Source #
FromAttrVal BarDirection Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromAttrVal :: Reader BarDirection Source #
ToAttrVal BarDirection Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods toAttrVal :: BarDirection -> Text Source #
type Rep BarDirection Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart type Rep BarDirection = D1 ('MetaData "BarDirection" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-1.1.2.2-DopzEu8STPN4igxHgE9OUe" 'False) (C1 ('MetaCons "DirectionBar" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DirectionColumn" 'PrefixI 'False) (U1 :: Type -> Type))

data ScatterStyle Source #

Possible styles of scatter chart

Note: It appears that even for `ScatterMarker` style Exel draws a line between chart points if otline fill for `_scserShared` isn't set to so it's not quite clear how could Excel use this property

See 21.2.3.40 "ST_ScatterStyle (Scatter Style)" (p. 3455)

Constructors

ScatterNone |
ScatterLine |
ScatterLineMarker |
ScatterMarker |
ScatterSmooth |
ScatterSmoothMarker |

#### Instances

Instances details

Generic ScatterStyle Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Associated Types type Rep ScatterStyle :: Type -> Type Source # Methods from :: ScatterStyle -> Rep ScatterStyle x Source # to :: Rep ScatterStyle x -> ScatterStyle Source #
Show ScatterStyle Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods showsPrec :: Int -> ScatterStyle -> ShowS Source # show :: ScatterStyle -> String Source # showList :: [ScatterStyle] -> ShowS Source #
NFData ScatterStyle Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods rnf :: ScatterStyle -> () Source #
Eq ScatterStyle Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods (==) :: ScatterStyle -> ScatterStyle -> Bool Source # (/=) :: ScatterStyle -> ScatterStyle -> Bool Source #
FromAttrVal ScatterStyle Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromAttrVal :: Reader ScatterStyle Source #
ToAttrVal ScatterStyle Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods toAttrVal :: ScatterStyle -> Text Source #
type Rep ScatterStyle Source # |

Instance details

Defined in Codec.Xlsx.Types.Drawing.Chart

type Rep ScatterStyle = D1 ('MetaData "ScatterStyle" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-1.1.2.2-DopzEu8STPN4igxHgE9OUe" 'False) ((C1 ('MetaCons "ScatterNone" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ScatterLine" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ScatterLineMarker" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "ScatterMarker" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ScatterSmooth" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ScatterSmoothMarker" 'PrefixI 'False) (U1 :: Type -> Type))))

data DataPoint Source #

Single data point options

TODO: invertIfNegative, bubble3D, explosion, pictureOptions, extLst

See 21.2.2.52 "dPt (Data Point)" (p. 3384)

Constructors

DataPoint |

Fields

- _dpMarker :: Maybe DataMarker
- _dpShapeProperties :: Maybe ShapeProperties

#### Instances

Instances details

Generic DataPoint Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Associated Types type Rep DataPoint :: Type -> Type Source # Methods from :: DataPoint -> Rep DataPoint x Source # to :: Rep DataPoint x -> DataPoint Source #
Show DataPoint Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods showsPrec :: Int -> DataPoint -> ShowS Source # show :: DataPoint -> String Source # showList :: [DataPoint] -> ShowS Source #
Default DataPoint Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods def :: DataPoint #
NFData DataPoint Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods rnf :: DataPoint -> () Source #
Eq DataPoint Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods (==) :: DataPoint -> DataPoint -> Bool Source # (/=) :: DataPoint -> DataPoint -> Bool Source #
FromCursor DataPoint Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromCursor :: Cursor -> [DataPoint] Source #
type Rep DataPoint Source # |

Instance details

Defined in Codec.Xlsx.Types.Drawing.Chart

type Rep DataPoint = D1 ('MetaData "DataPoint" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-1.1.2.2-DopzEu8STPN4igxHgE9OUe" 'False) (C1 ('MetaCons "DataPoint" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dpMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe DataMarker)) :*: S1 ('MetaSel ('Just "_dpShapeProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ShapeProperties))))

data Series Source #

Specifies common series options TODO: spPr

See `EG_SerShared` (p. 4063)

Constructors

Series |

Fields

- _serTx :: Maybe Formula

  specifies text for a series name, without rich text formatting currently only reference formula is supported

- _serShapeProperties :: Maybe ShapeProperties

#### Instances

Instances details

Generic Series Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Associated Types type Rep Series :: Type -> Type Source # Methods from :: Series -> Rep Series x Source # to :: Rep Series x -> Series Source #
Show Series Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods showsPrec :: Int -> Series -> ShowS Source # show :: Series -> String Source # showList :: [Series] -> ShowS Source #
NFData Series Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods rnf :: Series -> () Source #
Eq Series Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods (==) :: Series -> Series -> Bool Source # (/=) :: Series -> Series -> Bool Source #
FromCursor Series Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromCursor :: Cursor -> [Series] Source #
ToElement Series Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods toElement :: Name -> Series -> Element Source #
type Rep Series Source # |

Instance details

Defined in Codec.Xlsx.Types.Drawing.Chart

type Rep Series = D1 ('MetaData "Series" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-1.1.2.2-DopzEu8STPN4igxHgE9OUe" 'False) (C1 ('MetaCons "Series" 'PrefixI 'True) (S1 ('MetaSel ('Just "_serTx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Formula)) :*: S1 ('MetaSel ('Just "_serShapeProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ShapeProperties))))

data LineSeries Source #

A series on a line chart

TODO: dPt, trendline, errBars, cat, extLst

See `CT_LineSer` (p. 4064)

Constructors

LineSeries |

Fields

- _lnserShared :: Series
- _lnserMarker :: Maybe DataMarker
- _lnserDataLblProps :: Maybe DataLblProps
- _lnserVal :: Maybe Formula

  currently only reference formula is supported

- _lnserSmooth :: Maybe Bool

#### Instances

Instances details

Generic LineSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Associated Types type Rep LineSeries :: Type -> Type Source # Methods from :: LineSeries -> Rep LineSeries x Source # to :: Rep LineSeries x -> LineSeries Source #
Show LineSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods showsPrec :: Int -> LineSeries -> ShowS Source # show :: LineSeries -> String Source # showList :: [LineSeries] -> ShowS Source #
NFData LineSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods rnf :: LineSeries -> () Source #
Eq LineSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods (==) :: LineSeries -> LineSeries -> Bool Source # (/=) :: LineSeries -> LineSeries -> Bool Source #
FromCursor LineSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromCursor :: Cursor -> [LineSeries] Source #
ToElement LineSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods toElement :: Name -> LineSeries -> Element Source #
type Rep LineSeries Source # |

Instance details

Defined in Codec.Xlsx.Types.Drawing.Chart

type Rep LineSeries = D1 ('MetaData "LineSeries" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-1.1.2.2-DopzEu8STPN4igxHgE9OUe" 'False) (C1 ('MetaCons "LineSeries" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_lnserShared") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Series) :*: S1 ('MetaSel ('Just "_lnserMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe DataMarker))) :*: (S1 ('MetaSel ('Just "_lnserDataLblProps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe DataLblProps)) :*: (S1 ('MetaSel ('Just "_lnserVal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Formula)) :*: S1 ('MetaSel ('Just "_lnserSmooth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool))))))

data AreaSeries Source #

A series on an area chart

TODO: pictureOptions, dPt, trendline, errBars, cat, extLst

See `CT_AreaSer` (p. 4065)

Constructors

AreaSeries |

Fields

- _arserShared :: Series
- _arserDataLblProps :: Maybe DataLblProps
- _arserVal :: Maybe Formula

#### Instances

Instances details

Generic AreaSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Associated Types type Rep AreaSeries :: Type -> Type Source # Methods from :: AreaSeries -> Rep AreaSeries x Source # to :: Rep AreaSeries x -> AreaSeries Source #
Show AreaSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods showsPrec :: Int -> AreaSeries -> ShowS Source # show :: AreaSeries -> String Source # showList :: [AreaSeries] -> ShowS Source #
NFData AreaSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods rnf :: AreaSeries -> () Source #
Eq AreaSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods (==) :: AreaSeries -> AreaSeries -> Bool Source # (/=) :: AreaSeries -> AreaSeries -> Bool Source #
FromCursor AreaSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromCursor :: Cursor -> [AreaSeries] Source #
ToElement AreaSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods toElement :: Name -> AreaSeries -> Element Source #
type Rep AreaSeries Source # |

Instance details

Defined in Codec.Xlsx.Types.Drawing.Chart

type Rep AreaSeries = D1 ('MetaData "AreaSeries" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-1.1.2.2-DopzEu8STPN4igxHgE9OUe" 'False) (C1 ('MetaCons "AreaSeries" 'PrefixI 'True) (S1 ('MetaSel ('Just "_arserShared") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Series) :*: (S1 ('MetaSel ('Just "_arserDataLblProps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe DataLblProps)) :*: S1 ('MetaSel ('Just "_arserVal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Formula)))))

data BarSeries Source #

A series on a bar chart

TODO: invertIfNegative, pictureOptions, dPt, trendline, errBars, cat, shape, extLst

See `CT_BarSer` (p. 4064)

Constructors

BarSeries |

Fields

- _brserShared :: Series
- _brserDataLblProps :: Maybe DataLblProps
- _brserVal :: Maybe Formula

#### Instances

Instances details

Generic BarSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Associated Types type Rep BarSeries :: Type -> Type Source # Methods from :: BarSeries -> Rep BarSeries x Source # to :: Rep BarSeries x -> BarSeries Source #
Show BarSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods showsPrec :: Int -> BarSeries -> ShowS Source # show :: BarSeries -> String Source # showList :: [BarSeries] -> ShowS Source #
NFData BarSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods rnf :: BarSeries -> () Source #
Eq BarSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods (==) :: BarSeries -> BarSeries -> Bool Source # (/=) :: BarSeries -> BarSeries -> Bool Source #
FromCursor BarSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromCursor :: Cursor -> [BarSeries] Source #
ToElement BarSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods toElement :: Name -> BarSeries -> Element Source #
type Rep BarSeries Source # |

Instance details

Defined in Codec.Xlsx.Types.Drawing.Chart

type Rep BarSeries = D1 ('MetaData "BarSeries" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-1.1.2.2-DopzEu8STPN4igxHgE9OUe" 'False) (C1 ('MetaCons "BarSeries" 'PrefixI 'True) (S1 ('MetaSel ('Just "_brserShared") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Series) :*: (S1 ('MetaSel ('Just "_brserDataLblProps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe DataLblProps)) :*: S1 ('MetaSel ('Just "_brserVal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Formula)))))

data PieSeries Source #

A series on a pie chart

TODO: explosion, cat, extLst

See `CT_PieSer` (p. 4065)

Constructors

PieSeries |

Fields

- _piserShared :: Series
- _piserDataPoints :: [DataPoint]

  normally you should set fill for chart datapoints to make them properly colored

- _piserDataLblProps :: Maybe DataLblProps
- _piserVal :: Maybe Formula

#### Instances

Instances details

Generic PieSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Associated Types type Rep PieSeries :: Type -> Type Source # Methods from :: PieSeries -> Rep PieSeries x Source # to :: Rep PieSeries x -> PieSeries Source #
Show PieSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods showsPrec :: Int -> PieSeries -> ShowS Source # show :: PieSeries -> String Source # showList :: [PieSeries] -> ShowS Source #
NFData PieSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods rnf :: PieSeries -> () Source #
Eq PieSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods (==) :: PieSeries -> PieSeries -> Bool Source # (/=) :: PieSeries -> PieSeries -> Bool Source #
FromCursor PieSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromCursor :: Cursor -> [PieSeries] Source #
ToElement PieSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods toElement :: Name -> PieSeries -> Element Source #
type Rep PieSeries Source # |

Instance details

Defined in Codec.Xlsx.Types.Drawing.Chart

type Rep PieSeries = D1 ('MetaData "PieSeries" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-1.1.2.2-DopzEu8STPN4igxHgE9OUe" 'False) (C1 ('MetaCons "PieSeries" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_piserShared") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Series) :*: S1 ('MetaSel ('Just "_piserDataPoints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [DataPoint])) :*: (S1 ('MetaSel ('Just "_piserDataLblProps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe DataLblProps)) :*: S1 ('MetaSel ('Just "_piserVal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Formula)))))

data ScatterSeries Source #

A series on a scatter chart

TODO: dPt, trendline, errBars, smooth, extLst

See `CT_ScatterSer` (p. 4064)

Constructors

ScatterSeries |

Fields

- _scserShared :: Series
- _scserMarker :: Maybe DataMarker
- _scserDataLblProps :: Maybe DataLblProps
- _scserXVal :: Maybe Formula
- _scserYVal :: Maybe Formula
- _scserSmooth :: Maybe Bool

#### Instances

Instances details

Generic ScatterSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Associated Types type Rep ScatterSeries :: Type -> Type Source # Methods from :: ScatterSeries -> Rep ScatterSeries x Source # to :: Rep ScatterSeries x -> ScatterSeries Source #
Show ScatterSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods showsPrec :: Int -> ScatterSeries -> ShowS Source # show :: ScatterSeries -> String Source # showList :: [ScatterSeries] -> ShowS Source #
NFData ScatterSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods rnf :: ScatterSeries -> () Source #
Eq ScatterSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods (==) :: ScatterSeries -> ScatterSeries -> Bool Source # (/=) :: ScatterSeries -> ScatterSeries -> Bool Source #
FromCursor ScatterSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromCursor :: Cursor -> [ScatterSeries] Source #
ToElement ScatterSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods toElement :: Name -> ScatterSeries -> Element Source #
type Rep ScatterSeries Source # |

Instance details

Defined in Codec.Xlsx.Types.Drawing.Chart

type Rep ScatterSeries = D1 ('MetaData "ScatterSeries" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-1.1.2.2-DopzEu8STPN4igxHgE9OUe" 'False) (C1 ('MetaCons "ScatterSeries" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_scserShared") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Series) :*: (S1 ('MetaSel ('Just "_scserMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe DataMarker)) :*: S1 ('MetaSel ('Just "_scserDataLblProps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe DataLblProps)))) :*: (S1 ('MetaSel ('Just "_scserXVal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Formula)) :*: (S1 ('MetaSel ('Just "_scserYVal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Formula)) :*: S1 ('MetaSel ('Just "_scserSmooth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool))))))

data DataMarker Source #

Constructors

DataMarker |

Fields

- _dmrkSymbol :: Maybe DataMarkerSymbol
- _dmrkSize :: Maybe Int

  integer between 2 and 72, specifying a size in points

#### Instances

Instances details

Generic DataMarker Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Associated Types type Rep DataMarker :: Type -> Type Source # Methods from :: DataMarker -> Rep DataMarker x Source # to :: Rep DataMarker x -> DataMarker Source #
Show DataMarker Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods showsPrec :: Int -> DataMarker -> ShowS Source # show :: DataMarker -> String Source # showList :: [DataMarker] -> ShowS Source #
NFData DataMarker Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods rnf :: DataMarker -> () Source #
Eq DataMarker Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods (==) :: DataMarker -> DataMarker -> Bool Source # (/=) :: DataMarker -> DataMarker -> Bool Source #
FromCursor DataMarker Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromCursor :: Cursor -> [DataMarker] Source #
ToElement DataMarker Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods toElement :: Name -> DataMarker -> Element Source #
type Rep DataMarker Source # |

Instance details

Defined in Codec.Xlsx.Types.Drawing.Chart

type Rep DataMarker = D1 ('MetaData "DataMarker" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-1.1.2.2-DopzEu8STPN4igxHgE9OUe" 'False) (C1 ('MetaCons "DataMarker" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dmrkSymbol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe DataMarkerSymbol)) :*: S1 ('MetaSel ('Just "_dmrkSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int))))

data DataMarkerSymbol Source #

Constructors

DataMarkerCircle |
DataMarkerDash |
DataMarkerDiamond |
DataMarkerDot |
DataMarkerNone |
DataMarkerPicture |
DataMarkerPlus |
DataMarkerSquare |
DataMarkerStar |
DataMarkerTriangle |
DataMarkerX |
DataMarkerAuto |

#### Instances

Instances details

Generic DataMarkerSymbol Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Associated Types type Rep DataMarkerSymbol :: Type -> Type Source # Methods from :: DataMarkerSymbol -> Rep DataMarkerSymbol x Source # to :: Rep DataMarkerSymbol x -> DataMarkerSymbol Source #
Show DataMarkerSymbol Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods showsPrec :: Int -> DataMarkerSymbol -> ShowS Source # show :: DataMarkerSymbol -> String Source # showList :: [DataMarkerSymbol] -> ShowS Source #
NFData DataMarkerSymbol Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods rnf :: DataMarkerSymbol -> () Source #
Eq DataMarkerSymbol Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods (==) :: DataMarkerSymbol -> DataMarkerSymbol -> Bool Source # (/=) :: DataMarkerSymbol -> DataMarkerSymbol -> Bool Source #
FromAttrVal DataMarkerSymbol Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromAttrVal :: Reader DataMarkerSymbol Source #
ToAttrVal DataMarkerSymbol Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods toAttrVal :: DataMarkerSymbol -> Text Source #
type Rep DataMarkerSymbol Source # |

Instance details

Defined in Codec.Xlsx.Types.Drawing.Chart

type Rep DataMarkerSymbol = D1 ('MetaData "DataMarkerSymbol" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-1.1.2.2-DopzEu8STPN4igxHgE9OUe" 'False) (((C1 ('MetaCons "DataMarkerCircle" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DataMarkerDash" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DataMarkerDiamond" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "DataMarkerDot" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DataMarkerNone" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DataMarkerPicture" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "DataMarkerPlus" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DataMarkerSquare" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DataMarkerStar" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "DataMarkerTriangle" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DataMarkerX" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DataMarkerAuto" 'PrefixI 'False) (U1 :: Type -> Type)))))

data DataLblProps Source #

Settings for the data labels for an entire series or the entire chart

TODO: numFmt, spPr, txPr, dLblPos, showBubbleSize, separator, showLeaderLines, leaderLines See 21.2.2.49 "dLbls (Data Labels)" (p. 3384)

Constructors

DataLblProps |

Fields

- _dlblShowLegendKey :: Maybe Bool
- _dlblShowVal :: Maybe Bool
- _dlblShowCatName :: Maybe Bool
- _dlblShowSerName :: Maybe Bool
- _dlblShowPercent :: Maybe Bool

#### Instances

Instances details

Generic DataLblProps Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Associated Types type Rep DataLblProps :: Type -> Type Source # Methods from :: DataLblProps -> Rep DataLblProps x Source # to :: Rep DataLblProps x -> DataLblProps Source #
Show DataLblProps Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods showsPrec :: Int -> DataLblProps -> ShowS Source # show :: DataLblProps -> String Source # showList :: [DataLblProps] -> ShowS Source #
NFData DataLblProps Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods rnf :: DataLblProps -> () Source #
Eq DataLblProps Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods (==) :: DataLblProps -> DataLblProps -> Bool Source # (/=) :: DataLblProps -> DataLblProps -> Bool Source #
FromCursor DataLblProps Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromCursor :: Cursor -> [DataLblProps] Source #
ToElement DataLblProps Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods toElement :: Name -> DataLblProps -> Element Source #
type Rep DataLblProps Source # |

Instance details

Defined in Codec.Xlsx.Types.Drawing.Chart

type Rep DataLblProps = D1 ('MetaData "DataLblProps" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-1.1.2.2-DopzEu8STPN4igxHgE9OUe" 'False) (C1 ('MetaCons "DataLblProps" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_dlblShowLegendKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_dlblShowVal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "_dlblShowCatName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_dlblShowSerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_dlblShowPercent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool))))))

data TickMark Source #

Specifies the possible positions for tick marks.

Constructors

TickMarkCross | (Cross) Specifies the tick marks shall cross the axis.
TickMarkIn | (Inside) Specifies the tick marks shall be inside the plot area.
TickMarkNone | (None) Specifies there shall be no tick marks.
TickMarkOut | (Outside) Specifies the tick marks shall be outside the plot area.

#### Instances

Instances details

Generic TickMark Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Associated Types type Rep TickMark :: Type -> Type Source # Methods from :: TickMark -> Rep TickMark x Source # to :: Rep TickMark x -> TickMark Source #
Show TickMark Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods showsPrec :: Int -> TickMark -> ShowS Source # show :: TickMark -> String Source # showList :: [TickMark] -> ShowS Source #
NFData TickMark Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods rnf :: TickMark -> () Source #
Eq TickMark Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods (==) :: TickMark -> TickMark -> Bool Source # (/=) :: TickMark -> TickMark -> Bool Source #
ToAttrVal TickMark Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods toAttrVal :: TickMark -> Text Source #
type Rep TickMark Source # |

Instance details

Defined in Codec.Xlsx.Types.Drawing.Chart

type Rep TickMark = D1 ('MetaData "TickMark" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-1.1.2.2-DopzEu8STPN4igxHgE9OUe" 'False) ((C1 ('MetaCons "TickMarkCross" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TickMarkIn" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "TickMarkNone" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TickMarkOut" 'PrefixI 'False) (U1 :: Type -> Type)))

dpShapeProperties :: Lens' DataPoint (Maybe ShapeProperties) Source #

dpMarker :: Lens' DataPoint (Maybe DataMarker) Source #

chartFromNode :: Node -> [Chart] Source #

chartToElements :: Chart -> Int -> (Element, [Element]) Source #

simpleSeries :: Name -> Series -> Maybe Formula -> [Element] -> [Element] -> Element Source #

c_ :: Text -> Name Source #

Add chart namespace to name

chartNs :: Text Source #