MCPcopy Create free account
hub / github.com/bqplot/bqplot / get_fill_color

Method get_fill_color

js/src/Lines.ts:537–542  ·  view source on GitHub ↗
(data, index)

Source from the content-addressed store, hash-verified

535 }
536
537 get_fill_color(data, index): string {
538 const fillColors: string = this.model.get('fill_colors');
539 return fillColors.length === 0
540 ? this.get_mark_color(data, index)
541 : fillColors[index];
542 }
543
544 update_line_xy(animate): void {
545 const xScale = this.scales.x,

Callers 3

update_styleMethod · 0.95
draw_legendMethod · 0.95
update_fillMethod · 0.95

Calls 1

get_mark_colorMethod · 0.80

Tested by

no test coverage detected