Plantilla:Gráfico/casos de prueba

De Wikipedia, la enciclopedia libre

Gráfico lineal[editar]

{{Gráfico/zona de pruebas
|width = 400
|height = 100
|type = line
|x = 1, 2, 3, 4, 5, 6, 7, 8
|y = 10, 12, 6, 14, 2, 10, 7, 9
}}

Gráfico de áreas[editar]

{{Gráfico/zona de pruebas
|width = 400
|height = 100
|type = area
|x = 1, 2, 3, 4, 5, 6, 7, 8
|y = 10, 12, 6, 14, 2, 10, 7, 9
}}

Bar chart[editar]

{{Gráfico/zona de pruebas
|width = 400
|height = 100
|xAxisTitle = X
|yAxisTitle = Y
|type = rect
|x = 1, 2, 3, 4, 5, 6, 7, 8
|y = 10, 12, 6, 14, 2, 10, 7, 9
}}

Gráfico de líneas con más de una serie de datos, utilizando colores[editar]

{{Gráfico/zona de pruebas
|width = 400
|height = 100
|xAxisTitle = X
|yAxisTitle = Y
|legend = Leyenda
|type = line
|x = 1, 2, 3, 4, 5, 6, 7, 8
|y1 = 10, 12, 6, 14, 2, 10, 7, 9
|y2 = 2, 4, 6, 8, 13, 11, 9, 2
|colors = #0000aa, #ff8000
}}

Gráfico de áreas con más de una serie de datos en superposiciones[editar]

{{Gráfico/zona de pruebas
|width = 400
|height = 100
|xAxisTitle = X
|yAxisTitle = Y
|legend = Leyenda
|type = area
|x = 1, 2, 3, 4, 5, 6, 7, 8
|y1 = 10, 12, 6, 14, 2, 10, 7, 9
|y2 = 2, 4, 6, 8, 13, 11, 9, 2
|colors = #800000aa, #80ff8000
}}

Gráfico de barras con varias series de datos[editar]

{{Gráfico/zona de pruebas
|width = 400
|height = 100
|xAxisTitle = X
|yAxisTitle = Y
|legend = Leyenda
|type = rect
|x = 1, 2, 3, 4, 5, 6, 7, 8
|y1 = 10, 12, 6, 14, 2, 10, 7, 9
|y2 = 2, 4, 6, 8, 13, 11, 9, 2
|colors = #800000aa, #80ff8000
}}

Gráfico de áreas con líneas suavizadas[editar]

{{Gráfico/zona de pruebas
|width = 400
|height = 100
|xAxisTitle = X
|yAxisTitle = Y
|legend = Leyenda
|type = stackedarea
|x = 1, 2, 3, 4, 5, 6, 7, 8
|y1 = 10, 12, 6, 14, 2, 10, 7, 9
|y2 = 2, 4, 6, 8, 13, 11, 9, 2
|interpolate = monotone
|colors = seagreen, orchid
}}

Gráfico de barras con series de datos apilados[editar]

{{Gráfico/zona de pruebas
|width = 400
|height = 100
|xAxisTitle = X
|yAxisTitle = Y
|legend = Leyenda
|type = stackedrect
|x = 1, 2, 3, 4, 5, 6, 7, 8
|y1 = 10, 12, 6, 14, 2, 10, 7, 9
|y2 = 2, 4, 6, 8, 13, 11, 9, 2
|y1Title = Datos A
|y2Title = Datos B
|colors = seagreen, orchid
}}

Gráfico lineal usando porcentajes y mostrando puntos y rejilla[editar]

{{Gráfico/zona de pruebas
|width = 400
|height = 200
|x = 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23
|yAxisMin = .35
|yAxisMax = .55
|yAxisFormat = %
|showSymbols = 1
|xGrid = 1
|yGrid = 1
|y1 = .39, .43, .38, .38, .40, .48, .54 , .42, .47, .45, .48, .44, .41, .41, .45, .46
}}