Forum Discussion

2 Replies

  • deldersveld's avatar
    deldersveld
    Resident Rockstar

    Since there is an existing Slicer, that class name is already in use. Have you changed the class name and the following bit to reflect that?

     

     
    export var slicer: IVisualPlugin = {
    name: 'slicer',
    watermarkKey: 'slicer',
    capabilities: capabilities.slicer,
    create: () => new Slicer()
    };
    • waghpravin14's avatar
      waghpravin14
      New Member

      I tried with chaning class name but still its failing with some compilation errors.

      Aslo I changed the interface names SlicerSettings and SlicerData as these are also already in use.

      What I observed is in current implementation SlicerData.formatString used but this property does not exists on Type SlicerData.

                     var slicerText = rowSelection.selectAll(Selectors.LabelText.selector);
                      var formatString = data.formatString;

       

      I am new to custom visulization. If you point me to the working slicer code it will be great.

       

      Thanks.

      Pravin