gridlines

How to disable gridlines in Excel using open xml C#?

老子叫甜甜 提交于 2019-12-01 07:52:58
问题 I want to disable GridLines in excel and put custom borders to excel cells using open xml in C# I have tried with below code but is throwing exception when i open the excell, the exception is "Repaired Part: /xl/worksheets/sheet.xml part with XML error. Load error. Line 1, column 0." using (SpreadsheetDocument xl = SpreadsheetDocument.Create(sFile, SpreadsheetDocumentType.Workbook)) { WorkbookPart wbp = xl.AddWorkbookPart(); WorksheetPart wsp = wbp.AddNewPart<WorksheetPart>(); Workbook wb =

Attractive 3D plot in R

谁说我不能喝 提交于 2019-11-30 20:42:12
I am writing a proposal and need a 3D plot something like this: but preferably more attractive. I need the size of each point to reflect the abundance of the species and an outline of the volume created by connecting the points. Sample data: input<-data.frame( label=c("sp1","sp2","sp3","sp4"), trait_x=c(6,6,6,1), trait_y=c(7,7,7,1), trait_z=c(8,8,8,1), point_size=c(6,7,8,1) ) input label trait_x trait_y trait_z point_size 1 sp1 6 7 8 6 2 sp2 6 7 8 7 3 sp3 6 7 8 8 4 sp4 1 1 1 1 Any suggestion on how to make such a graph more attractive (perhaps including gridlines? I do not want any numbers on

nvd3 line chart, how to remove gridlines and yaxis

爷,独闯天下 提交于 2019-11-30 13:39:49
I have made a line chart with view finder. Here is my initial code var chart = nv.models.lineWithFocusChart(); // chart.transitionDuration(500); chart.xAxis .tickFormat(d3.format(',g')); chart.xAxis .axisLabel("Date"); chart.xAxis.tickPadding(0); chart.x2Axis .tickFormat(d3.format(',g')); chart.yAxis .tickFormat(d3.format(',.2g')); chart.y2Axis .tickFormat(d3.format(',.2h')); // chart.showYAxis(false); I want to remove the y axis labels ( i.e. i want no number showing on the y axis). I also want to remove all the gridlines. is there something like chart.yAxis.somethinghere to do this? Thanks

Attractive 3D plot in R

会有一股神秘感。 提交于 2019-11-30 05:01:35
问题 I am writing a proposal and need a 3D plot something like this: but preferably more attractive. I need the size of each point to reflect the abundance of the species and an outline of the volume created by connecting the points. Sample data: input<-data.frame( label=c("sp1","sp2","sp3","sp4"), trait_x=c(6,6,6,1), trait_y=c(7,7,7,1), trait_z=c(8,8,8,1), point_size=c(6,7,8,1) ) input label trait_x trait_y trait_z point_size 1 sp1 6 7 8 6 2 sp2 6 7 8 7 3 sp3 6 7 8 8 4 sp4 1 1 1 1 Any suggestion

wpf gridlines - changing style

谁说胖子不能爱 提交于 2019-11-30 01:27:42
Is there any way to change the style of gridlines in wpf grid? I need to divide grid into 4 cells. To do it I used RowDefinitions and ColumnDefinitions. However I need user to distinguish which cell is which, that's why I need to change the color of the gridlines. It depends on the look you are going for. In WPF, there are different ways to do almost anything. Here are a couple of the easier ones. The easiest way is to set ShowGridlines="True": <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="5" ShowGridLines="True"> <Grid.ColumnDefinitions> <ColumnDefinition Width="*" /

Remove grid line in tableView

风格不统一 提交于 2019-11-29 11:14:33
I am trying to remove the grid line inside table view of each cell using css. For example, between the Name and Description column, there is a line which I assumed that it is grid line. I have no idea to remove it using css. I can do it in Java Swing using setShowGrid(false); but this does not available in javaFX. I assume you're asking about JavaFX 2. If not, I suggest you upgrade :) Try putting this in your stylesheet: .table-view { -fx-table-cell-border-color: transparent; } Or call tableObject.setStyle("-fx-table-cell-border-color: transparent;") In order to keep horizontal lines, I had to

Grid line consistent with ticks on axis

女生的网名这么多〃 提交于 2019-11-28 18:17:14
I am embarrassed to ask this simple question, but has been in kicking my mind for several days whenever I create a plot: plot (x = 1:10, y = rnorm (10, 5, 2)) grid (10,10, lty = 6, col = "cornsilk2") I want to position the grids right at where axis are labelled, i.e. at 2, 4, 6, 8, 10 in x axis and similarly 3, 4, 5, 6, 7, 8 in y axis. I want to automate the process as whenever the plot size changes the default label behaviour changes. See the following plot: joran From ?grid description of the nx and ny arguments: When NULL, as per default, the grid aligns with the tick marks on the

Remove grid line in tableView

假装没事ソ 提交于 2019-11-28 04:58:06
问题 I am trying to remove the grid line inside table view of each cell using css. For example, between the Name and Description column, there is a line which I assumed that it is grid line. I have no idea to remove it using css. I can do it in Java Swing using setShowGrid(false); but this does not available in javaFX. 回答1: I assume you're asking about JavaFX 2. If not, I suggest you upgrade :) Try putting this in your stylesheet: .table-view { -fx-table-cell-border-color: transparent; } Or call

Grid line consistent with ticks on axis

雨燕双飞 提交于 2019-11-27 11:11:19
问题 I am embarrassed to ask this simple question, but has been in kicking my mind for several days whenever I create a plot: plot (x = 1:10, y = rnorm (10, 5, 2)) grid (10,10, lty = 6, col = "cornsilk2") I want to position the grids right at where axis are labelled, i.e. at 2, 4, 6, 8, 10 in x axis and similarly 3, 4, 5, 6, 7, 8 in y axis. I want to automate the process as whenever the plot size changes the default label behaviour changes. See the following plot: 回答1: From ?grid description of

Adding a static gridline to a JFreeChart time series chart

旧城冷巷雨未停 提交于 2019-11-27 08:04:45
问题 I am trying to implement a timeseries chart with a peculiar requirement in JFreeChart. I can draw the chart, but I don't know how to implement the vertical red line at the last value in the chart. It should always be in the same spot and should always intersect with the last value. I am absolutely out of ideas on how this would be done. I was thinking that it might be possible to implement it as a static gridline, but I don't know how to specify one. Also, the size of the charts will be