lodchart panel: had trouble in case that margin.inner wasn't defined; take it to be 0 if not defined