Module:Timeline/ExampleData
Jump to navigation
Jump to search
Documentation for this module may be created at Module:Timeline/ExampleData/doc
return {
from = '30/06/2015',
till = '17/06/2018',
dataset = {
{
name = 'Label 1',
bars = {
{ from = 'start', till = '26/01/2017', bar_type = 'red' }
}
},
{
name = 'Label 2',
bars = {
{ from = '11/01/2016', till = '21/08/2017', bar_type = 'red' },
{ from = '21/08/2017', till = '16/03/2018', bar_type = 'blue' }
}
},
{
name = 'Label 3',
bars = {
{ from = 'start', till = '30/06/2016', bar_type = 'blue' },
{ from = '01/01/2017', till = 'end', bar_type = 'blue' }
}
}
},
bar_types = {
red = {
legend = 'Red Bar',
color = 'red'
},
blue = {
legend = 'Gradient Bar',
color = 'linear-gradient(to right, blue, aqua, blue)'
}
},
style = {
legend_columns = 2
}
}