Series by Name
This script returns a Series struct for the given name, if it exists.
Parameters:
- seriesName: The name of the Series.
Returns: AllDay.SeriesData
- The AllDay Series Data.
import AllDay from 0xALLDAYADDRESS
pub fun main(seriesName: String): AllDay.SeriesData? {
return AllDay.getSeriesDataByName(name: seriesName)
}