|
@@ -886,12 +886,12 @@ function renderCustomerValueCharts($value_data) {
|
|
|
<h2 class="chart-title">客户价值分布</h2>
|
|
|
</div>
|
|
|
|
|
|
- <div class="chart-row">
|
|
|
- <div class="chart-column">
|
|
|
+ <div class="chart-row" style="display: flex; width: 100%; margin: 0 -10px;">
|
|
|
+ <div class="chart-column" style="flex: 0 0 50%; max-width: 50%; padding: 0 10px; box-sizing: border-box;">
|
|
|
<h3 style="text-align: center; margin-bottom: 15px;">客户价值分布(柱状图)</h3>
|
|
|
<canvas id="customerValueBarChart"></canvas>
|
|
|
</div>
|
|
|
- <div class="chart-column">
|
|
|
+ <div class="chart-column" style="flex: 0 0 50%; max-width: 50%; padding: 0 10px; box-sizing: border-box;">
|
|
|
<h3 style="text-align: center; margin-bottom: 15px;">客户价值分布(饼图)</h3>
|
|
|
<canvas id="customerValuePieChart"></canvas>
|
|
|
</div>
|