#data data-now=@now data-provider_key=current_account.provider_key data-service_id=@service.id
#date-pickers
  ul
    li
      a href="#simple" Ending now
    li
      a href="#custom" Custom

  #simple
    ul
      li
        a data-since=1.day.ago.to_date data-granularity="hour" href="#"
          | 24h

      li
        a data-since=7.days.ago.to_date data-granularity="day" href="#"
          | 7 days
      li
        a data-since=30.days.ago.to_date data-granularity="day" href="#"
          | 30 days
      li
        a data-since=12.months.ago.to_date data-granularity="month" href="#"
          | 12 months
  #custom
    input type="string" id="since" value=@since
    input type="string" id="until" value=@until
    select id="granularity"
      option value="hour" hour
      option value="day" day
      option value="month" month
    button type="button" id="applyButton" Apply

#no-data style='display: none;'
  h3 You do not seem to have any statistics on your API traffic by Response Codes.

  p This could be because:

  ol
    li Your API has not had any traffic in the selected time period.
    li You are not reporting the Response Codes of your API traffic to 3scale.
    li If you have previously had traffic and reported Response Codes you may select a different time period using the selector above.

  p To learn how to report the Response Codes of your API traffic to 3scale please consult:

  ol
    li
      | The 3scale
      |  #{link_to('API ActiveDocs documentation', provider_admin_api_docs_path(anchor: '/service_management_api'), target:'_blank')}
      |  for our Service Management API methods where the Response Codes
      |  can be sent.

div id="container" style="width:100%; height:600px;"

