Search code examples
cssangulartypescriptngx-charts

Vertical line to ngx-charts


How i can to add two vertical lines to stacked horizontal bar? This is my stackblitz

I need to add something similar to red lines over stacked bar:

i looking make this

if not possible, what's your recommendation for make this work.


Solution

  • U can not do it with ngx-charts. It is not a kind of line chart. It is a bullet chart. I suggest u to use highchart. https://www.highcharts.com/demo/bullet-graph

    https://github.com/cebor/angular-highcharts

    https://github.com/cebor/angular-highcharts/issues/159

    I created one example demo for u

    https://stackblitz.com/edit/highcharts-angular-demo-v3pgaa