@material-vega/core
Version:
Material Design stylized themes for Vega Lite visualizations
44 lines (43 loc) • 969 B
TypeScript
export interface MaterialVegaOptions {
/**
* Font family to use for text
*/
font: string;
/**
* Spacing between labels and the chart
*/
labelPadding: number;
/**
* Corner radius to use for bars
*/
barCornerRadius: number;
/**
* Primary text color
*/
textColor: string;
/**
* Secondary text color
*/
secondaryTextColor: string;
/**
* Divider color
*/
dividerColor: string;
/**
* Default color for single marks
*/
color: string | undefined;
/**
* Background color for charts
*/
background: string;
/**
* Bottom domain line thickness
*/
thickDomainLineWidth: number;
}
export declare const materialVegaOptionDefaults: MaterialVegaOptions;
/**
* Apply default values to user supplied material vega options
*/
export declare function extendDefaults(options: Partial<MaterialVegaOptions>): MaterialVegaOptions;