Gracie williams
Gracie williams

Reputation: 1145

Limit the zoomband / constant line to certain X axis

we are creating bands and lines using below code

const constantline = axis.addConstantLine()

const band = axis.addBand()
const constantLline = axis.addConstantLine(false)
const band = axis.addBand(false)

constantline.setValue( 50 )

But line is extending to full x or y axis , can we limit the X or y axis like Rectangle ?

Upvotes: 0

Views: 68

Answers (1)

Snekw
Snekw

Reputation: 2620

It is not possible to limit the constant line or band to only be drawn to a specific value. The constant line and band will always span across the chart.

Upvotes: 1

Related Questions