Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into stroke-color-function
  • Loading branch information
Digvijayrao-KF committed Apr 4, 2024
2 parents f9d1967 + 52e3b0b commit 8e5f44f
Show file tree
Hide file tree
Showing 8 changed files with 614 additions and 583 deletions.
216 changes: 109 additions & 107 deletions samples/react/mixed/line-column-area-stacked-grouped.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,133 +147,135 @@
}],
options: {
chart: {
height: 350,
type: 'line',
stacked: true,
stackOnlyBar: false,
dropShadow: {
enabled: true,
enabledOnSeries: [0,1,2,3,4,5,10]
},
height: 350,
type: 'line',
stacked: true,
stackOnlyBar: false,
dropShadow: {
enabled: true,
enabledOnSeries: [0,1,2,3,4,5,6,7,10]
},

},
plotOptions: {
bar: {
columnWidth: '70%'
}
},
dataLabels: {
enabled: true,
enabledOnSeries: [10]
},
xaxis: {
categories: [2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016]
},
yaxis: [
{
seriesName: ['Series A','Series B','Series C',
'Series D','Series E','Series F'],
axisTicks: {
show: true,
color: '#008FFB'
},
plotOptions: {
bar: {
columnWidth: '40%'
axisBorder: {
show: true,
color: '#008FFB'
},
title: {
text: "Columns (Stacked/Grouped)",
style: {
color: '#008FFB'
}
},
dataLabels: {
enabled: true,
enabledOnSeries: [10]
labels: {
style: {
colors: ['#008FFB']
}
}
},{
opposite: true,
seriesName: ['Series X', 'Series Y'],
axisTicks: {
show: true,
color: '#78909C'
},
xaxis: {
categories: [2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016]
axisBorder: {
show: true,
color: '#78909C'
},
yaxis: [
{
seriesName: ['Series A','Series B','Series C',
'Series D','Series E','Series F'],
axisTicks: {
show: true,
color: '#008FFB'
},
axisBorder: {
show: true,
color: '#008FFB'
},
title: {
text: "Columns (Stacked/Grouped)",
style: {
color: '#008FFB'
}
},
labels: {
style: {
colors: ['#008FFB']
}
}
},{
opposite: true,
seriesName: ['Series X', 'Series Y'],
axisTicks: {
show: true,
title: {
text: "Columns (Stacked)",
style: {
color: '#78909C'
},
axisBorder: {
show: true,
color: '#78909C'
},
title: {
text: "Columns (Stacked)",
style: {
color: '#78909C'
}
}
},{
seriesName: ['Series 1','Series 2'],
labels: {
style: {
colors: ['#88AA88']
}
},
axisTicks: {
show: true,
color: '#88AA88'
},
axisBorder: {
show: true,
}
},{
seriesName: ['Series 1','Series 2'],
labels: {
style: {
colors: ['#88AA88']
}
},
axisTicks: {
show: true,
color: '#88AA88'
},
axisBorder: {
show: true,
color: '#88AA88'
},
title: {
text: "Areas (stacked)",
style: {
color: '#88AA88'
},
title: {
text: "Areas (stacked)",
style: {
color: '#88AA88'
}
}
},{
opposite: true,
seriesName: 'Series 3',
labels: {
style: {
colors: ['#78909C']
}
},
axisTicks: {
show: true,
color: '#78909C'
},
axisBorder: {
show: true,
}
},{
opposite: true,
seriesName: 'Series 3',
labels: {
style: {
colors: ['#78909C']
}
},
axisTicks: {
show: true,
color: '#78909C'
},
axisBorder: {
show: true,
color: '#78909C'
},
title: {
text: "Line",
style: {
color: '#78909C'
},
title: {
text: "Line",
style: {
color: '#78909C'
}
}
}
}
],
fill: {
type: 'gradient',
gradient: {
shade: 'light'
}
type: 'gradient',
gradient: {
shade: 'light'
}
},
stroke: {
width: [0,0,0,0,0,0,0,0,1,1,3],
colors: ['#fff','#fff','#fff','#fff','#fff','#fff',
'#DDDDDD','#888888',
'#fff','#fff',
'#222222']
width: [4,4,4,4,4,4,4,4,1,1,3],
colors: ['rgba(0,0,0,0)','rgba(0,0,0,0)','rgba(0,0,0,0)',
'rgba(0,0,0,0)','rgba(0,0,0,0)','rgba(0,0,0,0)',
'rgba(0,0,0,0)','rgba(0,0,0,0)',
'#fff','#fff',
'#222222'],
curve: ['','','','','','','','','stepline','stepline','straight']
},
colors: ['#00D8B6','#008FFB','#FEB019',
'#FF4560','#775DD0',"#95C11F",
'#DDDDDD','#888888',
'#88AA88','#DDEEDD',
'#AAAAAA'],
'#FF4560','#775DD0',"#95C11F",
'#DDDDDD','#888888',
'#88AA88','#DDEEDD',
'#AAAAAA'],
tooltip: {
shared: true
shared: true
}
},

Expand Down
Loading

0 comments on commit 8e5f44f

Please sign in to comment.