rust_xlsxwriter 0.99.1

A Rust library for writing Excel 2007 xlsx files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright 2022-2026, John McNamara, jmcnamara@cpan.org

//! An example of creating gradient stops for a gradient fill for a chart element.

use rust_xlsxwriter::ChartGradientStop;

#[allow(unused_variables)]
fn main() {
    let gradient_stops = [
        ChartGradientStop::new("#156B13", 0),
        ChartGradientStop::new("#9CB86E", 50),
        ChartGradientStop::new("#DDEBCF", 100),
    ];
}