@@ -794,7 +794,7 @@ module powerbi.extensibility.visual {
794794 return ! ! ( dataView && dataView . metadata ) ;
795795 }
796796
797- private parseSettings ( dataView , colorHelper : ColorHelper ) : Settings {
797+ private parseSettings ( dataView : DataView , colorHelper : ColorHelper ) : Settings {
798798 const settings : Settings = Settings . parse ( dataView ) as Settings ;
799799
800800 settings . dataPoint . defaultColor = colorHelper . getHighContrastColor (
@@ -811,6 +811,8 @@ module powerbi.extensibility.visual {
811811 settings . legend . labelColor
812812 ) ;
813813
814+ settings . categoryLabels . show = settings . categoryLabels . show || colorHelper . isHighContrast ;
815+
814816 settings . categoryLabels . color = colorHelper . getHighContrastColor (
815817 "foreground" ,
816818 settings . categoryLabels . color
@@ -832,6 +834,8 @@ module powerbi.extensibility.visual {
832834 this . parseAxisSettings ( settings . categoryAxis , colorHelper ) ;
833835 this . parseAxisSettings ( settings . valueAxis , colorHelper ) ;
834836
837+ settings . backdrop . show = settings . backdrop . show && ! colorHelper . isHighContrast ;
838+
835839 return settings ;
836840 }
837841
@@ -2678,7 +2682,12 @@ module powerbi.extensibility.visual {
26782682 }
26792683
26802684 return this . svgDefaultImage ;
2681- }
2685+ } ,
2686+ "title" : ( dataPoint : EnhancedScatterChartDataPoint ) => {
2687+ return dataPoint . formattedCategory
2688+ ? dataPoint . formattedCategory ( )
2689+ : null ;
2690+ } ,
26822691 } )
26832692 . each ( function ( dataPoint : EnhancedScatterChartDataPoint ) : void {
26842693 const bubbleRadius : number = EnhancedScatterChart . getBubbleRadius (
0 commit comments