private static bool DoesChartDisplay()
        {
            List <SignalDataByTime> channelData = CacheSignalData.GetCacheData().ToList();

            return(channelData != null && channelData.Count > 0);
        }
 /// <summary>
 /// Get all available signal values in the cache.
 /// </summary>
 ///
 /// <returns>
 /// All available signal values.
 /// </returns>
 public SignalDataByTime[] GetSignalValues()
 {
     signalValues = CacheSignalData.GetCacheData();
     timeWhenSignalValuesAreExtracted = (double)(DateTime.UtcNow - new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc)).TotalMilliseconds;
     return(signalValues);
 }