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

Method get_mark_color

js/src/Bars.ts:860–863  ·  view source on GitHub ↗
(data: BarGroupValue, index: number)

Source from the content-addressed store, hash-verified

858 }
859
860 get_mark_color(data: BarGroupValue, index: number) {
861 // Workaround for the bargroup, the color index is not the same as the bar index
862 return super.get_mark_color(data, data.colorIndex);
863 }
864
865 get_mark_opacity(data: BarGroupValue, index) {
866 // Workaround for the bargroup, the opacity index is not the same as the bar index

Callers 7

reset_drag_styleMethod · 0.80
update_styleMethod · 0.80
draw_legendMethod · 0.80
get_fill_colorMethod · 0.80
update_marker_styleMethod · 0.80
updateSlicesMethod · 0.80
set_default_styleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected