Closed aleastChs closed 7 years ago
this can work, but then you need to filter rows of the same row label
[x] Screenshot showing how text aligns quite randomly (sometimes not showing full text, sometimes to the right and sometimes to the left)
[ ] Full name of last row not showing
[ ] Heigth is to high for widget
[ ] Time not always bold
// draw()-method // this calls the Timeline.draw() with the given data and options def draw(): Unit = { // TODO: this can work, but then you need to filter rows of the same row label // Todo: this approach can work, look at SQL-formatting with GoogleVisualization.data.group() // options.setHeight(data.getNumberOfRows() heightPerRow + margin ) timeline.draw( data, OptionsTimeline( this.data.getNumberOfRows() 31 + 40, this.options.width, this.options.timeline, this.options.tooltip, this.options.title, this.options.avoidOverlappingGridLines, this.options.backgroundColor, this.options.colors, this.options.enableInteractivity, this.options.fontName, this.options.fontSize, this.options.forceIFrame ).toDynamic ) }
Dynamic Charts is hard to create. Close this for now Customization with Advanced Usage in Google Charts docs
Right now Google Charts scale really bad with text and number of rows Idea1(ugly but works with several objects on same row??): https://stackoverflow.com/a/23975493