_From @vedadeepta on December 24, 2018 15:35_ # Bugs and Questions ### Checklist - [x] This is not a `victory-native` specific issue. (Issues that only appear in `victory-native` should be opened [here](https://github.com/FormidableLabs/victory-native/issues/new)) - [x] I have read through the [FAQ](https://formidable.com/open-source/victory/docs/faq) and [Guides](https://formidable.com/open-source/victory/guides/) before asking a question - [ ] I am using the latest version of Victory - [x] I've searched open issues to make sure I'm not opening a duplicate issue ### The Problem Typo in code example in the following FAQ link: https://formidable.com/open-source/victory/docs/faq/#how-can-i-annotate-my-charts-with-lines-and-markers Buggy Code: ``` <VictoryScatter data={[{ x: 5, y: 5, fill: "red", symbol: "star", size: 8 }]} /> ``` `fill: "red"` won't work as a part of `data` prop it should be a part of `style` prop. `style={{ data: { fill: 'red' }}}` ### Reproduction - Go to link https://formidable.com/open-source/victory/docs/faq/#how-can-i-annotate-my-charts-with-lines-and-markers - The star color is "black" _Copied from original issue: FormidableLabs/victory#1217_
From @vedadeepta on December 24, 2018 15:35
Bugs and Questions
Checklist
This is not a
victory-nativespecific issue. (Issues that only appear invictory-nativeshould be opened here)I have read through the FAQ and Guides before asking a question
I am using the latest version of Victory
I've searched open issues to make sure I'm not opening a duplicate issue
The Problem
Typo in code example in the following FAQ link: https://formidable.com/open-source/victory/docs/faq/#how-can-i-annotate-my-charts-with-lines-and-markers
Buggy Code:
fill: "red"won't work as a part ofdataprop it should be a part ofstyleprop.style={{ data: { fill: 'red' }}}Reproduction
Copied from original issue: FormidableLabs/victory#1217