This demo shows how to render a Multigroup Trend chart. In this trend chart, a line is defined by the combination of multiple attributes. Use the standard trend chart when you just need to group by time and a single attribute.
If you'd like to see the demo in full screen click here
Review the complete source code and copy/paste it to create your own.