pitchfx-site
pitchfx-site copied to clipboard
Choose a color pallete for batted ball trajectories
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
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:
Edit: Yes, that does look like a grounder at X,Y coordinates (0,0), obviously a data error from upstream.
Good catch. We should sort the series first to ensure order.