var data = [ { 'Time': 'Sun May 18', 'AMPM': 'AM', 'Height': 4.08, 'Period': 5.3, 'Degrees': 113.75, 'Direction': 'SE' }, { 'Time': 'Sun May 18', 'AMPM': 'PM', 'Height': 3.23, 'Period': 5.0, 'Degrees': 116.375, 'Direction': 'SE' }, { 'Time': 'Mon May 19', 'AMPM': 'AM', 'Height': 5.60, 'Period': 6.0, 'Degrees': 113.375, 'Direction': 'SE' }, { 'Time': 'Mon May 19', 'AMPM': 'PM', 'Height': 3.88, 'Period': 5.2, 'Degrees': 119.5, 'Direction': 'SE' }, { 'Time': 'Tue May 20', 'AMPM': 'AM', 'Height': 6.10, 'Period': 6.4, 'Degrees': 120.75, 'Direction': 'SE' }, { 'Time': 'Tue May 20', 'AMPM': 'PM', 'Height': 4.35, 'Period': 5.7, 'Degrees': 124.125, 'Direction': 'SE' }, { 'Time': 'Wed May 21', 'AMPM': 'AM', 'Height': 4.84, 'Period': 6.1, 'Degrees': 117.375, 'Direction': 'SE' }, { 'Time': 'Wed May 21', 'AMPM': 'PM', 'Height': 3.79, 'Period': 5.7, 'Degrees': 122.6, 'Direction': 'SE' }, { 'Time': 'Thu May 22', 'AMPM': 'AM', 'Height': 3.55, 'Period': 5.4, 'Degrees': 107.125, 'Direction': 'E' }, { 'Time': 'Thu May 22', 'AMPM': 'PM', 'Height': 2.62, 'Period': 5.0, 'Degrees': 112.375, 'Direction': 'E' }, { 'Time': 'Fri May 23', 'AMPM': 'AM', 'Height': 3.67, 'Period': 5.2, 'Degrees': 100.625, 'Direction': 'E' }, { 'Time': 'Fri May 23', 'AMPM': 'PM', 'Height': 2.86, 'Period': 5.0, 'Degrees': 98.0, 'Direction': 'E' }, { 'Time': 'Sat May 24', 'AMPM': 'AM', 'Height': 3.75, 'Period': 5.2, 'Degrees': 83.625, 'Direction': 'E' }, { 'Time': 'Sat May 24', 'AMPM': 'PM', 'Height': 3.22, 'Period': 5.2, 'Degrees': 75.75, 'Direction': 'E' }, { 'Time': 'Sun May 25', 'AMPM': 'AM', 'Height': 3.94, 'Period': 5.2, 'Degrees': 68.0, 'Direction': 'E' }, ];var smallkine = [ ];var cats = [ "Sun May 18", "Mon May 19", "Tue May 20", "Wed May 21", "Thu May 22", "Fri May 23", "Sat May 24", "Sun May 25", ]; var tablename="2025-05-18_00_SRH59";