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

Safe HaskellNone
LanguageHaskell2010

Codec.Xlsx.Types.Drawing.Chart

Synopsis

Documentation

data ChartSpace #

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

newtype ChartTitle #

Chart title

TODO: layout, overlay, spPr, txPr, extLst

Constructors

ChartTitle TextBody 

Instances

Eq ChartTitle # 
Show ChartTitle # 
Generic ChartTitle # 

Associated Types

type Rep ChartTitle :: * -> * #

ToElement ChartTitle # 
FromCursor ChartTitle # 

Methods

fromCursor :: Cursor -> [ChartTitle] #

type Rep ChartTitle # 
type Rep ChartTitle = D1 (MetaData "ChartTitle" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-0.6.0-9Et6tz40HhX7mNeKNADElD" True) (C1 (MetaCons "ChartTitle" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 TextBody)))

data DispBlanksAs #

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

Eq DispBlanksAs # 
Show DispBlanksAs # 
Generic DispBlanksAs # 

Associated Types

type Rep DispBlanksAs :: * -> * #

ToAttrVal DispBlanksAs # 
FromAttrVal DispBlanksAs # 
type Rep DispBlanksAs # 
type Rep DispBlanksAs = D1 (MetaData "DispBlanksAs" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-0.6.0-9Et6tz40HhX7mNeKNADElD" False) ((:+:) (C1 (MetaCons "DispBlanksAsGap" PrefixI False) U1) ((:+:) (C1 (MetaCons "DispBlanksAsSpan" PrefixI False) U1) (C1 (MetaCons "DispBlanksAsZero" PrefixI False) U1)))

data Legend #

Instances

Eq Legend # 

Methods

(==) :: Legend -> Legend -> Bool #

(/=) :: Legend -> Legend -> Bool #

Show Legend # 
Generic Legend # 

Associated Types

type Rep Legend :: * -> * #

Methods

from :: Legend -> Rep Legend x #

to :: Rep Legend x -> Legend #

Default Legend # 

Methods

def :: Legend #

ToElement Legend # 

Methods

toElement :: Name -> Legend -> Element #

FromCursor Legend # 

Methods

fromCursor :: Cursor -> [Legend] #

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

data LegendPos #

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

Eq LegendPos # 
Show LegendPos # 
Generic LegendPos # 

Associated Types

type Rep LegendPos :: * -> * #

ToAttrVal LegendPos # 

Methods

toAttrVal :: LegendPos -> Text #

FromAttrVal LegendPos # 
type Rep LegendPos # 
type Rep LegendPos = D1 (MetaData "LegendPos" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-0.6.0-9Et6tz40HhX7mNeKNADElD" False) ((:+:) ((:+:) (C1 (MetaCons "LegendBottom" PrefixI False) U1) (C1 (MetaCons "LegendLeft" PrefixI False) U1)) ((:+:) (C1 (MetaCons "LegendRight" PrefixI False) U1) ((:+:) (C1 (MetaCons "LegendTop" PrefixI False) U1) (C1 (MetaCons "LegendTopRight" PrefixI False) U1))))

data Chart #

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

Constructors

LineChart 

Fields

AreaChart 
BarChart 
PieChart 

Fields

ScatterChart 

Instances

Eq Chart # 

Methods

(==) :: Chart -> Chart -> Bool #

(/=) :: Chart -> Chart -> Bool #

Show Chart # 

Methods

showsPrec :: Int -> Chart -> ShowS #

show :: Chart -> String #

showList :: [Chart] -> ShowS #

Generic Chart # 

Associated Types

type Rep Chart :: * -> * #

Methods

from :: Chart -> Rep Chart x #

to :: Rep Chart x -> Chart #

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

data ChartGrouping #

Possible groupings for a bar 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

Eq ChartGrouping # 
Show ChartGrouping # 
Generic ChartGrouping # 

Associated Types

type Rep ChartGrouping :: * -> * #

ToAttrVal ChartGrouping # 
FromAttrVal ChartGrouping # 
type Rep ChartGrouping # 
type Rep ChartGrouping = D1 (MetaData "ChartGrouping" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-0.6.0-9Et6tz40HhX7mNeKNADElD" False) ((:+:) (C1 (MetaCons "PercentStackedGrouping" PrefixI False) U1) ((:+:) (C1 (MetaCons "StackedGrouping" PrefixI False) U1) (C1 (MetaCons "StandardGrouping" PrefixI False) U1)))

data BarDirection #

Possible directions for a bar chart

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

Instances

Eq BarDirection # 
Show BarDirection # 
Generic BarDirection # 

Associated Types

type Rep BarDirection :: * -> * #

ToAttrVal BarDirection # 
FromAttrVal BarDirection # 
type Rep BarDirection # 
type Rep BarDirection = D1 (MetaData "BarDirection" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-0.6.0-9Et6tz40HhX7mNeKNADElD" False) ((:+:) (C1 (MetaCons "DirectionBar" PrefixI False) U1) (C1 (MetaCons "DirectionColumn" PrefixI False) U1))

data ScatterStyle #

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

Eq ScatterStyle # 
Show ScatterStyle # 
Generic ScatterStyle # 

Associated Types

type Rep ScatterStyle :: * -> * #

ToAttrVal ScatterStyle # 
FromAttrVal ScatterStyle # 
type Rep ScatterStyle # 
type Rep ScatterStyle = D1 (MetaData "ScatterStyle" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-0.6.0-9Et6tz40HhX7mNeKNADElD" False) ((:+:) ((:+:) (C1 (MetaCons "ScatterNone" PrefixI False) U1) ((:+:) (C1 (MetaCons "ScatterLine" PrefixI False) U1) (C1 (MetaCons "ScatterLineMarker" PrefixI False) U1))) ((:+:) (C1 (MetaCons "ScatterMarker" PrefixI False) U1) ((:+:) (C1 (MetaCons "ScatterSmooth" PrefixI False) U1) (C1 (MetaCons "ScatterSmoothMarker" PrefixI False) U1))))

data DataPoint #

Single data point options

TODO: invertIfNegative, bubble3D, explosion, pictureOptions, extLst

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

Instances

Eq DataPoint # 
Show DataPoint # 
Generic DataPoint # 

Associated Types

type Rep DataPoint :: * -> * #

Default DataPoint # 

Methods

def :: DataPoint #

FromCursor DataPoint # 

Methods

fromCursor :: Cursor -> [DataPoint] #

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

data Series #

Specifies common series options TODO: spPr

See EG_SerShared (p. 4063)

Constructors

Series 

Fields

Instances

Eq Series # 

Methods

(==) :: Series -> Series -> Bool #

(/=) :: Series -> Series -> Bool #

Show Series # 
Generic Series # 

Associated Types

type Rep Series :: * -> * #

Methods

from :: Series -> Rep Series x #

to :: Rep Series x -> Series #

ToElement Series # 

Methods

toElement :: Name -> Series -> Element #

FromCursor Series # 

Methods

fromCursor :: Cursor -> [Series] #

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

data LineSeries #

A series on a line chart

TODO: dPt, trendline, errBars, cat, extLst

See CT_LineSer (p. 4064)

Constructors

LineSeries 

Fields

data AreaSeries #

A series on an area chart

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

See CT_AreaSer (p. 4065)

data BarSeries #

A series on a bar chart

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

See CT_BarSer (p. 4064)

Instances

Eq BarSeries # 
Show BarSeries # 
Generic BarSeries # 

Associated Types

type Rep BarSeries :: * -> * #

ToElement BarSeries # 

Methods

toElement :: Name -> BarSeries -> Element #

FromCursor BarSeries # 

Methods

fromCursor :: Cursor -> [BarSeries] #

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

data PieSeries #

A series on a pie chart

TODO: explosion, cat, extLst

See CT_PieSer (p. 4065)

Constructors

PieSeries 

Fields

data ScatterSeries #

A series on a scatter chart

TODO: dPt, trendline, errBars, smooth, extLst

See CT_ScatterSer (p. 4064)

Instances

Eq ScatterSeries # 
Show ScatterSeries # 
Generic ScatterSeries # 

Associated Types

type Rep ScatterSeries :: * -> * #

ToElement ScatterSeries # 
FromCursor ScatterSeries # 
type Rep ScatterSeries # 

data DataMarker #

Constructors

DataMarker 

Fields

Instances

Eq DataMarker # 
Show DataMarker # 
Generic DataMarker # 

Associated Types

type Rep DataMarker :: * -> * #

ToElement DataMarker # 
FromCursor DataMarker # 

Methods

fromCursor :: Cursor -> [DataMarker] #

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

data DataMarkerSymbol #

Instances

Eq DataMarkerSymbol # 
Show DataMarkerSymbol # 
Generic DataMarkerSymbol # 
ToAttrVal DataMarkerSymbol # 
FromAttrVal DataMarkerSymbol # 
type Rep DataMarkerSymbol # 
type Rep DataMarkerSymbol = D1 (MetaData "DataMarkerSymbol" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-0.6.0-9Et6tz40HhX7mNeKNADElD" False) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "DataMarkerCircle" PrefixI False) U1) ((:+:) (C1 (MetaCons "DataMarkerDash" PrefixI False) U1) (C1 (MetaCons "DataMarkerDiamond" PrefixI False) U1))) ((:+:) (C1 (MetaCons "DataMarkerDot" PrefixI False) U1) ((:+:) (C1 (MetaCons "DataMarkerNone" PrefixI False) U1) (C1 (MetaCons "DataMarkerPicture" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "DataMarkerPlus" PrefixI False) U1) ((:+:) (C1 (MetaCons "DataMarkerSquare" PrefixI False) U1) (C1 (MetaCons "DataMarkerStar" PrefixI False) U1))) ((:+:) (C1 (MetaCons "DataMarkerTriangle" PrefixI False) U1) ((:+:) (C1 (MetaCons "DataMarkerX" PrefixI False) U1) (C1 (MetaCons "DataMarkerAuto" PrefixI False) U1)))))

data DataLblProps #

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)

data TickMark #

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

Eq TickMark # 
Show TickMark # 
Generic TickMark # 

Associated Types

type Rep TickMark :: * -> * #

Methods

from :: TickMark -> Rep TickMark x #

to :: Rep TickMark x -> TickMark #

ToAttrVal TickMark # 

Methods

toAttrVal :: TickMark -> Text #

type Rep TickMark # 
type Rep TickMark = D1 (MetaData "TickMark" "Codec.Xlsx.Types.Drawing.Chart" "xlsx-0.6.0-9Et6tz40HhX7mNeKNADElD" False) ((:+:) ((:+:) (C1 (MetaCons "TickMarkCross" PrefixI False) U1) (C1 (MetaCons "TickMarkIn" PrefixI False) U1)) ((:+:) (C1 (MetaCons "TickMarkNone" PrefixI False) U1) (C1 (MetaCons "TickMarkOut" PrefixI False) U1)))

c_ :: Text -> Name #

Add chart namespace to name