Some options of .setOption when I create an embedded line chart don't work with me.
Options for embedded line chart
For example these:
    .setOption("titlePosition", "in")//accepts Type: string
    .setOption("chartArea.top", 50) //accepts Type: number or string
    //Example: chartArea:{left:20,top:0,width:'50%',height:'75%'} 
    //so I go like:
    var area = {chartArea:{left:20,top:0,width:'50%',height:'75%'}}
    .setOption("chartArea", area)
    //and tried like:
    var area = {left:20,top:0,width:'50%',height:'75%'}
    .setOption("chartArea", area)
  Nothing works with my embedded line chart.
Here's how I create the chart (it works):
 var chart = sheet.newChart()
        .setChartType(Charts.ChartType.LINE)
        .addRange(range).setTransposeRowsAndColumns(true)
        .setPosition(2, 3, 0, 0)
        .setOption("title", name)
        .build();
    sheet.insertChart(chart); 
    