From 66242ecdcff7fa12acb4aa28ebd0d2b1da531c60 Mon Sep 17 00:00:00 2001 From: rshen91 Date: Tue, 21 Jan 2020 13:58:52 -0700 Subject: [PATCH] style: add some basic styling for readability --- stories/bar_chart.tsx | 46 +++++++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 21 deletions(-) diff --git a/stories/bar_chart.tsx b/stories/bar_chart.tsx index 89bcf95012..d73c1d6094 100644 --- a/stories/bar_chart.tsx +++ b/stories/bar_chart.tsx @@ -95,37 +95,41 @@ basic.story = { page: () => { const toggleSpec = boolean('toggle bar spec', true); const specId = toggleSpec ? 'bars1' : 'bars2'; + const styling = { + border: '1px solid black', + padding: '15px', + }; return ( <>

Basic Bar Chart Documentation


- +
- - - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + +
Bar Series Prop NamesBasic Bar Chart Values
specId{getSpecId(specId)}Bar Series Prop NamesBasic Bar Chart Values
specId{getSpecId(specId)}
nameSimple Bar Series
name'Simple bar series'
xScaleType{ScaleType.Linear}
xScaleType{ScaleType.Linear}
yScaleType{ScaleType.Linear}
yScaleType{ScaleType.Linear}
xAccessor'x'
xAccessor'x'
yAccessors['y']
yAccessors['y']