score:1
Yes you can actually do that. You want the horizontal marker line so you need to add this code inside your y-axis
plotLines: [{
color: '#FF0000',
width: 2,
value: .50 * 200 // The marker value will be 100
// Or you can just set its value to 100
}]
Source: stackoverflow.com
Related Query
- Limit labels number on Chart.js line chart
- Draw horizontal line on chart in chart.js on v2
- How can I create a horizontal scrolling Chart.js line chart with a locked y axis?
- How do I draw a vertical line on a horizontal bar chart with ChartJS?
- Draw a horizontal and vertical line on mouse hover in chart js
- How to draw Horizontal line on Bar Chart Chartjs
- In Stacked horizontal bar chart how to remove the vertical line in Chart.js?
- Angular-chart / line chart with multiple horizontal lines (margins)
- Chart.js horizontal line chart or modified horizontal bar chart
- change space between horizontal (grid) lines for line chart
- Chart.js - Horizontal line on Bar chart interferes with tooltip
- Chart.js - draw horizontal line in Bar Chart (type bar)
- ChartJS 2.9.4 can't overlay line data on Horizontal Bar chart
- Remove top horizontal line in a horizontal bar chart (Chart.js 2)
- Change horizontal line chart to vertical line
- Can't Draw Horizontal Line on Graph Using ChartJS Annotation Plugin and Primevue Chart
- Is there any way to remove extra space and Horizontal line from Bar chart of Chart.js?
- How to draw multiple color bars in a bar chart along a Horizontal Line using chart.js
- chart.js line chart and "correct" spacing between points? (i.e. horizontal position based on percent of width, not fixed)
- Drawing a horizontal line on a stacked bar chart on hover (chart js)
- Chart.js Draw a Stacked Bar Chart with Limit Line
- Plugin for custom horizontal line Y-axis marker on grid of a Line chart with Chart.js
- How to limit chart JS hover to take only one value from each line chart when zoomed out?
- Draw stacked horizontal bar chart with Average line using ChartJS
- ChartJS: Is this horizontal stacked bar and line graph multiaxis chart even possible?
- ChartJS - adding scroll to horizontal legend in Line chart
- Chart.js - How to set a line chart dataset as disabled on load
- Chart Js Change Label orientation on x-Axis for Line Charts
- Remove the vertical line in the chart js line chart
- Moving vertical line when hovering over the chart using chart.js
More Query from same tag
- ChartJS: Position labels at end of doughnut segment
- How to fill background colors on line-charts?
- Change Chartjs Legend Icon Style
- Generating different chart results on fly causes flickering
- chart.js chart distorted with fixed width
- Changing color of specific ChartJS - AngularChartJS point
- Charts.js - Display data label only for the last value
- How to make ChartJS not cut off tooltips?
- How to load page containing Chart.js using jQuery
- Get Date Range with Given Date
- I can't import ChartsModule
- Django admin/ Chart js error - super() takes at least 1 argument (0 given)
- Chart.js line doesn't fit in
- Display data labels on a pie chart in angular-chart.js
- How to offset axes in a scatter plot?
- Chart js pie or doughnut charts 3 inside instead of 1
- Disable stacking for 1 dataset
- How to Modify ToolTips in Yii2 using dosamigos\chartjs\ChartJs?
- How to set the xAxes min and max values of time cartesian chart in Chart.js
- Uncaught TypeError: fn is not a function in chart.js
- Chartjs Datasets overlapping and z-index
- How to update with animation a Pie Chart?
- using array values in chart.js data and label field
- Chart JS Re-Animate chart with onclick
- Chart.js line chart with correctly spaced x labels
- How can I get the active label element on click in ChartJS?
- Can't load multiple charts onto a page when looping through dummy array
- How to filter chart.js by month
- Completely hide empty bars in chart.js
- How can I add vertical line and label for each point in Chart.js?