fix crash if some line have no date
exhaustive mime list in the line chart and rtypes pie-chart