Skip to content

Commit c696ce5

Browse files
committed
add choropleth to TDF
1 parent d0ec715 commit c696ce5

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

types/zingchart/es6/index.d.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,18 @@ declare namespace zingchart {
352352
*/
353353
type?: string;
354354
}
355+
interface choropleth {
356+
aspect?: string;
357+
color?: string;
358+
effect?: string;
359+
steps?: number[];
360+
colors?: string[];
361+
intervals?: number;
362+
progression?: string;
363+
maxPercent?: number;
364+
mirrored?: boolean;
365+
labels?: label[];
366+
}
355367
interface contextMenu {
356368
button?: {
357369
/**
@@ -15566,6 +15578,10 @@ declare namespace zingchart {
1556615578
* 51B5" | ...
1556715579
*/
1556815580
color?: string;
15581+
/**
15582+
* Use the choropleth object to configure how the map is colored with the following properties.
15583+
*/
15584+
choropleth?: choropleth;
1556915585
/**
1557015586
* To set the type of color arrangement applied to the word cloud. Use the "color" value with the "color" attribute. Use the "palette
1557115587
* " value with the "palette" array. "random" (default) | "color" | "palette"

types/zingchart/zingchart-tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const chartConfig: zc.graphset[] = [
7373
}, {
7474
type: 'line',
7575
x: '15%',
76-
y: '5%',
76+
y: '25%',
7777
timeZone: 1,
7878
zoomSnap: true,
7979
labels: [

0 commit comments

Comments
 (0)