       }]
     options: barOptions('F-Number count')
   }
+
+clickFNumber = (chart) ->
+  document.getElementById('fNumberChart').onclick = (evt) ->
+    points = chart.getElementsAtEvent(evt)
+    fNumber = points[0]._model.label
+    addParams({fNumber: fNumber})
+
 
 exposureGroup = [-30, -15, -8, -4, -2, 1, 2, 4, 8, 15, 30, 60, 125, 250, 500, 1000, 2000, 4000, 8000, 16000].reverse()
 renderExposureGraph = (elems) ->

        display: true
        labelString: label
    }]

    options: barOptions('Shutter speed count')
  }

clickExposure = (chart) ->
  document.getElementById('exposureChart').onclick = (evt) ->
    points = chart.getElementsAtEvent(evt)
    exposure = points[0]._model.label
    addParams({exposure: exposure})

cameraIds = []
renderCameraGraph = (elems) ->
  ctx = getCtx('cameraChart')
  values = elems.map (elem) -> elem['count']
  labels = elems.map (elem) -> elem['camera']
  cameraIds = elems.map (elem) -> elem['id']
  new Chart ctx, {
    type: 'pie'
    data:
