Skip to content

Commit 806f043

Browse files
authored
Readme update (#8)
1 parent 699dae4 commit 806f043

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff 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-
6765
An example for transactions array is shown below:
6866

6967

@@ -72,8 +70,7 @@ An example for transactions array is shown below:
7270
const 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>

src/types/types.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ export type ICustomizationStyles = {
2121
export type ITransaction = {
2222
label: string;
2323
value: number;
24-
color?: string;
2524
};
2625

2726
export type IChartElement = {

0 commit comments

Comments
 (0)