Closed noelchen90 closed 1 year ago
@noelchen90 Hi, just a quick comment: could we also make this table exportable as a file such as excel? The reason is sometimes users must want to get the table data, and they will draw based on it using tools they are familiar with.
After an offline discussion with @lyuyangh, we decided to roll back to "text" for the codeblock. The Unhandled Rejection (Error): Language tex not supported
error that pops up during dev also pops up in production. And it also doesn't show any syntax highlighting in production as well.
react-code-blocks seems like a loosely maintained repo, with a lot of similar opened issues. We may need to find another package that supports latex + python syntax highlighting in the future.
@lyuyangh Hmm, I don't see that error from my end. I added rowKey
for each item in my data source after your previous recommendations, I thought that already solved the problem. Have you pulled my latest commits?
Related to #426 UI Optimization Plan
New Feature
This PR adds two tools in the bar chart toolbox.
These two buttons will open up
LatexViewModal
andTableViewModal
respectively. Screenshots are shown below.Screenshot of
LatexViewModal
andTableViewModal
Comments
In LaTex, I added
legend style={at={(0.5,-0.2)},anchor=north,legend cell align=left},
to place the legend at the bottom. I also added the following lines to remove the second bar in legend. The screenshots of the before and after are shown below. The after screenshot is also the compiled graph you would see in latex.