         print("RenderTableViewCell init")
         self.separatorInset = .zero
         renderImageView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
-        renderImageView.contentMode = .scaleToFill
+        renderImageView.contentMode = .scaleAspectFit
         self.addSubview(renderImageView)
         renderImageView.frame = self.bounds
     }

class RenderViewController: UITableViewController {


    private let CellIdentifier = "Cell"
    private var renderers: [Renderer] = []
    


    override func viewDidLoad() {
        super.viewDidLoad()
        
        RenderViewController.shared = self

        func makeRenderer() -> LineGraphRenderer {
            return LineGraphRenderer(points: DummyData.points1())
        }
        
        tableView.contentInset = .zero
        tableView.separatorStyle = .none
        
        tableView.register(RenderTableViewCell.self, forCellReuseIdentifier: CellIdentifier)
        
        
        // test start
        
        //for _ in 0...20 {
        //    testMakeRenderer()
        //}
        
        // test end
    }
    
    func append(renderer: Renderer) {
        self.renderers.append(renderer)
        self.tableView.insertRows(at: [IndexPath(row: renderers.count, section: 0)], with: .automatic)
    }

    override func viewDidLayoutSubviews() {
