PluginProbe ʕ •ᴥ•ʔ
Independent Analytics – WordPress Analytics Plugin / 2.15.1
Independent Analytics – WordPress Analytics Plugin v2.15.1
2.15.1 2.15.0 2.14.10 trunk 1.1 1.10 1.10.1 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.17.1 1.17.2 1.17.3 1.17.4 1.18 1.18.1 1.19.0 1.19.1 1.2 1.20.0 1.21.0 1.22.0 1.22.1 1.23.0 1.23.1 1.24.0 1.24.1 1.25.0 1.25.1 1.26.0 1.27.0 1.28.0 1.28.1 1.28.2 1.28.3 1.29.0 1.3 1.30.0 1.30.1 1.4 1.5 1.6 1.7 1.8 1.9 2.0.0 2.0.1 2.1.4 2.1.5 2.1.6 2.10.0 2.10.1 2.10.2 2.10.3 2.10.4 2.11.0 2.11.1 2.11.10 2.11.2 2.11.3 2.11.4 2.11.5 2.11.6 2.11.7 2.11.8 2.11.9 2.12.0 2.12.1 2.12.2 2.13.1 2.13.2 2.13.5 2.13.6 2.14.0 2.14.1 2.14.2 2.14.4 2.14.6 2.14.7 2.14.8 2.14.9 2.2.0 2.2.1 2.3.1 2.3.2 2.4.2 2.4.3 2.5.0 2.5.1 2.6.0 2.6.1 2.6.2 2.6.3 2.6.4 2.7.0 2.7.1 2.7.2 2.7.3 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.8.9 2.9.2 2.9.3 2.9.4 2.9.5 2.9.6 2.9.7
independent-analytics / views / chart.blade.php
independent-analytics / views Last commit date
click-tracking 1 week ago date-picker 5 days ago email 1 week ago examiner 4 months ago icons 1 week ago integrations 1 week ago interrupt 1 week ago journeys 5 days ago notices 5 days ago overview 1 week ago partials 1 week ago settings 5 days ago tables 5 days ago campaign-builder.blade.php 2 months ago chart.blade.php 11 months ago debug.blade.php 11 months ago plugin-group-options.blade.php 1 week ago quick-stat-loading.blade.php 11 months ago quick-stat.blade.php 1 week ago quick-stats.blade.php 1 week ago real-time.blade.php 1 week ago support.blade.php 6 months ago updates.blade.php 1 week ago woocommerce-order-meta-box.blade.php 5 days ago
chart.blade.php
72 lines
1 @php /** @var \IAWP\Chart $chart */ @endphp
2 @php /** @var \IAWP\Statistics\Intervals\Interval[] $intervals */ @endphp
3 @php /** @var \IAWP\Statistics\Intervals\Interval $current_interval */ @endphp
4 @php /** @var array $stimulus_values */ @endphp
5 @php /** @var array $available_datasets */ @endphp
6 @php /** @var string $primary_chart_metric_id */ @endphp
7 @php /** @var ?string $secondary_chart_metric_id */ @endphp
8
9 <div class="chart-container">
10 <div class="chart-inner"
11 data-testid="chart"
12 data-controller="chart"
13 <?php foreach($stimulus_values as $key => $value) : ?>
14 data-chart-<?php echo esc_attr($key); ?>-value="<?php echo is_array($value) ? esc_attr($chart->encode_json($value)) : esc_attr($value); ?>"
15 <?php endforeach; ?>
16 >
17 <div class="legend-container">
18 <div class="legend" style="display: none;"></div>
19 <?php if (!$chart->is_preview()) : ?>
20 <div class="primary-metric-select-container metric-select-container">
21 <select id="primary-metric-select"
22 data-chart-target="primaryMetricSelect"
23 data-action="chart#changePrimaryMetric"
24 >
25 <?php foreach($available_datasets as $group) : ?>
26 <optgroup label="<?php echo esc_attr($group['name']); ?>">
27 <?php foreach($group['items'] as $item) : ?>
28 <option value="<?php echo esc_attr($item['id']); ?>" <?php selected($primary_chart_metric_id, $item['id'], true); ?> <?php echo $secondary_chart_metric_id === $item['id'] ? 'disabled' : ''; ?>>
29 <?php echo esc_html($item['name']); ?>
30 </option>
31 <?php endforeach; ?>
32 </optgroup>
33 <?php endforeach; ?>
34 </select>
35 </div>
36
37 <div class="secondary-metric-select-container metric-select-container">
38 <select id="secondary-metric-select"
39 data-chart-target="secondaryMetricSelect"
40 data-action="chart#changeSecondaryMetric"
41 >
42 <option value="no_comparison" <?php selected(is_null($secondary_chart_metric_id)); ?>><?php esc_html_e('No Comparison', 'independent-analytics'); ?></option>
43 <?php foreach($available_datasets as $group) : ?>
44 <optgroup label="<?php echo esc_attr($group['name']); ?>">
45 <?php foreach($group['items'] as $item) : ?>
46 <option value="<?php echo esc_attr($item['id']); ?>" <?php selected($secondary_chart_metric_id, $item['id'], true); ?> <?php echo $primary_chart_metric_id === $item['id'] ? 'disabled' : ''; ?>>
47 <?php echo esc_html($item['name']); ?>
48 </option>
49 <?php endforeach; ?>
50 </optgroup>
51 <?php endforeach; ?>
52 </select>
53 </div>
54
55 <select class="adaptive-select-width" data-chart-target="adaptiveWidthSelect">
56 <option></option>
57 </select>
58
59 <select id="chart-interval-select" class="chart-interval-select"
60 data-controller="chart-interval"
61 data-action="chart-interval#setChartInterval">
62 <?php foreach($intervals as $interval) :?>
63 <option value="<?php echo esc_attr($interval->id()); ?>" <?php selected($interval->equals($current_interval)); ?>>
64 <?php echo esc_html($interval->label()); ?>
65 </option>
66 <?php endforeach; ?>
67 </select>
68 <?php endif; ?>
69 </div>
70 <canvas id="independent-analytics-chart" data-chart-target="canvas"></canvas>
71 </div>
72 </div>