Safe Haskell | None |
---|---|
Language | Haskell2010 |
Codec.Xlsx.Types.Drawing.Chart
- 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 #
Main Chart holder, combines TODO: title, autoTitleDeleted, pivotFmts view3D, floor, sideWall, backWall, showDLblsOverMax, extLst
Constructors
ChartSpace | |
Fields |
Instances
newtype ChartTitle #
Chart title
TODO: layout, overlay, spPr, txPr, extLst
Constructors
ChartTitle (Maybe TextBody) |
Instances
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
Constructors
Legend | |
Fields |
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. |
Specific Chart TODO: area3DChart, line3DChart, stockChart, radarChart, pie3DChart, doughnutChart, bar3DChart, ofPieChart, surfaceChart, surface3DChart, bubbleChart
Constructors
LineChart | |
Fields
| |
AreaChart | |
Fields | |
BarChart | |
Fields | |
PieChart | |
Fields
| |
ScatterChart | |
Fields |
data ChartGrouping #
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
data BarChartGrouping #
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. |
data BarDirection #
Possible directions for a bar chart
See 21.2.3.3 "ST_BarDir (Bar Direction)" (p. 3441)
Constructors
DirectionBar | |
DirectionColumn |
Instances
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)
Constructors
ScatterNone | |
ScatterLine | |
ScatterLineMarker | |
ScatterMarker | |
ScatterSmooth | |
ScatterSmoothMarker |
Instances
Single data point options
TODO: invertIfNegative, bubble3D, explosion, pictureOptions, extLst
See 21.2.2.52 "dPt (Data Point)" (p. 3384)
Constructors
DataPoint | |
Fields |
Specifies common series options TODO: spPr
See EG_SerShared
(p. 4063)
Constructors
Series | |
Fields
|
data LineSeries #
A series on a line chart
TODO: dPt, trendline, errBars, cat, extLst
See CT_LineSer
(p. 4064)
Constructors
LineSeries | |
Fields
|
Instances
data AreaSeries #
A series on an area chart
TODO: pictureOptions, dPt, trendline, errBars, cat, extLst
See CT_AreaSer
(p. 4065)
Constructors
AreaSeries | |
Fields |
Instances
A series on a bar chart
TODO: invertIfNegative, pictureOptions, dPt, trendline, errBars, cat, shape, extLst
See CT_BarSer
(p. 4064)
Constructors
BarSeries | |
Fields |
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)
Constructors
ScatterSeries | |
Fields |
Instances
data DataMarker #
Constructors
DataMarker | |
Fields
|
Instances
data DataMarkerSymbol #
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)
Constructors
DataLblProps | |
Fields |
Instances
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. |
chartFromNode :: Node -> [Chart] #