You must be logged in to post your query.
Home › Forums › Chart Support › Stacked Line Chart
Is there any way to stack line chart?
You can achieve stacked line chart with the help of stacked area chart by setting fillOpacity: 0. Please take a look at this jsfiddle.
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.
Priyanka M S
Thanks Priyanka and Vishwas for the solution.
Both visually look the same. Is there any advantage of one solution over the other?
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.
You must be logged in to reply to this topic. Login/Register