Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data ChartSpace = ChartSpace {}
- newtype ChartTitle = ChartTitle (Maybe TextBody)
- data DispBlanksAs
- data Legend = Legend {}
- data LegendPos
- data Chart
- = LineChart { }
- | AreaChart { }
- | BarChart { }
- | PieChart {
- _pichSeries :: [PieSeries]
- | ScatterChart { }
- data ChartGrouping
- data BarChartGrouping
- data BarDirection
- data ScatterStyle
- data DataPoint = DataPoint {}
- data Series = Series {}
- data LineSeries = LineSeries {}
- data AreaSeries = AreaSeries {}
- data BarSeries = BarSeries {}
- data PieSeries = PieSeries {}
- data ScatterSeries = ScatterSeries {}
- data DataMarker = DataMarker {}
- data DataMarkerSymbol
- data DataLblProps = DataLblProps {}
- data TickMark
- 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
Instances
newtype ChartTitle Source #
Chart title
TODO: layout, overlay, spPr, txPr, extLst
Instances
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)
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
Generic Legend Source # | |
Show Legend Source # | |
Default Legend Source # | |
Defined in Codec.Xlsx.Types.Drawing.Chart | |
NFData Legend Source # | |
Defined in Codec.Xlsx.Types.Drawing.Chart | |
Eq Legend Source # | |
FromCursor Legend Source # | |
Defined in Codec.Xlsx.Types.Drawing.Chart fromCursor :: Cursor -> [Legend] Source # | |
ToElement Legend Source # | |
type Rep Legend Source # | |
Defined in Codec.Xlsx.Types.Drawing.Chart type Rep Legend = D1 ('MetaData "Legend" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-1.1.0.1-FKUF1Jx3xuq9irRu3xJWCs" '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)))) |
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
Generic LegendPos Source # | |
Show LegendPos Source # | |
NFData LegendPos Source # | |
Defined in Codec.Xlsx.Types.Drawing.Chart | |
Eq LegendPos Source # | |
FromAttrVal LegendPos Source # | |
Defined in Codec.Xlsx.Types.Drawing.Chart | |
ToAttrVal LegendPos Source # | |
type Rep LegendPos Source # | |
Defined in Codec.Xlsx.Types.Drawing.Chart type Rep LegendPos = D1 ('MetaData "LegendPos" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-1.1.0.1-FKUF1Jx3xuq9irRu3xJWCs" '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)))) |
Specific Chart TODO: area3DChart, line3DChart, stockChart, radarChart, pie3DChart, doughnutChart, bar3DChart, ofPieChart, surfaceChart, surface3DChart, bubbleChart
LineChart | |
| |
AreaChart | |
BarChart | |
PieChart | |
| |
ScatterChart | |
Instances
data ChartGrouping Source #
Possible groupings for a chart
See 21.2.3.17 "ST_Grouping (Grouping)" (p. 3446)
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
data BarChartGrouping Source #
Possible groupings for a bar chart
See 21.2.3.4 "ST_BarGrouping (Bar Grouping)" (p. 3441)
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
data BarDirection Source #
Possible directions for a bar chart
See 21.2.3.3 "ST_BarDir (Bar Direction)" (p. 3441)
Instances
Generic BarDirection Source # | |
Defined in Codec.Xlsx.Types.Drawing.Chart type Rep BarDirection :: Type -> Type # from :: BarDirection -> Rep BarDirection x # to :: Rep BarDirection x -> BarDirection # | |
Show BarDirection Source # | |
Defined in Codec.Xlsx.Types.Drawing.Chart showsPrec :: Int -> BarDirection -> ShowS # show :: BarDirection -> String # showList :: [BarDirection] -> ShowS # | |
NFData BarDirection Source # | |
Defined in Codec.Xlsx.Types.Drawing.Chart rnf :: BarDirection -> () # | |
Eq BarDirection Source # | |
Defined in Codec.Xlsx.Types.Drawing.Chart (==) :: BarDirection -> BarDirection -> Bool # (/=) :: BarDirection -> BarDirection -> Bool # | |
FromAttrVal BarDirection Source # | |
Defined in Codec.Xlsx.Types.Drawing.Chart | |
ToAttrVal BarDirection Source # | |
Defined in Codec.Xlsx.Types.Drawing.Chart toAttrVal :: BarDirection -> Text Source # | |
type Rep BarDirection Source # | |
Defined in Codec.Xlsx.Types.Drawing.Chart |
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)
Instances
Single data point options
TODO: invertIfNegative, bubble3D, explosion, pictureOptions, extLst
See 21.2.2.52 "dPt (Data Point)" (p. 3384)
Instances
Generic DataPoint Source # | |
Show DataPoint Source # | |
Default DataPoint Source # | |
Defined in Codec.Xlsx.Types.Drawing.Chart | |
NFData DataPoint Source # | |
Defined in Codec.Xlsx.Types.Drawing.Chart | |
Eq DataPoint Source # | |
FromCursor DataPoint Source # | |
Defined in Codec.Xlsx.Types.Drawing.Chart fromCursor :: Cursor -> [DataPoint] Source # | |
type Rep DataPoint Source # | |
Defined in Codec.Xlsx.Types.Drawing.Chart type Rep DataPoint = D1 ('MetaData "DataPoint" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-1.1.0.1-FKUF1Jx3xuq9irRu3xJWCs" '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)))) |
Specifies common series options TODO: spPr
See EG_SerShared
(p. 4063)
Series | |
|
Instances
Generic Series Source # | |
Show Series Source # | |
NFData Series Source # | |
Defined in Codec.Xlsx.Types.Drawing.Chart | |
Eq Series Source # | |
FromCursor Series Source # | |
Defined in Codec.Xlsx.Types.Drawing.Chart fromCursor :: Cursor -> [Series] Source # | |
ToElement Series Source # | |
type Rep Series Source # | |
Defined in Codec.Xlsx.Types.Drawing.Chart type Rep Series = D1 ('MetaData "Series" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-1.1.0.1-FKUF1Jx3xuq9irRu3xJWCs" '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)
LineSeries | |
|
Instances
data AreaSeries Source #
A series on an area chart
TODO: pictureOptions, dPt, trendline, errBars, cat, extLst
See CT_AreaSer
(p. 4065)
Instances
A series on a bar chart
TODO: invertIfNegative, pictureOptions, dPt, trendline, errBars, cat, shape, extLst
See CT_BarSer
(p. 4064)
Instances
Generic BarSeries Source # | |
Show BarSeries Source # | |
NFData BarSeries Source # | |
Defined in Codec.Xlsx.Types.Drawing.Chart | |
Eq BarSeries Source # | |
FromCursor BarSeries Source # | |
Defined in Codec.Xlsx.Types.Drawing.Chart fromCursor :: Cursor -> [BarSeries] Source # | |
ToElement BarSeries Source # | |
type Rep BarSeries Source # | |
Defined in Codec.Xlsx.Types.Drawing.Chart type Rep BarSeries = D1 ('MetaData "BarSeries" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-1.1.0.1-FKUF1Jx3xuq9irRu3xJWCs" '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))))) |
A series on a pie chart
TODO: explosion, cat, extLst
See CT_PieSer
(p. 4065)
PieSeries | |
|
Instances
data ScatterSeries Source #
A series on a scatter chart
TODO: dPt, trendline, errBars, smooth, extLst
See CT_ScatterSer
(p. 4064)
Instances
data DataMarker Source #
DataMarker | |
|
Instances
data DataMarkerSymbol Source #
DataMarkerCircle | |
DataMarkerDash | |
DataMarkerDiamond | |
DataMarkerDot | |
DataMarkerNone | |
DataMarkerPicture | |
DataMarkerPlus | |
DataMarkerSquare | |
DataMarkerStar | |
DataMarkerTriangle | |
DataMarkerX | |
DataMarkerAuto |
Instances
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)
Instances
Specifies the possible positions for tick marks.
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
Generic TickMark Source # | |
Show TickMark Source # | |
NFData TickMark Source # | |
Defined in Codec.Xlsx.Types.Drawing.Chart | |
Eq TickMark Source # | |
ToAttrVal TickMark Source # | |
type Rep TickMark Source # | |
Defined in Codec.Xlsx.Types.Drawing.Chart type Rep TickMark = D1 ('MetaData "TickMark" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-1.1.0.1-FKUF1Jx3xuq9irRu3xJWCs" '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))) |
chartFromNode :: Node -> [Chart] Source #