Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/plots/venn/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export interface VennOptions extends Options {

// 韦恩图 样式
/** color */
readonly color?: string | string[] | ((datum: Datum, defaultColor: string) => string);
readonly color?: string | string[] | ((datum: Datum, defaultColor?: string) => string);
/** 并集合的颜色混合方式, 可选项: 参考 https://gka.github.io/chroma.js/#chroma-blend, 默认: multiply */
readonly blendMode?: string;
/** point 样式 */
Expand Down