Class MojoVisualizationSimplifiedDataTransform

    • Field Detail

      • valueLocaleInfo

        protected LocaleInfo valueLocaleInfo
    • Constructor Detail

      • MojoVisualizationSimplifiedDataTransform

        public MojoVisualizationSimplifiedDataTransform()
    • Method Detail

      • getValueBlock

        public Block getValueBlock​(WebRowValue rowValue)
                            throws java.lang.Exception
        DE41002: This method replaces commas or any other decimal separators to decimal points('.'). This method resolves the issue that in German and French, comma was used as the decimal separators instead of '.', which breaks the json outputs in the custom visualizations.
        Overrides:
        getValueBlock in class MojoXtabTransformImpl
        Throws:
        java.lang.Exception
      • createHeader

        protected Block createHeader​(WebHeader headerSrc,
                                     boolean useTitle)
                              throws java.lang.Exception
        Overrides:
        createHeader in class MojoXtabTransformImpl
        Parameters:
        useTitle - whether title can be referenced in the block model
        Throws:
        java.lang.Exception