antvis/G2

How to change graph's label background in multi-line series? #4065

ZiadFathi posted onGitHub

Screenshot (1)

Am using labels on the graph and would like to put it in a square shape and change its style, can anyone help me, please?


I have the same issue, can anyone help us? @simaQ @leungwensen @dxq613 @hustcc @visiky @ai-qing-hai @pearmini

posted by osamamammar over 2 years ago

there are 2 way:

  1. set the label style
chart.line()
  .label({ /*  **/ })
  1. draw annotation in the canvas by yourself
posted by hustcc over 2 years ago

Fund this Issue

$0.00
Funded

Pull requests