File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,6 @@ The transactions prop is an array of transactions with the following keys:
6262
6363- ` value ` - a number that specifies the transaction quantity
6464
65- - ` color ` - the color preference for each transaction. (optional)
66-
6765An example for transactions array is shown below:
6866
6967
@@ -72,8 +70,7 @@ An example for transactions array is shown below:
7270const transactionsList = [
7371 {
7472 label: ' Quarter 1, 2020' ,
75- value: 1000 ,
76- color: ' red'
73+ value: 1000
7774 },
7875 {
7976 label: ' Quarter 2, 2020' ,
@@ -121,7 +118,7 @@ You can specify whether to show or hide the scale lines in the Y axis with the h
121118<tr >
122119<td ><code ><b >transactions:</b > object[]</code ></td >
123120<td >
124- An array of transaction objects to specifying the value, label and color preference
121+ An array of transaction objects to specifying the value and label
125122</td >
126123<td ><code >[]</code ></td >
127124</tr >
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ export type ICustomizationStyles = {
2121export type ITransaction = {
2222 label : string ;
2323 value : number ;
24- color ?: string ;
2524} ;
2625
2726export type IChartElement = {
You can’t perform that action at this time.
0 commit comments