Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojox/charting/themes/gradientGenerator.js

  • Provides:

    • dojox.charting.themes.gradientGenerator
  • Requires:

    • dojox.charting.Theme in common
  • dojox.charting.themes.gradientGenerator

    • alias - dojox.charting.themes.gradientGenerator
  • dojox.charting.themes.gradientGenerator.generateFills

    • parameters:
      • colors: (typeof Array:)
        Array of colors to generate gradients for each.
      • fillPattern: (typeof Object:)
        Gradient fill descriptor which colors list will be generated.
      • lumFrom: (typeof Number:)
        Initial luminance value (0-100).
      • lumTo: (typeof Number:)
        Final luminance value (0-100).
    • returns
      Array
    • summary
      generates 2-color gradients using pure colors, a fill pattern, and two luminance values
    • type
      Function
  • dojox.charting.themes.gradientGenerator.updateFills

    • parameters:
      • themes: (typeof Array:)
        Array of mini-themes (usually series themes or marker themes), which fill will be transformed.
      • fillPattern: (typeof Object:)
        Gradient fill descriptor which colors list will be generated.
      • lumFrom: (typeof Number:)
        Initial luminance value (0-100).
      • lumTo: (typeof Number:)
        Final luminance value (0-100).
    • summary
      transforms solid color fills into 2-color gradients using a fill pattern, and two luminance values
    • type
      Function
  • dojox.charting.themes.gradientGenerator.generateMiniTheme

    • parameters:
      • colors: (typeof Array:)
        Array of colors to generate gradients for each.
      • fillPattern: (typeof Object:)
        Gradient fill descriptor which colors list will be generated.
      • lumFrom: (typeof Number:)
        Initial luminance value (0-100).
      • lumTo: (typeof Number:)
        Final luminance value (0-100).
      • lumStroke: (typeof Number:)
        Stroke luminance value (0-100).
    • returns
      Array
    • summary
      generates mini-themes with 2-color gradients using colors, a fill pattern, and three luminance values
    • type
      Function
  • dojox.charting.themes.gradientGenerator.generateGradientByIntensity

    • parameters:
      • color: (typeof dojo.Color:)
        Color to use to generate gradients.
      • intensityMap: (typeof Array:)
        Array of tuples {o, i}, where o is a gradient offset (0-1),
        and i is an intensity (0-255).
    • returns
      Array
    • summary
      generates gradient colors using an intensity map
    • type
      Function
  • dojox.charting.themes

    • type
      Object
  • dojox.charting

    • type
      Object
  • dojox

    • type
      Object