Reputation: 1145
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
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