Module:Graph: Difference between revisions

Content deleted Content added
Use user-defined order for stacked charts (this has fallen out of sync with source module... needs to be resynced in both directions somewhat, I think)
Fix browser color-inversion issues via #666666 (will update de.wiki after about a week in case any issues here) (similar to mw:Template:Graph:PageViews), from sandbox
Line 3:
--
-- Version History (_PLEASE UPDATE when modifying anything_):
-- 2018-10-05 Fix browser color-inversion issues via #666666 (will update de.wiki after about a week in case any issues here)
-- 2018-08-26 Use user-defined order for stacked charts
-- 2018-02-11 Force usage of explicitely provided x minimum and/or maximum values, rotation of x labels
Line 522 ⟶ 523:
xAxis.properties =
{
title =
{
fill = { value = "#666666" }
},
labels =
{
angle = { value = xAxisAngle },
align = { value = xAxisAlign },
fill = { value = "#666666" }
},
ticks =
{
stroke = { value = "#666666" }
},
axis =
{
stroke = { value = "#666666" },
strokeWidth = { value = 2 }
}
}
else
xAxis.properties =
{
title =
{
fill = { value = "#666666" }
},
labels =
{
fill = { value = "#666666" }
},
ticks =
{
stroke = { value = "#666666" }
},
axis =
{
stroke = { value = "#666666" },
strokeWidth = { value = 2 }
}
}
Line 538 ⟶ 574:
format = yAxisFormat
}
yAxis.properties =
{
title =
{
fill = { value = "#666666" }
},
labels =
{
fill = { value = "#666666" }
},
ticks =
{
stroke = { value = "#666666" }
},
axis =
{
stroke = { value = "#666666" },
strokeWidth = { value = 2 }
},
grid =
{
stroke = { value = "#666666" }
}
}
elseif chartType ~= "pie" then
end