Plotr Project Page › Documentation

This is the documentation center for Plotr. As you can see there’s a lot to be written so please be patient.

Getting started…

Options

var options = {
	axis: {
		lineWidth:		1.0,
		lineColor:		'#000000',
		tickSize:		3.0,
		labelColor:		'#666666',
		labelFont:		'Tahoma',
		labelFontSize:		9,
		labelWidth:		50.0,
		x: {
			hide:		false,
			ticks:		null,
			tickCount:	10,
			tickPrecision:	1,
			values:		null
		},
		y: {
			hide:		false,
			ticks:		null,
			tickCount:	10,
			tickPrecision:	1,
			values:		null
		}
	},
	background: {
		color:			'#f5f5f5',
		hide:			false,
		lineColor:		'#ffffff',
		lineWidth:		1.5
	},
	legend:	{
		opacity:		0.8,
		borderColor:		'#000000',
		style:			{},
		hide:			false,
		position:		{top: '20px', left: '40px'}
	},
    	padding: {
		left: 			30,
		right: 			30,
		top: 			5,
		bottom: 		10
	},
	stroke:	{
		color:			'#ffffff',
		hide:			false,
		shadow:			true,
		width:			2
	},
	fillOpacity:			1.0,
	shouldFill: 			true,
	barWidthFillFraction:		0.75,
	barOrientation: 		‘vertical’,
	xOriginIsZero: 			true,
	yOriginIsZero:			true,
	pieRadius: 			0.4,
	colorScheme: 			Plotr.Base.defaultScheme(this.dataSets.keys())
};