GradientFill {xlcharts}R Documentation

GradientFill

Description

Fill areas with gradient

https://openpyxl.readthedocs.io/en/stable/api/openpyxl.styles.fills.html

Usage

GradientFill(
  type = "linear",
  degree = 0L,
  left = 0L,
  right = 0L,
  top = 0L,
  bottom = 0L,
  stop = list(),
  ...
)

Arguments

type

type

degree

degree

left

left

right

right

top

top

bottom

bottom

stop

stop

...

Additional arguments, i.e. kwargs.

Details

Two types of gradient fill are supported: - A type='linear' gradient interpolates colours between a set of specified Stops, across the length of an area. The gradient is left-to-right by default, but this orientation can be modified with the degree attribute. A list of Colors can be provided instead and they will be positioned with equal distance between them. - A type='path' gradient applies a linear gradient from each edge of the area. Attributes top, right, bottom, left specify the extent of fill from the respective borders. Thus top="0.2" will fill the top 20

Value

An openpyxl Python object.

Examples

## Not run: 
GradientFill()

## End(Not run)


[Package xlcharts version 0.0.2 Index]