SpreadJS 13
SpreadJS Documentation / Developer's Guide / Get Started / API Changes / Sparkline API Changes
In This Topic
    Sparkline API Changes
    In This Topic

    The sparkline classes have been moved to Sparklines as listed in the following table:

    V11 V9
    GC.Spread.Sheets.Sparklines.SparklineEx GcSpread.Sheets.SparklineEx

    The sparkline settings have been changed as listed in the following table:

    V11 V9
    options.axisColor axisColor(value)
    options.firstMarkerColor firstMarkerColor(value)
    options.highMarkerColor highMarkerColor(value)
    options.lastMarkerColor lastMarkerColor(value)
    options.lowMarkerColor lowMarkerColor(value)
    options.markersColor markersColor(value)
    options.negativeColor negativeColor(value)
    options.seriesColor seriesColor(value)
    options.displayEmptyCellsAs displayEmptyCellsAs
    options.rightToLeft rightToLeft
    options.displayHidden displayHidden
    options.displayXAxis displayXAxis
    options.showFirst showFirst(value)
    options.showHigh showHigh(value)
    options.showLast showLast(value)
    options.showLow showLow(value)
    options.showNegative showNegative(value)
    options.showMarkers showMarkers(value)
    options.manualMax manualMax
    options.manualMin manualMin
    options.maxAxisType maxAxisType
    options.minAxisType minAxisType
    options.groupMaxValue groupMaxValue
    options.groupMinValue groupMinValue
    options.lineWeight lineWeight

    The following changes have been made to the LineSparkline, ColumnSparkline, and WinlossSparkline settings.