woocommerce/plugins/woocommerce-admin/docs/components/analytics
Joshua T Flowers 7cdbbf87e8 Update all wc-admin endpoints to v4 (https://github.com/woocommerce/woocommerce-admin/pull/1298)
* Update all wc-admin endpoints to v4

* Add namespace for products and customers controllers

* Include product quantity in orders data store

* Add coupons to extended data in the orders data store

* Format order statuses response from database

* Hook up orders table to orders endpoint

* Add namespace to data endpoint controller

* Add namespaces to remaining extended controllers

* Use NAMESPACE var in place of wc/v4

* Update product links in orders table to products reports

* Add coupons rest controller override

* Format coupon code in response

Co-Authored-By: joshuatf <joshuatf@gmail.com>
2019-01-18 10:52:58 +08:00
..
README.md Report components docs (https://github.com/woocommerce/woocommerce-admin/pull/1140) 2018-12-22 12:46:10 +01:00
report-chart.md Prepping for 0.4.0 2019-01-03 12:32:00 +13:00
report-error.md Report components docs (https://github.com/woocommerce/woocommerce-admin/pull/1140) 2018-12-22 12:46:10 +01:00
report-summary.md Update all wc-admin endpoints to v4 (https://github.com/woocommerce/woocommerce-admin/pull/1298) 2019-01-18 10:52:58 +08:00
report-table.md Update all wc-admin endpoints to v4 (https://github.com/woocommerce/woocommerce-admin/pull/1298) 2019-01-18 10:52:58 +08:00

README.md

Analytics Components

This folder contains components internally used by wc-admin.

How to use:

Analytics components can be imported by their relative or absolute path.

import ReportChart from 'analytics/components/report-chart';

render: function() {
  return (
    <ReportChart
      charts={ charts }
      endpoint={ endpoint }
      path={ path }
      query={ query }
      selectedChart={ selectedChart }
    />
  );
}