You must be logged in to post your query.
Home › Forums › Chart Support › Stacked Line Chart
Is there any way to stack line chart?
[Update] You can achieve stacked line chart with the help of stacked area chart by setting fillOpacity: 0. Please take a look at this jsfiddle.
fillOpacity: 0
himanshu,
You can achieve stacked line chart with the help of stacked area chart by customizing it with color: "transparent" and using lineColor, markerColor and toolTipContent properties based on your requirement. Please take a look at this jsfiddle.
color: "transparent"
__ Priyanka M S Team CanvasJS
Thanks Priyanka and Vishwas for the solution.
Both visually look the same. Is there any advantage of one solution over the other?
@himanshu_tanwar,
Visually both looks same. But in the previous example you need to handle color of the line, marker, toolTip content, etc where as in the current example provided its just a single property (fillOpacity) that makes your task simpler.
— Vishwas R Team CanvasJS
ok thanks
You must be logged in to reply to this topic. Login/Register