MCPcopy
hub / github.com/chartjs/Chart.js / configure

Method configure

src/scales/scale.category.js:123–130  ·  view source on GitHub ↗

* @protected

()

Source from the content-addressed store, hash-verified

121 * @protected
122 */
123 configure() {
124 super.configure();
125
126 if (!this.isHorizontal()) {
127 // For backward compatibility, vertical category scale reverse is inverted.
128 this._reversePixels = !this._reversePixels;
129 }
130 }
131
132 // Used to get data value locations. Value can either be an index or a numerical value
133 getPixelForValue(value) {

Callers

nothing calls this directly

Calls 2

configureMethod · 0.65
isHorizontalMethod · 0.65

Tested by

no test coverage detected