[{"data":1,"prerenderedAt":1393},["ShallowReactive",2],{"content-query-yINWUHfHUQ":3,"navigation":1047},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"body":11,"_type":1040,"_id":1041,"_source":1042,"_file":1043,"_stem":1044,"_extension":1045,"sitemap":1046},"/document/chart/bar-chart","chart",false,"","横棒グラフ","BarChartはデータを横棒として表示します。ColumnChartを継承しており、軸が入れ替わっています。デフォルトで水平ガイドラインは非表示、垂直ガイドラインは表示されます。","2015-08-14",{"type":12,"children":13,"toc":1032},"root",[14,37,43,49,460,465,895,904,909,993,998,1026],{"type":15,"tag":16,"props":17,"children":18},"element","p",{},[19,27,29,35],{"type":15,"tag":20,"props":21,"children":23},"code",{"className":22},[],[24],{"type":25,"value":26},"text","BarChart",{"type":25,"value":28},"はデータを横棒として表示します。",{"type":15,"tag":20,"props":30,"children":32},{"className":31},[],[33],{"type":25,"value":34},"ColumnChart",{"type":25,"value":36},"を継承しており、軸が入れ替わっています。デフォルトで水平ガイドラインは非表示、垂直ガイドラインは表示されます。",{"type":15,"tag":38,"props":39,"children":41},"h2",{"id":40},"例",[42],{"type":25,"value":40},{"type":15,"tag":44,"props":45,"children":47},"h3",{"id":46},"データの準備",[48],{"type":25,"value":46},{"type":15,"tag":50,"props":51,"children":55},"pre",{"className":52,"code":53,"language":54,"meta":7,"style":7},"language-cs shiki shiki-themes github-light github-dark github-light","var sheet = grid.CurrentWorksheet;\n\nsheet[\"A2\"] = new object[,] {\n    { null, 2008, 2009, 2010, 2011, 2012 },\n    { \"City 1\", 3, 2, 4, 2, 6 },\n    { \"City 2\", 7, 5, 3, 6, 4 },\n    { \"City 3\", 13, 10, 9, 10, 9 },\n    { \"Total\", \"=SUM(B3:B5)\", \"=SUM(C3:C5)\", \"=SUM(D3:D5)\",\n      \"=SUM(E3:E5)\", \"=SUM(F3:F5)\" },\n};\n","cs",[56],{"type":15,"tag":20,"props":57,"children":58},{"__ignoreMap":7},[59,88,98,138,204,265,324,384,429,451],{"type":15,"tag":60,"props":61,"children":64},"span",{"class":62,"line":63},"line",1,[65,71,77,82],{"type":15,"tag":60,"props":66,"children":68},{"style":67},"--shiki-light:#D73A49;--shiki-dark:#F97583;--shiki-default:#D73A49",[69],{"type":25,"value":70},"var",{"type":15,"tag":60,"props":72,"children":74},{"style":73},"--shiki-light:#6F42C1;--shiki-dark:#B392F0;--shiki-default:#6F42C1",[75],{"type":25,"value":76}," sheet",{"type":15,"tag":60,"props":78,"children":79},{"style":67},[80],{"type":25,"value":81}," =",{"type":15,"tag":60,"props":83,"children":85},{"style":84},"--shiki-light:#24292E;--shiki-dark:#E1E4E8;--shiki-default:#24292E",[86],{"type":25,"value":87}," grid.CurrentWorksheet;\n",{"type":15,"tag":60,"props":89,"children":91},{"class":62,"line":90},2,[92],{"type":15,"tag":60,"props":93,"children":95},{"emptyLinePlaceholder":94},true,[96],{"type":25,"value":97},"\n",{"type":15,"tag":60,"props":99,"children":101},{"class":62,"line":100},3,[102,107,113,118,123,128,133],{"type":15,"tag":60,"props":103,"children":104},{"style":84},[105],{"type":25,"value":106},"sheet[",{"type":15,"tag":60,"props":108,"children":110},{"style":109},"--shiki-light:#032F62;--shiki-dark:#9ECBFF;--shiki-default:#032F62",[111],{"type":25,"value":112},"\"A2\"",{"type":15,"tag":60,"props":114,"children":115},{"style":84},[116],{"type":25,"value":117},"] ",{"type":15,"tag":60,"props":119,"children":120},{"style":67},[121],{"type":25,"value":122},"=",{"type":15,"tag":60,"props":124,"children":125},{"style":67},[126],{"type":25,"value":127}," new",{"type":15,"tag":60,"props":129,"children":130},{"style":67},[131],{"type":25,"value":132}," object",{"type":15,"tag":60,"props":134,"children":135},{"style":84},[136],{"type":25,"value":137},"[,] {\n",{"type":15,"tag":60,"props":139,"children":141},{"class":62,"line":140},4,[142,147,153,158,163,167,172,176,181,185,190,194,199],{"type":15,"tag":60,"props":143,"children":144},{"style":84},[145],{"type":25,"value":146},"    { ",{"type":15,"tag":60,"props":148,"children":150},{"style":149},"--shiki-light:#005CC5;--shiki-dark:#79B8FF;--shiki-default:#005CC5",[151],{"type":25,"value":152},"null",{"type":15,"tag":60,"props":154,"children":155},{"style":84},[156],{"type":25,"value":157},", ",{"type":15,"tag":60,"props":159,"children":160},{"style":149},[161],{"type":25,"value":162},"2008",{"type":15,"tag":60,"props":164,"children":165},{"style":84},[166],{"type":25,"value":157},{"type":15,"tag":60,"props":168,"children":169},{"style":149},[170],{"type":25,"value":171},"2009",{"type":15,"tag":60,"props":173,"children":174},{"style":84},[175],{"type":25,"value":157},{"type":15,"tag":60,"props":177,"children":178},{"style":149},[179],{"type":25,"value":180},"2010",{"type":15,"tag":60,"props":182,"children":183},{"style":84},[184],{"type":25,"value":157},{"type":15,"tag":60,"props":186,"children":187},{"style":149},[188],{"type":25,"value":189},"2011",{"type":15,"tag":60,"props":191,"children":192},{"style":84},[193],{"type":25,"value":157},{"type":15,"tag":60,"props":195,"children":196},{"style":149},[197],{"type":25,"value":198},"2012",{"type":15,"tag":60,"props":200,"children":201},{"style":84},[202],{"type":25,"value":203}," },\n",{"type":15,"tag":60,"props":205,"children":207},{"class":62,"line":206},5,[208,212,217,221,226,230,235,239,244,248,252,256,261],{"type":15,"tag":60,"props":209,"children":210},{"style":84},[211],{"type":25,"value":146},{"type":15,"tag":60,"props":213,"children":214},{"style":109},[215],{"type":25,"value":216},"\"City 1\"",{"type":15,"tag":60,"props":218,"children":219},{"style":84},[220],{"type":25,"value":157},{"type":15,"tag":60,"props":222,"children":223},{"style":149},[224],{"type":25,"value":225},"3",{"type":15,"tag":60,"props":227,"children":228},{"style":84},[229],{"type":25,"value":157},{"type":15,"tag":60,"props":231,"children":232},{"style":149},[233],{"type":25,"value":234},"2",{"type":15,"tag":60,"props":236,"children":237},{"style":84},[238],{"type":25,"value":157},{"type":15,"tag":60,"props":240,"children":241},{"style":149},[242],{"type":25,"value":243},"4",{"type":15,"tag":60,"props":245,"children":246},{"style":84},[247],{"type":25,"value":157},{"type":15,"tag":60,"props":249,"children":250},{"style":149},[251],{"type":25,"value":234},{"type":15,"tag":60,"props":253,"children":254},{"style":84},[255],{"type":25,"value":157},{"type":15,"tag":60,"props":257,"children":258},{"style":149},[259],{"type":25,"value":260},"6",{"type":15,"tag":60,"props":262,"children":263},{"style":84},[264],{"type":25,"value":203},{"type":15,"tag":60,"props":266,"children":268},{"class":62,"line":267},6,[269,273,278,282,287,291,296,300,304,308,312,316,320],{"type":15,"tag":60,"props":270,"children":271},{"style":84},[272],{"type":25,"value":146},{"type":15,"tag":60,"props":274,"children":275},{"style":109},[276],{"type":25,"value":277},"\"City 2\"",{"type":15,"tag":60,"props":279,"children":280},{"style":84},[281],{"type":25,"value":157},{"type":15,"tag":60,"props":283,"children":284},{"style":149},[285],{"type":25,"value":286},"7",{"type":15,"tag":60,"props":288,"children":289},{"style":84},[290],{"type":25,"value":157},{"type":15,"tag":60,"props":292,"children":293},{"style":149},[294],{"type":25,"value":295},"5",{"type":15,"tag":60,"props":297,"children":298},{"style":84},[299],{"type":25,"value":157},{"type":15,"tag":60,"props":301,"children":302},{"style":149},[303],{"type":25,"value":225},{"type":15,"tag":60,"props":305,"children":306},{"style":84},[307],{"type":25,"value":157},{"type":15,"tag":60,"props":309,"children":310},{"style":149},[311],{"type":25,"value":260},{"type":15,"tag":60,"props":313,"children":314},{"style":84},[315],{"type":25,"value":157},{"type":15,"tag":60,"props":317,"children":318},{"style":149},[319],{"type":25,"value":243},{"type":15,"tag":60,"props":321,"children":322},{"style":84},[323],{"type":25,"value":203},{"type":15,"tag":60,"props":325,"children":327},{"class":62,"line":326},7,[328,332,337,341,346,350,355,359,364,368,372,376,380],{"type":15,"tag":60,"props":329,"children":330},{"style":84},[331],{"type":25,"value":146},{"type":15,"tag":60,"props":333,"children":334},{"style":109},[335],{"type":25,"value":336},"\"City 3\"",{"type":15,"tag":60,"props":338,"children":339},{"style":84},[340],{"type":25,"value":157},{"type":15,"tag":60,"props":342,"children":343},{"style":149},[344],{"type":25,"value":345},"13",{"type":15,"tag":60,"props":347,"children":348},{"style":84},[349],{"type":25,"value":157},{"type":15,"tag":60,"props":351,"children":352},{"style":149},[353],{"type":25,"value":354},"10",{"type":15,"tag":60,"props":356,"children":357},{"style":84},[358],{"type":25,"value":157},{"type":15,"tag":60,"props":360,"children":361},{"style":149},[362],{"type":25,"value":363},"9",{"type":15,"tag":60,"props":365,"children":366},{"style":84},[367],{"type":25,"value":157},{"type":15,"tag":60,"props":369,"children":370},{"style":149},[371],{"type":25,"value":354},{"type":15,"tag":60,"props":373,"children":374},{"style":84},[375],{"type":25,"value":157},{"type":15,"tag":60,"props":377,"children":378},{"style":149},[379],{"type":25,"value":363},{"type":15,"tag":60,"props":381,"children":382},{"style":84},[383],{"type":25,"value":203},{"type":15,"tag":60,"props":385,"children":387},{"class":62,"line":386},8,[388,392,397,401,406,410,415,419,424],{"type":15,"tag":60,"props":389,"children":390},{"style":84},[391],{"type":25,"value":146},{"type":15,"tag":60,"props":393,"children":394},{"style":109},[395],{"type":25,"value":396},"\"Total\"",{"type":15,"tag":60,"props":398,"children":399},{"style":84},[400],{"type":25,"value":157},{"type":15,"tag":60,"props":402,"children":403},{"style":109},[404],{"type":25,"value":405},"\"=SUM(B3:B5)\"",{"type":15,"tag":60,"props":407,"children":408},{"style":84},[409],{"type":25,"value":157},{"type":15,"tag":60,"props":411,"children":412},{"style":109},[413],{"type":25,"value":414},"\"=SUM(C3:C5)\"",{"type":15,"tag":60,"props":416,"children":417},{"style":84},[418],{"type":25,"value":157},{"type":15,"tag":60,"props":420,"children":421},{"style":109},[422],{"type":25,"value":423},"\"=SUM(D3:D5)\"",{"type":15,"tag":60,"props":425,"children":426},{"style":84},[427],{"type":25,"value":428},",\n",{"type":15,"tag":60,"props":430,"children":432},{"class":62,"line":431},9,[433,438,442,447],{"type":15,"tag":60,"props":434,"children":435},{"style":109},[436],{"type":25,"value":437},"      \"=SUM(E3:E5)\"",{"type":15,"tag":60,"props":439,"children":440},{"style":84},[441],{"type":25,"value":157},{"type":15,"tag":60,"props":443,"children":444},{"style":109},[445],{"type":25,"value":446},"\"=SUM(F3:F5)\"",{"type":15,"tag":60,"props":448,"children":449},{"style":84},[450],{"type":25,"value":203},{"type":15,"tag":60,"props":452,"children":454},{"class":62,"line":453},10,[455],{"type":15,"tag":60,"props":456,"children":457},{"style":84},[458],{"type":25,"value":459},"};\n",{"type":15,"tag":44,"props":461,"children":463},{"id":462},"範囲の定義とチャートの作成",[464],{"type":25,"value":462},{"type":15,"tag":50,"props":466,"children":468},{"className":52,"code":467,"language":54,"meta":7,"style":7},"var dataRange = sheet.Ranges[\"B3:F5\"];\nvar serialNamesRange = sheet.Ranges[\"A3:A5\"];\nvar categoryNamesRange = sheet.Ranges[\"B2:F2\"];\n\nsheet.AddHighlightRange(serialNamesRange);\nsheet.AddHighlightRange(categoryNamesRange);\nsheet.AddHighlightRange(dataRange);\n\nvar chart = new Chart.BarChart\n{\n    Location = new Graphics.Point(460, 30),\n    Size = new Graphics.Size(400, 260),\n    Title = \"Bar Chart Sample\",\n    DataSource = new WorksheetChartDataSource(sheet, serialNamesRange, dataRange)\n    {\n        CategoryNameRange = categoryNamesRange,\n    },\n};\n\nsheet.FloatingObjects.Add(chart);\n",[469],{"type":15,"tag":20,"props":470,"children":471},{"__ignoreMap":7},[472,503,532,561,568,586,602,618,625,660,668,723,775,797,824,833,851,860,868,876],{"type":15,"tag":60,"props":473,"children":474},{"class":62,"line":63},[475,479,484,488,493,498],{"type":15,"tag":60,"props":476,"children":477},{"style":67},[478],{"type":25,"value":70},{"type":15,"tag":60,"props":480,"children":481},{"style":73},[482],{"type":25,"value":483}," dataRange",{"type":15,"tag":60,"props":485,"children":486},{"style":67},[487],{"type":25,"value":81},{"type":15,"tag":60,"props":489,"children":490},{"style":84},[491],{"type":25,"value":492}," sheet.Ranges[",{"type":15,"tag":60,"props":494,"children":495},{"style":109},[496],{"type":25,"value":497},"\"B3:F5\"",{"type":15,"tag":60,"props":499,"children":500},{"style":84},[501],{"type":25,"value":502},"];\n",{"type":15,"tag":60,"props":504,"children":505},{"class":62,"line":90},[506,510,515,519,523,528],{"type":15,"tag":60,"props":507,"children":508},{"style":67},[509],{"type":25,"value":70},{"type":15,"tag":60,"props":511,"children":512},{"style":73},[513],{"type":25,"value":514}," serialNamesRange",{"type":15,"tag":60,"props":516,"children":517},{"style":67},[518],{"type":25,"value":81},{"type":15,"tag":60,"props":520,"children":521},{"style":84},[522],{"type":25,"value":492},{"type":15,"tag":60,"props":524,"children":525},{"style":109},[526],{"type":25,"value":527},"\"A3:A5\"",{"type":15,"tag":60,"props":529,"children":530},{"style":84},[531],{"type":25,"value":502},{"type":15,"tag":60,"props":533,"children":534},{"class":62,"line":100},[535,539,544,548,552,557],{"type":15,"tag":60,"props":536,"children":537},{"style":67},[538],{"type":25,"value":70},{"type":15,"tag":60,"props":540,"children":541},{"style":73},[542],{"type":25,"value":543}," categoryNamesRange",{"type":15,"tag":60,"props":545,"children":546},{"style":67},[547],{"type":25,"value":81},{"type":15,"tag":60,"props":549,"children":550},{"style":84},[551],{"type":25,"value":492},{"type":15,"tag":60,"props":553,"children":554},{"style":109},[555],{"type":25,"value":556},"\"B2:F2\"",{"type":15,"tag":60,"props":558,"children":559},{"style":84},[560],{"type":25,"value":502},{"type":15,"tag":60,"props":562,"children":563},{"class":62,"line":140},[564],{"type":15,"tag":60,"props":565,"children":566},{"emptyLinePlaceholder":94},[567],{"type":25,"value":97},{"type":15,"tag":60,"props":569,"children":570},{"class":62,"line":206},[571,576,581],{"type":15,"tag":60,"props":572,"children":573},{"style":84},[574],{"type":25,"value":575},"sheet.",{"type":15,"tag":60,"props":577,"children":578},{"style":73},[579],{"type":25,"value":580},"AddHighlightRange",{"type":15,"tag":60,"props":582,"children":583},{"style":84},[584],{"type":25,"value":585},"(serialNamesRange);\n",{"type":15,"tag":60,"props":587,"children":588},{"class":62,"line":267},[589,593,597],{"type":15,"tag":60,"props":590,"children":591},{"style":84},[592],{"type":25,"value":575},{"type":15,"tag":60,"props":594,"children":595},{"style":73},[596],{"type":25,"value":580},{"type":15,"tag":60,"props":598,"children":599},{"style":84},[600],{"type":25,"value":601},"(categoryNamesRange);\n",{"type":15,"tag":60,"props":603,"children":604},{"class":62,"line":326},[605,609,613],{"type":15,"tag":60,"props":606,"children":607},{"style":84},[608],{"type":25,"value":575},{"type":15,"tag":60,"props":610,"children":611},{"style":73},[612],{"type":25,"value":580},{"type":15,"tag":60,"props":614,"children":615},{"style":84},[616],{"type":25,"value":617},"(dataRange);\n",{"type":15,"tag":60,"props":619,"children":620},{"class":62,"line":386},[621],{"type":15,"tag":60,"props":622,"children":623},{"emptyLinePlaceholder":94},[624],{"type":25,"value":97},{"type":15,"tag":60,"props":626,"children":627},{"class":62,"line":431},[628,632,637,641,645,650,655],{"type":15,"tag":60,"props":629,"children":630},{"style":67},[631],{"type":25,"value":70},{"type":15,"tag":60,"props":633,"children":634},{"style":73},[635],{"type":25,"value":636}," chart",{"type":15,"tag":60,"props":638,"children":639},{"style":67},[640],{"type":25,"value":81},{"type":15,"tag":60,"props":642,"children":643},{"style":67},[644],{"type":25,"value":127},{"type":15,"tag":60,"props":646,"children":647},{"style":73},[648],{"type":25,"value":649}," Chart",{"type":15,"tag":60,"props":651,"children":652},{"style":84},[653],{"type":25,"value":654},".",{"type":15,"tag":60,"props":656,"children":657},{"style":73},[658],{"type":25,"value":659},"BarChart\n",{"type":15,"tag":60,"props":661,"children":662},{"class":62,"line":453},[663],{"type":15,"tag":60,"props":664,"children":665},{"style":84},[666],{"type":25,"value":667},"{\n",{"type":15,"tag":60,"props":669,"children":671},{"class":62,"line":670},11,[672,677,681,685,690,694,699,704,709,713,718],{"type":15,"tag":60,"props":673,"children":674},{"style":84},[675],{"type":25,"value":676},"    Location ",{"type":15,"tag":60,"props":678,"children":679},{"style":67},[680],{"type":25,"value":122},{"type":15,"tag":60,"props":682,"children":683},{"style":67},[684],{"type":25,"value":127},{"type":15,"tag":60,"props":686,"children":687},{"style":73},[688],{"type":25,"value":689}," Graphics",{"type":15,"tag":60,"props":691,"children":692},{"style":84},[693],{"type":25,"value":654},{"type":15,"tag":60,"props":695,"children":696},{"style":73},[697],{"type":25,"value":698},"Point",{"type":15,"tag":60,"props":700,"children":701},{"style":84},[702],{"type":25,"value":703},"(",{"type":15,"tag":60,"props":705,"children":706},{"style":149},[707],{"type":25,"value":708},"460",{"type":15,"tag":60,"props":710,"children":711},{"style":84},[712],{"type":25,"value":157},{"type":15,"tag":60,"props":714,"children":715},{"style":149},[716],{"type":25,"value":717},"30",{"type":15,"tag":60,"props":719,"children":720},{"style":84},[721],{"type":25,"value":722},"),\n",{"type":15,"tag":60,"props":724,"children":726},{"class":62,"line":725},12,[727,732,736,740,744,748,753,757,762,766,771],{"type":15,"tag":60,"props":728,"children":729},{"style":84},[730],{"type":25,"value":731},"    Size ",{"type":15,"tag":60,"props":733,"children":734},{"style":67},[735],{"type":25,"value":122},{"type":15,"tag":60,"props":737,"children":738},{"style":67},[739],{"type":25,"value":127},{"type":15,"tag":60,"props":741,"children":742},{"style":73},[743],{"type":25,"value":689},{"type":15,"tag":60,"props":745,"children":746},{"style":84},[747],{"type":25,"value":654},{"type":15,"tag":60,"props":749,"children":750},{"style":73},[751],{"type":25,"value":752},"Size",{"type":15,"tag":60,"props":754,"children":755},{"style":84},[756],{"type":25,"value":703},{"type":15,"tag":60,"props":758,"children":759},{"style":149},[760],{"type":25,"value":761},"400",{"type":15,"tag":60,"props":763,"children":764},{"style":84},[765],{"type":25,"value":157},{"type":15,"tag":60,"props":767,"children":768},{"style":149},[769],{"type":25,"value":770},"260",{"type":15,"tag":60,"props":772,"children":773},{"style":84},[774],{"type":25,"value":722},{"type":15,"tag":60,"props":776,"children":778},{"class":62,"line":777},13,[779,784,788,793],{"type":15,"tag":60,"props":780,"children":781},{"style":84},[782],{"type":25,"value":783},"    Title ",{"type":15,"tag":60,"props":785,"children":786},{"style":67},[787],{"type":25,"value":122},{"type":15,"tag":60,"props":789,"children":790},{"style":109},[791],{"type":25,"value":792}," \"Bar Chart Sample\"",{"type":15,"tag":60,"props":794,"children":795},{"style":84},[796],{"type":25,"value":428},{"type":15,"tag":60,"props":798,"children":800},{"class":62,"line":799},14,[801,806,810,814,819],{"type":15,"tag":60,"props":802,"children":803},{"style":84},[804],{"type":25,"value":805},"    DataSource ",{"type":15,"tag":60,"props":807,"children":808},{"style":67},[809],{"type":25,"value":122},{"type":15,"tag":60,"props":811,"children":812},{"style":67},[813],{"type":25,"value":127},{"type":15,"tag":60,"props":815,"children":816},{"style":73},[817],{"type":25,"value":818}," WorksheetChartDataSource",{"type":15,"tag":60,"props":820,"children":821},{"style":84},[822],{"type":25,"value":823},"(sheet, serialNamesRange, dataRange)\n",{"type":15,"tag":60,"props":825,"children":827},{"class":62,"line":826},15,[828],{"type":15,"tag":60,"props":829,"children":830},{"style":84},[831],{"type":25,"value":832},"    {\n",{"type":15,"tag":60,"props":834,"children":836},{"class":62,"line":835},16,[837,842,846],{"type":15,"tag":60,"props":838,"children":839},{"style":84},[840],{"type":25,"value":841},"        CategoryNameRange ",{"type":15,"tag":60,"props":843,"children":844},{"style":67},[845],{"type":25,"value":122},{"type":15,"tag":60,"props":847,"children":848},{"style":84},[849],{"type":25,"value":850}," categoryNamesRange,\n",{"type":15,"tag":60,"props":852,"children":854},{"class":62,"line":853},17,[855],{"type":15,"tag":60,"props":856,"children":857},{"style":84},[858],{"type":25,"value":859},"    },\n",{"type":15,"tag":60,"props":861,"children":863},{"class":62,"line":862},18,[864],{"type":15,"tag":60,"props":865,"children":866},{"style":84},[867],{"type":25,"value":459},{"type":15,"tag":60,"props":869,"children":871},{"class":62,"line":870},19,[872],{"type":15,"tag":60,"props":873,"children":874},{"emptyLinePlaceholder":94},[875],{"type":25,"value":97},{"type":15,"tag":60,"props":877,"children":879},{"class":62,"line":878},20,[880,885,890],{"type":15,"tag":60,"props":881,"children":882},{"style":84},[883],{"type":25,"value":884},"sheet.FloatingObjects.",{"type":15,"tag":60,"props":886,"children":887},{"style":73},[888],{"type":25,"value":889},"Add",{"type":15,"tag":60,"props":891,"children":892},{"style":84},[893],{"type":25,"value":894},"(chart);\n",{"type":15,"tag":16,"props":896,"children":897},{},[898],{"type":15,"tag":899,"props":900,"children":903},"img",{"alt":901,"src":902},"273","/document/images/273.png",[],{"type":15,"tag":38,"props":905,"children":907},{"id":906},"カスタマイズ",[908],{"type":25,"value":906},{"type":15,"tag":50,"props":910,"children":912},{"className":52,"code":911,"language":54,"meta":7,"style":7},"// Bar chart defaults: horizontal guides off, vertical guides on\nchart.ShowHorizontalGuideLines;  // false\nchart.ShowVerticalGuideLines;    // true\n\n// Change series colors\nchart.DataSerialStyles[0].FillColor = Graphics.SolidColor.DarkOrange;\n",[913],{"type":15,"tag":20,"props":914,"children":915},{"__ignoreMap":7},[916,925,938,951,958,966],{"type":15,"tag":60,"props":917,"children":918},{"class":62,"line":63},[919],{"type":15,"tag":60,"props":920,"children":922},{"style":921},"--shiki-light:#6A737D;--shiki-dark:#6A737D;--shiki-default:#6A737D",[923],{"type":25,"value":924},"// Bar chart defaults: horizontal guides off, vertical guides on\n",{"type":15,"tag":60,"props":926,"children":927},{"class":62,"line":90},[928,933],{"type":15,"tag":60,"props":929,"children":930},{"style":84},[931],{"type":25,"value":932},"chart.ShowHorizontalGuideLines;  ",{"type":15,"tag":60,"props":934,"children":935},{"style":921},[936],{"type":25,"value":937},"// false\n",{"type":15,"tag":60,"props":939,"children":940},{"class":62,"line":100},[941,946],{"type":15,"tag":60,"props":942,"children":943},{"style":84},[944],{"type":25,"value":945},"chart.ShowVerticalGuideLines;    ",{"type":15,"tag":60,"props":947,"children":948},{"style":921},[949],{"type":25,"value":950},"// true\n",{"type":15,"tag":60,"props":952,"children":953},{"class":62,"line":140},[954],{"type":15,"tag":60,"props":955,"children":956},{"emptyLinePlaceholder":94},[957],{"type":25,"value":97},{"type":15,"tag":60,"props":959,"children":960},{"class":62,"line":206},[961],{"type":15,"tag":60,"props":962,"children":963},{"style":921},[964],{"type":25,"value":965},"// Change series colors\n",{"type":15,"tag":60,"props":967,"children":968},{"class":62,"line":267},[969,974,979,984,988],{"type":15,"tag":60,"props":970,"children":971},{"style":84},[972],{"type":25,"value":973},"chart.DataSerialStyles[",{"type":15,"tag":60,"props":975,"children":976},{"style":149},[977],{"type":25,"value":978},"0",{"type":15,"tag":60,"props":980,"children":981},{"style":84},[982],{"type":25,"value":983},"].FillColor ",{"type":15,"tag":60,"props":985,"children":986},{"style":67},[987],{"type":25,"value":122},{"type":15,"tag":60,"props":989,"children":990},{"style":84},[991],{"type":25,"value":992}," Graphics.SolidColor.DarkOrange;\n",{"type":15,"tag":38,"props":994,"children":996},{"id":995},"関連トピック",[997],{"type":25,"value":995},{"type":15,"tag":999,"props":1000,"children":1001},"ul",{},[1002,1015],{"type":15,"tag":1003,"props":1004,"children":1005},"li",{},[1006,1013],{"type":15,"tag":1007,"props":1008,"children":1010},"a",{"href":1009},"/document/chart/",[1011],{"type":25,"value":1012},"チャートの概要",{"type":25,"value":1014}," — チャートの基本プロパティとデータソース",{"type":15,"tag":1003,"props":1016,"children":1017},{},[1018,1024],{"type":15,"tag":1007,"props":1019,"children":1021},{"href":1020},"/document/chart/column-chart/",[1022],{"type":25,"value":1023},"縦棒グラフ",{"type":25,"value":1025}," — 縦棒バリアント",{"type":15,"tag":1027,"props":1028,"children":1029},"style",{},[1030],{"type":25,"value":1031},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":7,"searchDepth":90,"depth":90,"links":1033},[1034,1038,1039],{"id":40,"depth":90,"text":40,"children":1035},[1036,1037],{"id":46,"depth":100,"text":46},{"id":462,"depth":100,"text":462},{"id":906,"depth":90,"text":906},{"id":995,"depth":90,"text":995},"markdown","content:document:9.chart:3.bar-chart.md","content","document/9.chart/3.bar-chart.md","document/9.chart/3.bar-chart","md",{"loc":4},[1048,1369,1372,1375,1378,1381,1384,1387,1390],{"title":1049,"_path":1050,"children":1051},"Document","/document",[1052,1063,1068,1100,1117,1146,1178,1198,1212,1232,1243,1259,1281,1292,1312,1332,1361],{"title":1053,"_path":1054,"children":1055},"はじめに","/document/getting-started",[1056,1057,1060],{"title":1053,"_path":1054},{"title":1058,"_path":1059},"インストール","/document/getting-started/installation",{"title":1061,"_path":1062},"V3 から V4 への移行ガイド","/document/getting-started/migrate-from-v3",{"title":1064,"_path":1065,"children":1066},"ワークブック","/document/workbook",[1067],{"title":1064,"_path":1065},{"title":1069,"_path":1070,"children":1071},"ワークシート","/document/worksheet",[1072,1073,1076,1079,1082,1085,1088,1091,1094,1097],{"title":1069,"_path":1070},{"title":1074,"_path":1075},"行、列、ヘッダー","/document/worksheet/row-and-column",{"title":1077,"_path":1078},"範囲","/document/worksheet/range",{"title":1080,"_path":1081},"名前付き範囲","/document/worksheet/named-range",{"title":1083,"_path":1084},"セルの結合と解除","/document/worksheet/merge-and-unmerge",{"title":1086,"_path":1087},"パーシャルグリッド","/document/worksheet/partial-grid",{"title":1089,"_path":1090},"複数行ヘッダー","/document/worksheet/multiple-row-header",{"title":1092,"_path":1093},"ウィンドウ枠の固定","/document/worksheet/freeze",{"title":1095,"_path":1096},"ズーム","/document/worksheet/zoom",{"title":1098,"_path":1099},"設定とオプション","/document/worksheet/settings",{"title":1101,"_path":1102,"children":1103},"選択とナビゲーション","/document/selection",[1104,1105,1108,1111,1114],{"title":1101,"_path":1102},{"title":1106,"_path":1107},"フォーカスと選択","/document/selection/selection",{"title":1109,"_path":1110},"範囲の選択","/document/selection/pick-range",{"title":1112,"_path":1113},"クリップボード","/document/selection/clipboard",{"title":1115,"_path":1116},"テキスト検索","/document/selection/text-search",{"title":1118,"_path":1119,"children":1120},"データ管理","/document/data",[1121,1122,1125,1128,1131,1134,1137,1140,1143],{"title":1118,"_path":1119},{"title":1123,"_path":1124},"データソース","/document/data/datasource",{"title":1126,"_path":1127},"データフィルタリング","/document/data/data-filtering",{"title":1129,"_path":1130},"組み込みオートフィルター","/document/data/builtin-autofilter",{"title":1132,"_path":1133},"条件付きフィルター","/document/data/conditional-filter",{"title":1135,"_path":1136},"条件付きスタイル","/document/data/conditional-styles",{"title":1138,"_path":1139},"グループとアウトライン","/document/data/group-and-outline",{"title":1141,"_path":1142},"データバリデーション","/document/data/data-validation",{"title":1144,"_path":1145},"保護とロック","/document/data/protection",{"title":1147,"_path":1148,"children":1149},"セル","/document/cell",[1150,1151,1154,1157,1160,1163,1166,1169,1172,1175],{"title":1147,"_path":1148},{"title":1152,"_path":1153},"セルの編集","/document/cell/cell-edit",{"title":1155,"_path":1156},"スタイル","/document/cell/style",{"title":1158,"_path":1159},"罫線","/document/cell/border",{"title":1161,"_path":1162},"データ書式","/document/cell/data-format",{"title":1164,"_path":1165},"カスタムデータフォーマッター","/document/cell/custom-data-formatter",{"title":1167,"_path":1168},"データ連続入力","/document/cell/auto-fill",{"title":1170,"_path":1171},"リッチフォーマットテキスト","/document/cell/rich-format-text",{"title":1173,"_path":1174},"セルテキストの回転","/document/cell/rotate-cell-text",{"title":1176,"_path":1177},"セルの反復処理","/document/cell/iterate-cells",{"title":1179,"_path":1180,"children":1181},"セルタイプ","/document/cell-types",[1182,1183,1186,1189,1192,1195],{"title":1179,"_path":1180},{"title":1184,"_path":1185},"組み込みセルタイプ","/document/cell-types/built-in-cell-types",{"title":1187,"_path":1188},"カスタムセル","/document/cell-types/custom-cell",{"title":1190,"_path":1191},"ドロップダウンリストセル","/document/cell-types/dropdown-list-cell",{"title":1193,"_path":1194},"コンボリストセル","/document/cell-types/combo-list-cell",{"title":1196,"_path":1197},"列全体のセルタイプ","/document/cell-types/cells-type-for-entire-column",{"title":1199,"_path":1200,"children":1201},"数式","/document/formula",[1202,1203,1206,1209],{"title":1199,"_path":1200},{"title":1204,"_path":1205},"カスタム関数","/document/formula/custom-function",{"title":1207,"_path":1208},"数式関数","/document/formula/formula-functions",{"title":1210,"_path":1211},"VLOOKUP","/document/formula/vlookup",{"title":1213,"_path":1214,"children":1215},"チャート","/document/chart",[1216,1217,1219,1220,1223,1226,1229],{"title":1213,"_path":1214},{"title":1023,"_path":1218},"/document/chart/column-chart",{"title":8,"_path":4},{"title":1221,"_path":1222},"折れ線グラフ","/document/chart/line-chart",{"title":1224,"_path":1225},"面グラフ","/document/chart/area-chart",{"title":1227,"_path":1228},"2D円グラフ","/document/chart/pie-2d-chart",{"title":1230,"_path":1231},"ドーナツグラフ","/document/chart/doughnut-chart",{"title":1233,"_path":1234,"children":1235},"フローティングオブジェクト","/document/floating",[1236,1237,1240],{"title":1233,"_path":1234},{"title":1238,"_path":1239},"描画シェイプ","/document/floating/drawing-shapes",{"title":1241,"_path":1242},"フローティング画像","/document/floating/floating-image",{"title":1244,"_path":1245,"children":1246},"イベント","/document/events",[1247,1248,1250,1253,1256],{"title":1244,"_path":1245},{"title":1244,"_path":1249},"/document/events/events",{"title":1251,"_path":1252},"キーボードイベント","/document/events/keyboard-events",{"title":1254,"_path":1255},"マウスイベント","/document/events/mouse-events",{"title":1257,"_path":1258},"SelectionRangeChanged","/document/events/selection-events",{"title":906,"_path":1260,"children":1261},"/document/customization",[1262,1263,1266,1269,1272,1275,1278],{"title":906,"_path":1260},{"title":1264,"_path":1265},"コントロールの外観","/document/customization/control-appearance",{"title":1267,"_path":1268},"シートタブコントロール","/document/customization/sheet-tab-control",{"title":1270,"_path":1271},"使用可能なホットキー","/document/customization/hot-keys",{"title":1273,"_path":1274},"言語ローカライズ","/document/customization/language-localization",{"title":1276,"_path":1277},"アドレスバーと数式バー","/document/customization/formula-bar",{"title":1279,"_path":1280},"ReoGridEditor","/document/customization/editor",{"title":1282,"_path":1283,"children":1284},"アクション","/document/actions",[1285,1286,1289],{"title":1282,"_path":1283},{"title":1287,"_path":1288},"ReoGridアクションフレームワーク","/document/actions/actions",{"title":1290,"_path":1291},"組み込みワークシートアクション","/document/actions/built-in-actions",{"title":1293,"_path":1294,"children":1295},"ファイル形式","/document/io",[1296,1297,1300,1303,1306,1309],{"title":1293,"_path":1294},{"title":1298,"_path":1299},"Excelファイル形式 (xlsx)","/document/io/excel-file-format",{"title":1301,"_path":1302},"CSV形式","/document/io/csv-format",{"title":1304,"_path":1305},"RGF形式","/document/io/rgf-format",{"title":1307,"_path":1308},"Excel形式とRGF形式の違い","/document/io/difference-between-excel-and-rgf-format",{"title":1310,"_path":1311},"HTMLとしてエクスポート","/document/io/export-as-html",{"title":1313,"_path":1314,"children":1315},"高度な機能","/document/advanced",[1316,1317,1320,1323,1326,1329],{"title":1313,"_path":1314},{"title":1318,"_path":1319},"メモリワークブック","/document/advanced/memory-workbook",{"title":1321,"_path":1322},"ページングと印刷","/document/advanced/paging-and-print",{"title":1324,"_path":1325},"コントロールのリセット","/document/advanced/reset-control",{"title":1327,"_path":1328},"パフォーマンス","/document/advanced/performance",{"title":1330,"_path":1331},"設定","/document/advanced/settings",{"title":1333,"_path":1334,"children":1335},"ハウツーガイド","/document/how-to",[1336,1337,1340,1343,1346,1349,1352,1355,1358],{"title":1333,"_path":1334},{"title":1338,"_path":1339},"ReoGridの推奨プラクティス","/document/how-to/recommended-practice-for-using-reogrid",{"title":1341,"_path":1342},"DataTableでスプレッドシートを埋める","/document/how-to/fill-grid-with-datatable",{"title":1344,"_path":1345},"遅延読み込みモードによる大量データの高速読み込み","/document/how-to/fast-load-large-data-with-lazy-load-mode",{"title":1347,"_path":1348},"カスタムドロップダウンセルの作成","/document/how-to/create-custom-drop-down-cell",{"title":1350,"_path":1351},"日付ピッカーセルの作成","/document/how-to/create-date-picker-cell",{"title":1353,"_path":1354},"Excelファイルからすべての画像を読み取る","/document/how-to/read-all-images-from-excel-file",{"title":1356,"_path":1357},"VB.NETでReoGridを使用するためのヒント","/document/how-to/use-reogrid-in-vb-net",{"title":1359,"_path":1360},"全選択チェックボックスヘッダーの作成","/document/how-to/create-select-all-checkbox-header",{"title":1362,"_path":1363,"children":1364},"トラブルシューティング","/document/troubleshooting",[1365,1366],{"title":1362,"_path":1363},{"title":1367,"_path":1368},"PInvoke例外の修正","/document/troubleshooting/fix-pinvoke-exception",{"title":1370,"_path":1371},"エディション・機能一覧","/editions-features",{"title":1373,"_path":1374},"個人情報保護方針","/privacy-policy",{"title":1376,"_path":1377},"動作環境","/requirements",{"title":1379,"_path":1380},"ReoGrid利用許諾契約書","/terms",{"title":1382,"_path":1383},"ReoGrid利用許諾契約書(Ver.3)","/terms-v3",{"title":1385,"_path":1386},"ReoGrid利用許諾契約書(Ver.4)","/terms-v4",{"title":1388,"_path":1389},"ReoGrid 4 トライアルライセンスポリシー","/terms-v4-trial",{"title":1391,"_path":1392},"ReoGrid Web Edition 利用許諾契約書","/terms-web",1786025079997]