pitchfx-site icon indicating copy to clipboard operation
pitchfx-site copied to clipboard

Choose a color pallete for batted ball trajectories

Open kruser opened this issue 10 years ago • 2 comments

See the screenshots below. The default color pallet from highcharts is a bit too pastel for our site. For this issue we need to get a color value for the following and apply it to the charts shown.

  • grounders
  • flyballs
  • liners
  • popups

image

image

kruser avatar Apr 23 '14 15:04 kruser

By the way, the order of trajectory displayed in the charts are not consistent when you toggle between different filters or players. See Clayton Kershaw's balls in play allowed in 2012 vs. 2013 below:

image

Edit: Yes, that does look like a grounder at X,Y coordinates (0,0), obviously a data error from upstream.

albertlyu avatar Apr 23 '14 15:04 albertlyu

Good catch. We should sort the series first to ensure order.

kruser avatar Apr 23 '14 15:04 kruser