Skip to content

Instantly share code, notes, and snippets.

@tripp
Created May 4, 2011 18:07
Show Gist options
  • Save tripp/955682 to your computer and use it in GitHub Desktop.
Save tripp/955682 to your computer and use it in GitHub Desktop.
seriesCollection
var series = [
{
type: "stackedcolumn",
stacked: true,
yKey: "d1"
},
{
type: "stackedcolumn",
stacked: true,
yKey: "d2"
},
{
type:"combo",
xKey:"category",
yKey:"d3",
xDisplayName:"Date",
yDisplayName:"Deductions",
line: {
color: "#ff7200"
},
marker: {
fill: {
color: "#ff9f3b"
},
border: {
color: "#ff7200",
weight: 1
},
over: {
width: 12,
height: 12
}
}
}];
var mychart = new Y.Chart({
axes:axes,
styles:styles,
seriesCollection:series,
dataProvider:myDataValues,
render:"#mychart",
stacked:true
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment