Skip to content

Instantly share code, notes, and snippets.

@ryross ryross/chart.js
Created Jul 22, 2016

Embed
What would you like to do?
chart.js
$series_default = [
'EXVs.Exv1Position' => ['color' => '#00ff80', 'dashStyle' => 'Dot', 'yAxis' => 1],
'EXVs.Exv2Position' => ['color' => '#0dc4f2', 'dashStyle' => 'Dot', 'yAxis' => 1],
'EXVs.Exv3Position' => ['dashStyle' => 'Dot', 'yAxis' => 1],
'EXVs.Exv4Position' => ['dashStyle' => 'Dot', 'yAxis' => 1],
'Temperatures.Suction1Temp' => ['color' => '#39e600', 'dashStyle' => 'Solid'],
'Temperatures.Suction2Temp' => ['color' => '#00ccff', 'dashStyle' => 'Solid'],
'Temperatures.Suction3Temp' => ['dashStyle' => 'Solid'],
'Temperatures.CompressorInletTemp' => ['color' => '#739900', 'dashStyled' => 'Solid'],
'Temperatures.Compressor1InletTemp' => ['dashStyled' => 'Solid'],
'Temperatures.Compressor2InletTemp' => ['dashStyled' => 'Solid'],
'Temperatures.Compressor3InletTemp' => ['dashStyled' => 'Solid'],
'VFDs.Vfd1Speed' => ['color' => '#00ff80', 'dashStyle' => 'Dot', 'yAxis' => 3],
'VFDs.Vfd2Speed' => ['color' => '#0dc4f2', 'dashStyle' => 'Dot', 'yAxis' => 3],
'VFDs.Vfd3Speed' => ['color' => '#00c4f2', 'dashStyle' => 'Dot', 'yAxis' => 3],
'VFDs.VfdEvapSpeed' => ['visible' => false, 'yAxis' => 3],
'VFDs.VfdPreChamberEvapSpeed' => ['visible' => false, 'yAxis' => 3],
'VFDs.VfdEvapCurrent' => ['visible' => false],
'VFDs.VfdPreChamberEvapCurrent' => ['visible' => false],
'Statuses.StatusDoor' => ['yAxis' => 2, 'color' => '#cc6699', 'dashStyle' => 'Solid'],
'Statuses.StatusPreChamberDoor' => ['yAxis' => 2],
'Statuses.StatusPreChamberFanSpeed' => ['yAxis' => 2, 'visible' => false],
'Statuses.StatusFanSpeed' => ['yAxis' => 2, 'visible' => false],
'Statuses.StatusVarying' => ['yAxis' => 2, 'visible' => false],
'Statuses.StatusTherapyArmed' => ['yAxis' => 2, 'visible' => false],
'Statuses.StatusTherapyActive' => ['yAxis' => 2, 'visible' => false],
'Statuses.SystemStatus' => ['yAxis' => 2, 'visible' => false],
'Pressures.PressureSuction1' => ['color' => '#1aff8c', 'dashStyled' => 'Dash'],
'Pressures.PressureSuction2' => ['color' => '#0df2f2', 'dashStyled' => 'Dash'],
'Pressures.PressureSuction3' => ['dashStyled' => 'Dash'],
'Pressures.PressureDischarge1' => ['color' => '#0d0df2', 'dashStyled' => 'Dash'],
'Pressures.PressureDischarge2' => ['color' => '#00994d', 'dashStyled' => 'Dash'],
'Pressures.PressureDischarge3' => ['dashStyled' => 'Dash'],
'Pressures.PressureOil1' => ['color' => '#bfff00', 'dashStyled' => 'Dash'],
'Pressures.PressureOil2' => ['color' => '#f20dF2', 'dashStyled' => 'Dash'],
'Pressures.PressureOil3' => ['dashStyled' => 'Dash'],
'Temperatures.MainChamberTemp' => ['color' => '#f2460d', 'dashStyled' => 'Solid'],
'Temperatures.MachineRoomTemp' => ['color' => '#ffb366', 'dashStyled' => 'Solid'],
'Temperatures.WindchillTemperature' => ['color' => '#ff0066', 'dashStyled' => 'Solid'],
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.