miloschuman / yii2-highcharts

Highcharts widget for Yii 2 Framework
http://www.yiiframework.com/extension/yii2-highcharts-widget/
MIT License
166 stars 63 forks source link

Showing highchart using 2 different table, is that possible? #67

Closed wdwilhelmina closed 6 years ago

wdwilhelmina commented 6 years ago

I want to make a chart for report feature that can visualize email sending event. The event type are recipient, delivery, open, click, complaint, and bounces, which are in the table "email_sending_event". And the number_of_recipient, number_of_delivery, number_of_open, number_of_click, number_of_complaint, and number_of_bounces which are in the table "email".

EmailController.php: image image

data.php: image

report.php: image

table "email": image

table "email_sending_status": image

My question is, how to show event type, number_of_recipient, number_of_delivery, number_of_open, number_of_click, number_of_complaint, and number_of_bounces in the chart, using different tables? Thankyou

wdwilhelmina commented 6 years ago

image this is the chart in my webpage. thankyou