Skip to content

Commit

Permalink
fix cmt
Browse files Browse the repository at this point in the history
  • Loading branch information
recca5p committed Jan 17, 2025
1 parent 93f79ef commit 936ba4b
Showing 1 changed file with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,23 @@ public void ToJsonString_GeneratesCorrectJson_WhenSerialized()
"""
{
"_type" : "ChoroplethMapVisualizationSettingsType",
"ColorizationStyle" : "BUCKETING",
"ColorizationStyle" : "SINGLE",
"LabelVisibility" : "HAS VALUES",
"LabelStyle" : "ABBREVIATION",
"DataLocale" : "en",
"LabelStyle" : "VALUES",
"DataLocale" : "ja",
"ShowLegends" : true,
"ColorIndex" : -1,
"VisualizationType" : "CHOROPLETH_MAP"
}
""";

var settings = new ChoroplethVisualizationSettings();
var settings = new ChoroplethVisualizationSettings()
{
ColorStyle = MapColorStyle.SingleColor,
LabelVisibility = MapLabelVisibility.HasValues,
LabelStyle = MapLabelStyle.Values,
DataLocale = MapDataLocale.Japanese
};

// Act
var actualJson = settings.ToJsonString();
Expand Down

0 comments on commit 936ba4b

Please sign in to comment.