                 return context.label + ': ' + context.parsed.toFixed(1) + ' ' + getDistanceUnit();
                                        }
                                    }
                                }
                            }
                        }
                    });
                }
            }

            // Render breakdown chart for year view (monthly breakdown)
            if (statisticsType === 'year' && breakdownTransportData.length > 0) {
                const monthlyCa