tvroylandt / flex_value_box

Values boxes around summarywidget
0 stars 1 forks source link

other attempts #1

Open timelyportfolio opened 4 years ago

timelyportfolio commented 4 years ago

Looks like it works well. My attempts were all foiled by the aggressive reconstruction by flexdashboard in lines. There are other valueBox constructors in shinydashboard and bs4dash that demonstrate how we could write a reusable function that plays nicely with flexdashboard where the markup is generated by R.

timelyportfolio commented 4 years ago

Or we could write a flexdashboard custom component that doesn't kill all the markup and just use the text.

timelyportfolio commented 4 years ago

hacked version at https://gist.github.com/timelyportfolio/866f2507ee2a8c50809cfacba575416b