建立动态行-列图 [英] Building a Dynamic Row-Columns Diagram

查看:101
本文介绍了建立动态行-列图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要有一个带有行和列的图表(不统一,图表可能包含一些完整的列,例如下面的示例.)

| ----- | ----- | ----- | ----- | ---- | ----- |
| | | | | | |
| | | | | | |
| | ----------- | | | |
| | | | | | |
| | | | | | |
| ..... | ..... | ..... | ..... | .... | ..... |

因此,具有单元格的图表(矩形的组合)可以包含任意数量的行和列(半列或整列).

需要绑定到矩形的规则是:
有效还是无效.........就这样.

我需要在这里提到的一点是.....,

实际上,我需要用颜色或图像填充这些单元格.
所以我有一些图像需要放入该单元格中.现在,如果我将鼠标悬停在可用图像上,则矩形图需要突出显示并说出该特定图像是否可以进入该单元格(对该图像有效或无效).

实际上,这就是我最终要尝试做的事情.

简而言之,我有一些图像,需要绘制带有矩形或插槽的图以保存图像.
当我将鼠标悬停在图像上时,插槽需要突出显示并说出是否是保存该图像的有效插槽.这些规则是已知的,并且在可能的情况下需要在绘制之前绑定到矩形.

预先感谢,

San

I need to have a Diagram with Rows and Columns (Not uniform, Diagram may contains some Full Columns for Example see below..)

|-----|-----|-----|-----|----|-----|
| | | | | | |
| | | | | | |
| |-----------| | | |
| | | | | | |
| | | | | | |
|.....|.....|.....|.....|....|.....|

So, The Diagram (Combination of Rectangles) with cells can contain any number of rows and Columns (Half columns or full columns).

The rules need to bind to Rectangles are :
Valid or Invalid ......... That''s it.

One point i need to mention here was ..... ,

Actually i need to fill these cells with color or images .
So i have some images that need to go and fit in that cells. Now if i hover my mouse on to available images then the Diagram of Rectangles need to highlight and say whether that particular image can go into that cell or not (Means Valid for that image or Not).

Actually that is what, ultimately i am trying to do.

In Short, I have some images and i need to Draw a digram with rectangles or slots to hold images.
When i hover my mouse onto image, the slots need to highlight and say whether it is valid slot to hold that image or not. The rules are known and if possible need to bind to rectangles before drawing.

Thanks in advance,

San

推荐答案

对不起,我无法理解问题...:(
Sorry i couldnt understand the question... :(


这篇关于建立动态行-列图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆