You must be logged in to post your query.
Home › Forums › Chart Support › Average Line
Tagged: barchart
Hi there im currently trying to use https://canvasjs.com/javascript-charts/chart-axis-scale-break/ to achieve this Is there any way i can ahieve this kind of average line where i can set the point and customized the thickness ?
@isysedge,
You can use stripLine to show average as a horizontal line. Please take a look at this gallery page for an example on the same.
___________ Indranil Deo Team CanvasJS
Hi there @indranil Thankyou for responding to my post , Like i said in the picture above i need help on achieving #1. dotted line #2. the red marker in every section of month like january , february … December #3. And also hover on the red marker to see the differences between the current value to the average value
#1. dotted line
You can use lineDashType to set the dash type of stripLine as a dot/dash.
#2. the red marker in every section of month like january , february … December
You can use scatter chart with color set to red.
#3. And also hover on the red marker to see the differences between the current value to the average value
You can define toolTipContent at dataSeries level to achieve this.
Please take a look at this JSFiddle for the same.
You must be logged in to reply to this topic. Login/Register