Class D3MapConf
- java.lang.Object
-
- org.dashbuilder.renderer.c3.client.charts.map.D3MapConf
-
public class D3MapConf extends Object
-
-
Constructor Summary
Constructors Constructor Description D3MapConf(String title, Map<String,Double> data, boolean markers, boolean regions, String backgroundColor, CountriesGeoJsonService countriesGeoJsonService, Function<Double,String> formatter, Consumer<String> pathClickHandler, org.dashbuilder.displayer.MapColorScheme colorScheme, boolean showLegend)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBackgroundColor()org.dashbuilder.displayer.MapColorSchemegetColorScheme()CountriesGeoJsonServicegetCountriesGeoJsonService()Map<String,Double>getData()Function<Double,String>getFormatter()Consumer<String>getPathClickHandler()StringgetTitle()booleanisMarkers()booleanisRegions()booleanisShowLegend()static D3MapConfof(String title, Map<String,Double> data, boolean markers, boolean regions, String backgroundColor, CountriesGeoJsonService countriesGeoJsonService, Function<Double,String> formatter, Consumer<String> pathClickHandler, org.dashbuilder.displayer.MapColorScheme colorScheme, boolean showLegend)
-
-
-
Constructor Detail
-
D3MapConf
public D3MapConf(String title, Map<String,Double> data, boolean markers, boolean regions, String backgroundColor, CountriesGeoJsonService countriesGeoJsonService, Function<Double,String> formatter, Consumer<String> pathClickHandler, org.dashbuilder.displayer.MapColorScheme colorScheme, boolean showLegend)
-
-
Method Detail
-
of
public static D3MapConf of(String title, Map<String,Double> data, boolean markers, boolean regions, String backgroundColor, CountriesGeoJsonService countriesGeoJsonService, Function<Double,String> formatter, Consumer<String> pathClickHandler, org.dashbuilder.displayer.MapColorScheme colorScheme, boolean showLegend)
-
isMarkers
public boolean isMarkers()
-
isRegions
public boolean isRegions()
-
getTitle
public String getTitle()
-
getBackgroundColor
public String getBackgroundColor()
-
getCountriesGeoJsonService
public CountriesGeoJsonService getCountriesGeoJsonService()
-
getColorScheme
public org.dashbuilder.displayer.MapColorScheme getColorScheme()
-
isShowLegend
public boolean isShowLegend()
-
-