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

Method apply_tick_styling

js/src/Axis.ts:223–230  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

221 }
222
223 apply_tick_styling() {
224 // Applies current tick styling to all displayed ticks
225 if (this.g_axisline) {
226 const tickText = this.g_axisline.selectAll('.tick text');
227 applyStyles(tickText, this.model.get('tick_style'));
228 tickText.attr('transform', this.get_tick_transforms());
229 }
230 }
231
232 get_tick_transforms() {
233 // parses object and returns a string that can be passed to a D3 as a

Callers 5

set_tick_valuesMethod · 0.95
tickformat_changedMethod · 0.95
append_axisMethod · 0.95
update_grid_linesMethod · 0.95
rescale_axisMethod · 0.95

Calls 2

get_tick_transformsMethod · 0.95
applyStylesFunction · 0.90

Tested by

no test coverage detected