MCPcopy Index your code
hub / github.com/bqplot/bqplot / get_mark_opacity

Method get_mark_opacity

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

Source from the content-addressed store, hash-verified

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
867 return super.get_mark_opacity(data, data.opacityIndex);
868 }
869
870 private set_x_range(): [number, number] {
871 const domScale = this.domScale;

Callers 3

updateOpacitiesMethod · 0.80
updateSlicesMethod · 0.80
set_default_styleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected