Php Pass Variable To Javascript Function Types On Graphs Of Linear