<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.19.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>423</ContextCount>
  <ElementCount>255</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>142</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>10</UnitCount>
  <MyReports>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>00000001 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-daei</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>00000002 - Statement - UNAUDITED CONDENSED CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-ccbs</Role>
      <ShortName>UNAUDITED CONDENSED CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>00000003 - Statement - UNAUDITED CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-ccbsp</Role>
      <ShortName>UNAUDITED CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>00000004 - Statement - UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-ccsocil</Role>
      <ShortName>UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>00000005 - Statement - UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-ccsocf</Role>
      <ShortName>UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>00000006 - Statement - Cash, cash equivalents and restricted cash</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/CashCashEquivalentsAndRestrictedCash</Role>
      <ShortName>Cash, cash equivalents and restricted cash</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>00000007 - Disclosure - Basis of presentation and significant concentrations and risks</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-bopscar</Role>
      <ShortName>Basis of presentation and significant concentrations and risks</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>00000008 - Disclosure - Accounts receivable</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-ar</Role>
      <ShortName>Accounts receivable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>00000009 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-i</Role>
      <ShortName>Inventories</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>00000010 - Disclosure - Prepaid expenses and other current assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-peaoca</Role>
      <ShortName>Prepaid expenses and other current assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>00000011 - Disclosure - Property, plant and equipment, net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-ppaen</Role>
      <ShortName>Property, plant and equipment, net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>00000012 - Disclosure - Prepayments to equipment and construction suppliers</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-ptes</Role>
      <ShortName>Prepayments to equipment and construction suppliers</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>00000013 - Disclosure - Losses on foreign currency option contracts</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/LossesOnForeignCurrencyOptionContracts</Role>
      <ShortName>Losses on foreign currency option contracts</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>00000014 - Disclosure - Borrowings</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-b</Role>
      <ShortName>Borrowings</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>00000015 - Disclosure - Accrued expenses and other current liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-aeaocl</Role>
      <ShortName>Accrued expenses and other current liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>00000016 - Disclosure - Related party transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-rpt</Role>
      <ShortName>Related party transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>00000017 - Disclosure - Income tax</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/Disclosure-Incometax</Role>
      <ShortName>Income tax</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>00000018 - Disclosure - Deferred Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-di</Role>
      <ShortName>Deferred Income</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>00000019 - Disclosure - Other non-current liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-oncl</Role>
      <ShortName>Other non-current liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>00000020 - Disclosure - Stockholders' equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-se</Role>
      <ShortName>Stockholders' equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>00000021 - Disclosure - Earnings per share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-eps</Role>
      <ShortName>Earnings per share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>00000022 - Disclosure - Commitments and contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-cac</Role>
      <ShortName>Commitments and contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>00000023 - Disclosure - Revenues</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/Revenues</Role>
      <ShortName>Revenues</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>00000024 - Disclosure - Gains on disposal of a subsidiary</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/GainsOnDisposalOfSubsidiary</Role>
      <ShortName>Gains on disposal of a subsidiary</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>00000025 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>00000027 - Disclosure - Basis of presentation and significant concentrations and risks (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-bopscarp</Role>
      <ShortName>Basis of presentation and significant concentrations and risks (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>00000028 - Disclosure - Basis of presentation and significant concentrations and risks (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-bopscart</Role>
      <ShortName>Basis of presentation and significant concentrations and risks (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-bopscar</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>00000029 - Disclosure - Accounts receivable (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-art</Role>
      <ShortName>Accounts receivable (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-ar</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>00000030 - Disclosure - Inventories (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-it</Role>
      <ShortName>Inventories (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-i</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>00000031 - Disclosure - Prepaid expenses and other current assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-peaocat</Role>
      <ShortName>Prepaid expenses and other current assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-peaoca</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>00000032 - Disclosure - Property, plant and equipment, net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-ppaent</Role>
      <ShortName>Property, plant and equipment, net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-ppaen</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>00000033 - Disclosure - Prepayments to equipment and construction suppliers (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-ptest</Role>
      <ShortName>Prepayments to equipment and construction suppliers (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-ptes</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>00000034 - Disclosure - Borrowings (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-bt</Role>
      <ShortName>Borrowings (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-b</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>00000035 - Disclosure - Accrued expenses and other current liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-aeaoclt</Role>
      <ShortName>Accrued expenses and other current liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-aeaocl</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>00000036 - Disclosure - Related party transactions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-rptt</Role>
      <ShortName>Related party transactions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-rpt</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>00000037 - Disclosure - Other non-current liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-onclt</Role>
      <ShortName>Other non-current liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-oncl</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>00000038 - Disclosure - Stockholders' equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-set</Role>
      <ShortName>Stockholders' equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-se</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>00000039 - Disclosure - Earnings per share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-epst</Role>
      <ShortName>Earnings per share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-eps</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>00000040 - Disclosure - Revenues (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/RevenuesTables</Role>
      <ShortName>Revenues (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://chinaxd.net/role/Revenues</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>00000041 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://chinaxd.net/role/Leases</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>00000042 - Disclosure - Basis of presentation, and significant concentrations and risks (Sales and Purchase Concentration) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-bopscarsapcd</Role>
      <ShortName>Basis of presentation, and significant concentrations and risks (Sales and Purchase Concentration) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>00000043 - Disclosure - Basis of presentation and significant concentrations and risks (Cash Concentration) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/BasisOfPresentationAndSignificantConcentrationsAndRisksCashConcentrationDetails</Role>
      <ShortName>Basis of presentation and significant concentrations and risks (Cash Concentration) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-bopscart</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>00000044 - Disclosure - Accounts receivable (Schedule of Accounts Receivable) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-arsoard</Role>
      <ShortName>Accounts receivable (Schedule of Accounts Receivable) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-art</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>00000045 - Disclosure - Accounts receivable (Schedule of Aging of Accounts Receivable) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-arsoaoard</Role>
      <ShortName>Accounts receivable (Schedule of Aging of Accounts Receivable) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-art</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>00000046 - Disclosure - Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-id</Role>
      <ShortName>Inventories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-it</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>00000047 - Disclosure - Prepaid expenses and other current assets (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/PrepaidExpensesAndOtherCurrentAssetsNarrativeDetails</Role>
      <ShortName>Prepaid expenses and other current assets (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-peaocat</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>00000048 - Disclosure - Prepaid expenses and other current assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-peaocad</Role>
      <ShortName>Prepaid expenses and other current assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-peaocat</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>00000049 - Disclosure - Property, plant and equipment, net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-ppaend</Role>
      <ShortName>Property, plant and equipment, net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-ppaent</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>00000050 - Disclosure - Property, plant and equipment, net (Allocated Depreciation Expense) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-ppaenaded</Role>
      <ShortName>Property, plant and equipment, net (Allocated Depreciation Expense) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-ppaent</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>00000051 - Disclosure - Prepayments to equipment and construction suppliers (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/PrepaymentsToEquipmentAndConstructionSuppliersNarrativeDetails</Role>
      <ShortName>Prepayments to equipment and construction suppliers (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-ptest</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>00000052 - Disclosure - Prepayments to equipment and construction suppliers (Schedule of Total Prepayments to Equipment Suppliers) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-ptessotptesd</Role>
      <ShortName>Prepayments to equipment and construction suppliers (Schedule of Total Prepayments to Equipment Suppliers) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-ptest</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>00000053 - Disclosure - Prepayments to equipment and construction suppliers (Schedule of Summarized the Balance of Prepayments) (Details) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/PrepaymentsToEquipmentAndConstructionSuppliersScheduleOfSummarizedBalanceOfPrepaymentsDetailsDetails</Role>
      <ShortName>Prepayments to equipment and construction suppliers (Schedule of Summarized the Balance of Prepayments) (Details) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-ptest</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>00000054 - Disclosure - Losses on foreign currency option contracts (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/LossesOnForeignCurrencyOptionContractsNarrativeDetails</Role>
      <ShortName>Losses on foreign currency option contracts (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/LossesOnForeignCurrencyOptionContracts</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>00000055 - Disclosure - Borrowings (Current) (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/BorrowingsCurrentNarrativeDetails</Role>
      <ShortName>Borrowings (Current) (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-bt</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>00000056 - Disclosure - Borrowings (Schedule of Short-Term Loans, Including Current Portion of Long-Term Bank Loans) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-bsostlicpltdd</Role>
      <ShortName>Borrowings (Schedule of Short-Term Loans, Including Current Portion of Long-Term Bank Loans) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-bt</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>00000057 - Disclosure - Borrowings (Schedule of Long-Term Bank Loans Excluding Current Portion) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-bsoltbestd</Role>
      <ShortName>Borrowings (Schedule of Long-Term Bank Loans Excluding Current Portion) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-bt</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>00000058 - Disclosure - Borrowings (Schedule of Maturities on Long-term Bank Loans Including Current Portion) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/BorrowingsScheduleOfMaturitiesOnLong-termBankLoansIncludingCurrentPortionDetails</Role>
      <ShortName>Borrowings (Schedule of Maturities on Long-term Bank Loans Including Current Portion) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-bt</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>00000059 - Disclosure - Borrowings (Non-current) (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-bnnd</Role>
      <ShortName>Borrowings (Non-current) (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-bt</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>00000060 - Disclosure - Accrued expenses and other current liabilities (Schedule of Accrued expenses and other current liabilities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-aeaocld</Role>
      <ShortName>Accrued expenses and other current liabilities (Schedule of Accrued expenses and other current liabilities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-aeaoclt</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>00000061 - Disclosure - Related party transactions (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/RelatedPartyTransactionsNarrativeDetails</Role>
      <ShortName>Related party transactions (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-rptt</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>00000062 - Disclosure - Related party transactions (Schedule of Significant Related Party Transactions) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/RelatedPartyTransactionsScheduleOfSignificantRelatedPartyTransactionsDetails</Role>
      <ShortName>Related party transactions (Schedule of Significant Related Party Transactions) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-rptt</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>00000063 - Disclosure - Related party transactions (Schedule of Related Parties Balances) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-rptsorpbd</Role>
      <ShortName>Related party transactions (Schedule of Related Parties Balances) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-rptt</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>00000064 - Disclosure - Income tax (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/IncomeTaxNarrativeDetails</Role>
      <ShortName>Income tax (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/Disclosure-Incometax</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>00000065 - Disclosure - Deferred Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/DeferredIncomeDetails</Role>
      <ShortName>Deferred Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-di</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>00000066 - Disclosure - Other non-current liabilities (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-oncld</Role>
      <ShortName>Other non-current liabilities (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-onclt</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>00000067 - Disclosure - Other non-current liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/OtherNon-currentLiabilitiesDetails</Role>
      <ShortName>Other non-current liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-onclt</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>00000068 - Disclosure - Stockholders' equity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-sed</Role>
      <ShortName>Stockholders' equity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-set</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>00000069 - Disclosure - Earnings per share (Calculation of Basic and Diluted Earnings Per Share) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/EarningsPerShareCalculationOfBasicAndDilutedEarningsPerShareDetails</Role>
      <ShortName>Earnings per share (Calculation of Basic and Diluted Earnings Per Share) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-epst</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>00000070 - Disclosure - Earnings per share (Summary of Potentially Dilutive Securities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/cxdc-epssopdsd1</Role>
      <ShortName>Earnings per share (Summary of Potentially Dilutive Securities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-epst</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>00000071 - Disclosure - Commitments and contingencies (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/CommitmentsAndContingenciesNarrativeDetails</Role>
      <ShortName>Commitments and contingencies (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/cxdc-cac</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>00000072 - Disclosure - Revenues (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/RevenuesDetails</Role>
      <ShortName>Revenues (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/RevenuesTables</ParentRole>
      <Position>71</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>00000073 - Disclosure - Gains on disposal of a subsidiary (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/GainsOnDisposalOfSubsidiaryNarrativeDetails</Role>
      <ShortName>Gains on disposal of a subsidiary (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/GainsOnDisposalOfSubsidiary</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>00000074 - Disclosure - Leases (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/LeasesNarrativeDetails</Role>
      <ShortName>Leases (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/LeasesTables</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>00000075 - Disclosure - Leases (Schedule of Lease Costs) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/LeasesScheduleOfLeaseCostsDetails</Role>
      <ShortName>Leases (Schedule of Lease Costs) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/LeasesTables</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>00000076 - Disclosure - Leases (Schedule of Future Minimum Lease Commitments) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/LeasesScheduleOfFutureMinimumLeaseCommitmentsDetails</Role>
      <ShortName>Leases (Schedule of Future Minimum Lease Commitments) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/LeasesTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>00000077 - Disclosure - Leases (Schedule of Supplemental Disclosure of Cash Flow Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/LeasesScheduleOfSupplementalDisclosureOfCashFlowInformationDetails</Role>
      <ShortName>Leases (Schedule of Supplemental Disclosure of Cash Flow Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/LeasesTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="cxdc-20190331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>00000078 - Disclosure - Leases (Schedule of Future Minimum Annual Lease Payments) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://chinaxd.net/role/LeasesScheduleOfFutureMinimumAnnualLeasePaymentsDetails</Role>
      <ShortName>Leases (Schedule of Future Minimum Annual Lease Payments) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://chinaxd.net/role/LeasesTables</ParentRole>
      <Position>77</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>cxdc-20190331.xml</File>
    <File>cxdc-20190331.xsd</File>
    <File>cxdc-20190331_cal.xml</File>
    <File>cxdc-20190331_def.xml</File>
    <File>cxdc-20190331_lab.xml</File>
    <File>cxdc-20190331_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/invest/2013-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2019-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/srt/2019-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/currency/2019-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
